Create a task to generate video from images using models V, KL, or S.
model, the required status and valid ranges for parameters are as follows:
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Limited to 1000 characters. |
| image_url | No | Required for Start-Frame Mode. |
| reference_images | No | Required for Multi-Image Mode. (Max 3 images) |
| aspect_resolution | Yes | Supports 720p, 1080p, 4k. |
| duration | Yes | Single-image: 4, 6, 8s; Multi-image: fixed at 8s. |
| generate_audio | No | Supports audio configuration. |
callback_url provided in the initiation request.
0 indicates a successful callback transmission.image_to_video.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Create an image-to-video generation task. Supports models V, KL, and S.
Model identifier code.
V: Supports single/multi-image, audio, and 4k.KL: Focused on multi-reference image mode.S: Focused on single start-frame mode.V, KL, S "V"
Prompt for video generation. Limit: 1000 characters.
"A golden retriever running in the grass, sunny day, cinematic lighting"
Video aspect ratio.
16:9, 9:16 "16:9"
Video resolution.
720p, 1080p, 4k "1080p"
Video duration in seconds.
4, 5, 6, 8, 10, 12 6
Start frame image URL.
"https://example.com/start_frame.jpg"
List of reference image URLs.
[
"https://example.com/ref1.jpg",
"https://example.com/ref2.jpg"
]Whether to generate audio. Only supported by Model V.
true
Number of videos to generate (1-4).
1 <= x <= 41
Callback URL for task completion notification.
"https://your-server.com/callback"