Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.ttapi.io/grok/v1/videos/{request_id} \ --header 'TT-API-KEY: <api-key>'
{ "status": "done", "video": { "url": "https://cdn.ttapi.io/video/xxx.mp4", "duration": 10, "respect_moderation": true }, "model": "grok-imagine-video", "usage": { "cost_in_usd_tocks": 123 }, "progress": 100 }
查询视频生成结果
请前往 TTAPI 控制台 获取 API 密钥。
由上一次视频生成请求返回的请求ID
请求成功
视频生成状态:done-已完成,processing-处理中,failed-失败
"done"
视频信息
Show child attributes
使用的模型名称
"grok-imagine-video"
用量信息
当前任务进度百分比(0-100),仅在非done状态时有效
100