Seedance AI Video Generator
POST /api/v1/seedance-ai-video-generator/submit
prompt is required.
Required inputs
promptstring- Text prompt describing the video to generate (max 5000 chars).
Edit the sample inputs for your own task before submitting.
# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/seedance-ai-video-generator/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
-H "Content-Type: application/json" \
-d '{"prompt":"A red fox walks across fresh snow beneath gently falling flakes, smooth low-angle tracking shot","duration":"5","aspectRatio":"3:4","resolution":"720p","sound":true,"cameraFixed":false}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }Parameters and input rules8 fields
| Field | Type | Required | Default | Meaning and limits |
|---|---|---|---|---|
prompt | string | Yes | Not specified | Text prompt describing the video to generate (max 5000 chars). Minimum length: 1 · Maximum length: 5000 |
imageUrl | string | No | Not specified | Optional input image URL. When provided, the task runs in image-to-video mode. No additional field constraint listed. |
lastFrameUrl | string | No | Not specified | Optional public URL for the final frame in image-to-video mode. No additional field constraint listed. |
duration | string | No | "5" | Video duration in seconds. Values: "4", "5", "6", "7", "8", "9", "10", "11", "12" · Default: "5" |
aspectRatio | string | No | "3:4" | Output aspect ratio. Values: "16:9", "9:16", "4:3", "3:4", "1:1", "21:9", "adaptive" · Default: "3:4" |
resolution | string | No | "720p" | Output resolution tier. Values: "480p", "720p", "1080p" · Default: "720p" |
sound | boolean | No | true | Generate synchronized audio along with the video. No separate sound surcharge is configured. Default: true |
cameraFixed | boolean | No | false | Keep the camera position fixed throughout the video. Default: false |
Mode-specific fields & media limits
Text To Video rules
| Control | Mode-specific rule |
|---|---|
prompt | Required; minimum 1 characters; maximum 5000 characters |
duration | Values: "4", "5", "6", "7", "8", "9", "10", "11", "12"; mode default: "5" |
aspectRatio | Values: "16:9", "9:16", "4:3", "3:4", "1:1", "21:9"; mode default: "3:4" |
resolution | Values: "480p", "720p", "1080p"; mode default: "720p" |
sound | Boolean control; default true |
cameraFixed | Default: false |
Image To Video rules
| Control | Mode-specific rule |
|---|---|
prompt | Required; minimum 1 characters; maximum 5000 characters |
duration | Values: "4", "5", "6", "7", "8", "9", "10", "11", "12"; mode default: "5" |
aspectRatio | Values: "16:9", "9:16", "1:1", "4:3", "3:4", "21:9", "adaptive"; mode default: "adaptive" |
resolution | Values: "480p", "720p", "1080p"; mode default: "720p" |
sound | Boolean control; default true |
imageUrl | Image input |
lastFrameUrl | Optional final-frame image input |
cameraFixed | Default: false |
Retrieve the result
Save taskId from the accepted submission and send it to this endpoint:
POST /api/v1/seedance-ai-video-generator/query
Use the same Bearer API key. On completion, read the videoUrl result field.
curl -X POST "https://vidmage.ai/api/v1/seedance-ai-video-generator/query" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "taskId": "TASK_ID_FROM_SUBMIT" }'
# -> { "success": true, "data": { "status": "...", "videoUrl": "https://..." } }