VidMage

VidMage is an AI video and image creation platform for creators. Turn your ideas and images into videos and fresh visuals.

Open the creator tools
Explore APIs
AI Video APIsAI Image APIsAI Audio APIsAI 3D APIsAI Face Swap APIsAI Effects APIs
Build with VidMage
QuickstartAPI keysVidMage MCPError reference
Your account
Developer consoleAbout VidMagePlans and creditsAPI billingContact support
© 2026 VidMage. All rights reserved.
Privacy PolicyTerms of ServiceReport Abuse
Skip to content
VidMage/Developers
Overview
APIs
All APIsAI Video APIsAI Image APIsAI Audio APIsAI 3D APIsAI Face Swap APIsAI Effects APIs
DocumentationVidMage MCPOpen console
Developers/Documentation/Seedance 2.0 AI Video Generator API documentation
Start here
DocumentationQuickstartAuthentication
Core workflows
File uploadsTask lifecycleCredits and billingErrors and recoveryVidMage MCP
Browse documentation
All API documentation
Video documentation 36AI Video Head SwapAI Video Face SwapAI Multiple Face Swap VideoAI Text to VideoAI Image to VideoAI Video to VideoAI Video ExtenderAI Video to Anime ConverterAI Video Background RemoverAI Video Watermark RemoverSora Link Watermark RemoverSora 2 Video GeneratorAI Photo DanceAI Motion ControlAI Talking PhotoAI Lip SyncAI Subtitle GeneratorAI Video UpscalerKling AI Video GeneratorPixVerse AI Video GeneratorHailuo AI Video GeneratorMiniMax H3 AI Video GeneratorGrok Video GeneratorSora 2 AI Video GeneratorWan AI Video GeneratorWan 3.0 AI Video GeneratorSeedance 2.0 AI Video GeneratorSeedance 2.5 AI Video GeneratorSeedance AI Video GeneratorMidjourney Video GeneratorVidu AI Video GeneratorVeo 3.1 AI Video GeneratorKling 3.0 AI Video GeneratorSkyReels AI Video GeneratorHappyHorse AI ModelRunway AI Video Generator
Image documentation 24AI Photo Face SwapAI Head SwapAI Multiple Face SwapAI Text to ImageAI Image to ImageAI Girl GeneratorAI Hairstyle ChangerAI Clothes ChangerAI Object RemoverAI Image Watermark RemoverAI Image UpscalerGPT Image 2 Image to ImageAI GIF Face SwapMidjourney AI Image GeneratorGrok AI Image GeneratorNano Banana AI Image GeneratorGPT Image GeneratorSeedream AI Image GeneratorZ-Image AI ModelWan Image GeneratorQwen Image GeneratorQwen 3.0 Image GeneratorGPT Image 2 GeneratorGPT Image 2.5 Generator
Audio documentation 3AI Voice CloneAI Voice DesignAI Text to Music
3d documentation 3AI Image to 3DAI Four-View to 3DAI Text to 3D

Seedance 2.0 AI Video Generator API documentation

Generate videos with Seedance 2.0 AI Video Generator (ByteDance). Supports both text and image input modes. The reference mode accepts image, video, audio inputs.

On this page01 / 09
01Endpoints02Parameters and input rules03text to video04image to video05multimodal video06Example request07Task results and recovery08Credits09Integration guides

Endpoints

Contract itemValue
Capabilityseedance-2-0-ai-video-generator
SubmitPOST https://vidmage.ai/api/v1/seedance-2-0-ai-video-generator/submit
QueryPOST https://vidmage.ai/api/v1/seedance-2-0-ai-video-generator/query
Task identifiertaskId
Result fieldvideoUrl

Authenticate with Authorization: Bearer YOUR_API_KEY. Save the task identifier and query the same capability. Use a stable Idempotency-Key for submission retries.

Product guide: Seedance API

Parameters and input rules

FieldTypeRequiredDefaultMeaning and limits
promptstringNoNot specifiedText prompt describing the video to generate (max 20480 chars). Optional only in provider modes whose image input fully defines the generation.
Maximum characters: 20480
imageUrlstringNoNot specifiedOptional input image URL. When provided, the task runs in image-to-video mode.
imageUrlsstring[]NoNot specifiedOptional multimodal reference images. Public URLs only.
Maximum items: 9
videoUrlsstring[]NoNot specifiedOptional multimodal reference videos..
Maximum items: 3
audioUrlsstring[]NoNot specifiedOptional multimodal reference audio..
Maximum items: 3
lastFrameUrlstringNoNot specifiedOptional public URL for the final frame in image-to-video mode.
durationstringNo"5"Video duration in seconds.
Values: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"
aspectRatiostringNo"adaptive"Output aspect ratio.
Values: "adaptive", "16:9", "4:3", "1:1", "3:4", "9:16", "21:9"
resolutionstringNo"720p"Output resolution tier.
Values: "480p", "720p", "1080p", "2k", "4k"
soundbooleanNotrueGenerate synchronized audio along with the video. No separate sound surcharge is configured.
returnLastFramebooleanNofalseReturn the generated video's last frame as an additional output.
seedintegerNo-1Seed for reproducible generation. Use -1 for a random seed.
Minimum: -1
Maximum: 2147483647
Multiple of: 1
realPersonModebooleanNotrueAllow the provider to convert supported real-person references into generation assets.
conversionSlotsstring[]No["all"]Choose which first/end-frame slots should be converted into real-person assets.
Item values: "all", "firstFrameUrl", "lastFrameUrl", "image1", "image2", "image3", "image4", "image5", "image6", "image7", "image8", "image9", "video1", "video2", "video3"

text to video

These are public VidMage field names. The server maps them to provider fields. Input media selects the mode; use its limits together with the parameter table.

ControlMode-specific rule
promptRequired; 1–20480 characters.
durationJSON string. Values: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15". Default: 5.
aspectRatioValues: "adaptive", "16:9", "4:3", "1:1", "3:4", "9:16", "21:9". Default: adaptive.
resolutionValues: "480p", "720p", "1080p", "2k", "4k". Default: 720p.
soundBoolean. Default: true.
returnLastFrameReturn the generated video's last frame as an additional output.
Default: false
seedSeed for reproducible generation. Use -1 for a random seed.
Minimum: -1
Maximum: 2147483647
Multiple of: 1
Default: -1

image to video

These are public VidMage field names. The server maps them to provider fields. Input media selects the mode; use its limits together with the parameter table.

ControlMode-specific rule
promptOptional; 0–20480 characters.
durationJSON string. Values: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15". Default: 5.
aspectRatioValues: "adaptive", "16:9", "4:3", "1:1", "3:4", "9:16", "21:9". Default: adaptive.
resolutionValues: "480p", "720p", "1080p", "2k", "4k". Default: 720p.
soundBoolean. Default: true.
imageUrlFormats: jpg, jpeg, png, webp.
lastFrameUrlOptional final-frame image.
realPersonModeAllow the provider to convert supported real-person references into generation assets.
Default: true
conversionSlotsChoose which first/end-frame slots should be converted into real-person assets.
Item values: "all", "firstFrameUrl", "lastFrameUrl"
Default: ["all"]
returnLastFrameReturn the generated video's last frame as an additional output.
Default: false
seedSeed for reproducible generation. Use -1 for a random seed.
Minimum: -1
Maximum: 2147483647
Multiple of: 1
Default: -1

multimodal video

These are public VidMage field names. The server maps them to provider fields. Input media selects the mode; use its limits together with the parameter table.

ControlMode-specific rule
promptRequired; 1–20480 characters.
durationJSON string. Values: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15". Default: 5.
aspectRatioValues: "adaptive", "16:9", "4:3", "1:1", "3:4", "9:16", "21:9". Default: adaptive.
resolutionValues: "480p", "720p", "1080p", "2k", "4k". Default: 720p.
soundBoolean. Default: true.
imageUrlsUp to 9 files. Formats: jpg, jpeg, png, webp.
videoUrlsUp to 3 files. Formats: mp4, mov.
audioUrlsUp to 3 files. Formats: mp3, wav.
realPersonModeAllow the provider to convert supported real-person references into generation assets.
Default: true
conversionSlotsChoose which multimodal image/video slots should be converted into real-person assets.
Item values: "all", "image1", "image2", "image3", "image4", "image5", "image6", "image7", "image8", "image9", "video1", "video2", "video3"
Default: ["all"]
returnLastFrameReturn the generated video's last frame as an additional output.
Default: false
seedSeed for reproducible generation. Use -1 for a random seed.
Minimum: -1
Maximum: 2147483647
Multiple of: 1
Default: -1

Example request

{
  "prompt": "A chef flips vegetables in a wok as steam catches the warm kitchen light, synchronized natural sound",
  "duration": "5",
  "aspectRatio": "adaptive",
  "resolution": "720p",
  "sound": true,
  "returnLastFrame": false,
  "seed": -1
}
# 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-2-0-ai-video-generator/submit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A chef flips vegetables in a wok as steam catches the warm kitchen light, synchronized natural sound","duration":"5","aspectRatio":"adaptive","resolution":"720p","sound":true,"returnLastFrame":false,"seed":-1}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }

Task results and recovery

URL of the generated video. When requested, query also returns the generated last frame as lastFrameUrl. Read videoUrl from the completed query response. Preserve taskId while the task is running.

curl -X POST "https://vidmage.ai/api/v1/seedance-2-0-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://..." } }

Submission and task queries report the available task and usage information. A timeout is not a confirmed failure. Recover the existing task instead of resubmitting.

For face selection and error recovery, follow Task lifecycle. MCP uses the normalized taskId argument in get_task_result, including capabilities whose REST identifier is requestId.

Credits

Component / optionRateMinimum
480p10 credits / second—
720p20 credits / second—
1080p25 credits / second—
2k30 credits / second—
4k35 credits / second—

Base charge = duration × the selected resolution rate.

Use the Playground or the MCP credit estimator for your exact inputs. Credits and billing.

Integration guides

Authentication · File uploads · Task lifecycle · Error recovery · MCP

Reference generated from the current API contractDocumentation home ↗