cURL
Grok
生成视频
文字 & 图片生成视频
POST
cURL
这是 Grok 视频 API 的核心生成接口。 如果你想查看完整的接口目录、推荐接入流程和相关能力,请先阅读 Grok 视频 API 总览。Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
请求体
application/json
提示词
视频宽高比
可用选项:
2:3, 3:2, 1:1, 9:16, 16:9 视频时长 取值范围为 10 到 30。
输出分辨率,当前仅支持 720p
垫图地址['https://cdn.ttapi.io/other/2026-03-13/a86ca2c7-6333-4840-b337-395a5d02a182.png','https://cdn.ttapi.io/other/2026-03-13/64a858ed-6095-45ce-92d5-b515c9864703.png']
回调地址,任务完成或失败将通过请地址进行通知,通知数据结构与fetch结构 [blocked]一致。如果未设置,则需要请求fetch接口 [blocked]进行查询
示例:
"https://example.com/callback"
Last modified on March 26, 2026