ClearkSky 发表于 2025-3-21 20:34:36

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

效果:<br />
<img id="aimg_n5w33" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://s1.locimg.com/2025/03/21/585d7c8820361.png" onmouseover="img_onmouseoverfunc(this)" onload="thumbImg(this)" border="0" alt="" /><br />
<br />
文档:<br />
https://docs.x.ai/docs/guides/image-generations

ceplavia 发表于 2025-3-21 20:38:46

oneapi还没支持,有没哪位知道有同类软件能支持的?

0.0 发表于 2025-3-21 20:39:26

mjj头发没这么多<img src="https://hostloc.com/static/image/smiley/default/lol.gif" smilieid="12" border="0" alt="" />

ClearkSky 发表于 2025-3-21 20:41:37

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16292888&ptid=1397606" target="_blank"><font color="#999999">ceplavia 发表于 2025-3-21 20:38</font></a></font><br />
oneapi还没支持,有没哪位知道有同类软件能支持的?</blockquote></div><br />
用openwebui,可以自己写pipe实现,我是写的pipe实现的

ceplavia 发表于 2025-3-21 20:38:00

<div class="quote"><blockquote><font color="#999999">ClearkSky 发表于 2025-3-21 20:41</font><br />
<font color="#999999">用openwebui,可以自己写pipe实现,我是写的pipe实现的</font></blockquote></div><br />
等有空看看,现在偷懒同时用groq和grok是用oneapi捏一起再配合nextchat

king 发表于 2025-3-21 21:00:18

为啥我连接是这种:<br />
连接失败404&quot;Themodelgrok-2-image-1212doesnote 3d5b545dc9c4 does not have access to it. Please ensure you're<br />
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 20:41:00

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16292974&ptid=1397606" target="_blank"><font color="#999999">king 发表于 2025-3-21 21:35</font></a></font><br />
为啥我连接是这种:<br />
连接失败404&quot;Themodelgrok-2-image-1212doesnote 3d5b545dc9c4 does not have access t ...</blockquote></div><br />
你应该用的client.chat.completions.create<br />
<br />
需要用client.images.generate
页: [1]
查看完整版本: x.ai有图像生成api了,之前白**的额度能用