全球主机交流论坛

标题: x.ai有图像生成api了,之前白**的额度能用 [打印本页]

作者: ClearkSky    时间: 2025-3-21 20:34
标题: x.ai有图像生成api了,之前白**的额度能用
效果:


文档:
https://docs.x.ai/docs/guides/image-generations
作者: ceplavia    时间: 2025-3-21 20:38
oneapi还没支持,有没哪位知道有同类软件能支持的?
作者: 0.0    时间: 2025-3-21 20:39
mjj头发没这么多
作者: ClearkSky    时间: 2025-3-21 20:41
ceplavia 发表于 2025-3-21 20:38
oneapi还没支持,有没哪位知道有同类软件能支持的?

用openwebui,可以自己写pipe实现,我是写的pipe实现的
作者: ceplavia    时间: 2025-3-21 21:00
ClearkSky 发表于 2025-3-21 20:41
用openwebui,可以自己写pipe实现,我是写的pipe实现的

等有空看看,现在偷懒同时用groq和grok是用oneapi捏一起再配合nextchat
作者: king    时间: 2025-3-21 21:35
为啥我连接是这种:
连接失败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.
作者: ClearkSky    时间: 2025-3-21 23:13
king 发表于 2025-3-21 21:35
为啥我连接是这种:
连接失败404"Themodelgrok-2-image-1212doesnote 3d5b545dc9c4 does not have access t ...

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

需要用client.images.generate




欢迎光临 全球主机交流论坛 (https://loc.193.gs/) Powered by Discuz! X3.4