cURL
curl --request GET \ --url https://geekai.co/api/v1/images/{task_id} \ --header 'Authorization: Bearer <token>'
{ "model": "gpt-image-1", "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "task_status": "succeed", "data": [ { "url": "<string>", "b64_json": "aSDinaTvuI8gbWludGxpZnk=", "revised_prompt": "<string>" } ], "error": { "code": "<string>", "message": "<string>", "details": {} } }
Documentation IndexFetch the complete documentation index at: https://docs.geekai.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
Use this file to discover all available pages before exploring further.
API认证token
图片生成任务ID
成功响应
使用的图片模型
"gpt-image-1"
图片任务ID(图片生成接口返回的 task_id 值)
任务状态
pending
running
succeed
failed
"succeed"
生成的图片列表(仅在task_status=succeed时返回)
Show child attributes
错误信息(仅在生成失败时返回)
此页面对您有帮助吗?