全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 449|回复: 6

x.ai有图像生成api了,之前白**的额度能用

[复制链接]
发表于 2025-3-21 20:34:36 | 显示全部楼层 |阅读模式
效果:


文档:
https://docs.x.ai/docs/guides/image-generations
发表于 2025-3-21 20:38:46 来自手机 | 显示全部楼层
oneapi还没支持,有没哪位知道有同类软件能支持的?
发表于 2025-3-21 20:39:26 | 显示全部楼层
mjj头发没这么多
 楼主| 发表于 2025-3-21 20:41:37 | 显示全部楼层
ceplavia 发表于 2025-3-21 20:38
oneapi还没支持,有没哪位知道有同类软件能支持的?

用openwebui,可以自己写pipe实现,我是写的pipe实现的
发表于 2025-3-21 21:00:18 来自手机 | 显示全部楼层
ClearkSky 发表于 2025-3-21 20:41
用openwebui,可以自己写pipe实现,我是写的pipe实现的

等有空看看,现在偷懒同时用groq和grok是用oneapi捏一起再配合nextchat
发表于 2025-3-21 21:35:28 | 显示全部楼层
为啥我连接是这种:
连接失败404"Themodelgrok-2-image-1212doesnote 3d5b545dc9c4 does not have access to it. Please ensure you're
using the correct APl key. If you believe this is a mistake, pplease contact support and quote your teamID and the model name.
 楼主| 发表于 2025-3-21 23:13:33 | 显示全部楼层
king 发表于 2025-3-21 21:35
为啥我连接是这种:
连接失败404"Themodelgrok-2-image-1212doesnote 3d5b545dc9c4 does not have access t ...

你应该用的client.chat.completions.create

需要用client.images.generate
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-4-28 17:45 , Processed in 0.059543 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表