Endpoint
Headers
Header | Type | Required | Description |
---|---|---|---|
x-api-key | string | Yes | Your API key |
Request Body
Image-to-Video Mode
Choose one of two input methods: Option 1: Using existing generated imageParameter | 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 |
Video Types
Value | Resolution | Description |
---|---|---|
0 | 480p | Standard definition (default) |
1 | 720p | High definition |