Documentation Index
Fetch the complete documentation index at: https://docs.toapis.com/llms.txt Use this file to discover all available pages before exploring further.
Grok Imagine 1.0 图像生成
使用 grok-imagine-1.0 进行异步图像生成
- 统一图像生成接口
- 异步任务模式,返回任务 ID
- 通过
model指定为grok-imagine-1.0
Authorizations
Body
模型名称,固定使用:
grok-imagine-1.0
图像生成提示词,支持多语言
图像生成尺寸支持的格式:
1:1- 正方形(默认)16:9- 横版宽屏9:16- 竖版长屏3:2- 横版2:3- 竖版
生成图像数量取值范围:1-10(最少 1 张,最多 10 张)⚠️ 注意:必须输入纯数字(如
1),不要加引号,否则会报错Response
任务唯一 ID
固定为
generation.task任务状态:
queued / in_progress / completed / failed