Generate dynamic videos from text prompts or existing images
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | string | Yes | Your API key |
| Parameter | Type | Required | Description |
|---|---|---|---|
jobId | string | Yes | ID of the source image generation task |
imageNo | integer | Yes | Image number to animate (0/1/2/3) |
prompt | string | No | Video generation prompt text (1-8192 characters) |
videoType | integer | No | Video quality type (0: 480p, 1: 720p) |
callback | string | No | Callback URL for task completion notifications |
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Video generation prompt text with image URL included, format: “[image_url] your prompt text” (1-8192 characters) |
videoType | integer | No | Video quality type (0: 480p, 1: 720p) |
callback | string | No | Callback URL for task completion notifications |
| Value | Resolution | Description |
|---|---|---|
| 0 | 480p | Standard definition (default) |
| 1 | 720p | High definition |
--motion low to your prompt--motion high to your prompt--raw to your prompt--end [image_url] to your prompt--loop to your prompt--bs [1|2|4] to your promptAPI key for authentication
ID of the source image generation task (for existing image mode)
Image number to animate (0/1/2/3) (for existing image mode)
0 <= x <= 3Video generation prompt text (required for prompt mode, optional for existing image mode)
1 - 8192Video quality type (0=480p, 1=720p)
0 <= x <= 1Callback URL for task completion notifications
Video generation task created successfully