Create video generation task
视频 (Veo)
Veo2/Veo3 视频生成
Generate video from text or images:
- TEXT2VIDEO: Generate video from text prompt
- IMG2VIDEO: Generate video from 1-2 images (start frame / start+end frames)
Note: For upscaling (1080P/4K) or GIF generation, use /video/upsample endpoint.
POST
Create video generation task
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Video description/prompt (English recommended for best results)
示例:
"A fluffy orange cat running through a sunny meadow"
Video generation action
可用选项:
text2video, img2video, ingredients2video 示例:
"text2video"
Video generation model. Note: INGREDIENTS2VIDEO only supports veo31_fast
可用选项:
veo2_fast, veo2_quality, veo3_fast, veo3_quality, veo31_fast, veo31_quality, veo31_fast_ingredients 示例:
"veo31_fast"
Image URLs for image-based video generation:
- IMG2VIDEO: 1-2 images (start frame, or start + end frames)
- INGREDIENTS2VIDEO: 1-3 reference images (required)
- veo31_fast_ingredients model: 1-3 images
示例:
[
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
]Video aspect ratio
可用选项:
16:9, 9:16 示例:
"16:9"
[已废弃] Enable automatic prompt translation to English
示例:
false
响应
201 - application/json
task id, used to get task result later