Request structure
Generation modes
If
mode is omitted, GENGEN can infer the request shape from the supplied assets. Set it
explicitly when you want predictable validation.
Seedance 2.5 task-type validation
For Seedance 2.5 omni-reference workflows, GENGEN maps an explicitly supplied normalized mode to BytePlus’s task-type hint:
An edit prompt must clearly describe the intended edit, such as adding, removing, replacing, or
changing content. An extension prompt must clearly ask to extend or continue the source video.
When
mode is omitted, GENGEN leaves the upstream task-type hint at its default auto behavior.
BytePlus classifies the request from its assets and prompt during processing. Constraint failures
found after automatic classification are asynchronous and can use
InvalidParameter.TaskTypeConstraint.
Media inputs
assets accepts HTTPS URLs and owned asset:// references where supported.
firstFrameImageandlastFrameImagecontrol boundary frames.referenceImagesaccepts up to 30 references for Seedance 2.5 and up to 9 for Seedance 2.0 variants.referenceVideosaccepts up to 10 references for Seedance 2.5 and up to 3 for Seedance 2.0 variants.referenceAudiosaccepts up to 10 audio references for Seedance 2.5. Audio can be its only multimodal reference input.referenceAudiois the compatibility form for a single audio reference.sourceVideois used by video modification and extension.
Output controls
Common controls include:duration: model-dependent output duration in seconds; supported Seedance models also accept-1for model-selected duration.resolution:480p,720p,1080p, or4k, subject to model support.ratio:21:9,16:9,4:3,1:1,3:4,9:16, oradaptive.generateAudio: request synchronized audio when supported.watermark: add a provider watermark.returnLastFrame: return a last-frame image when supported.outputFormat:mp4ormovfor Seedance 2.5. The default ismp4; this control is not available for other Seedance models.serviceTier:defaultorflex, subject to model support.
adaptive ratio; video editing
uses model-selected duration (-1).
mp4 uses standard color precision and has broad compatibility with browsers, mobile devices,
media players, and distribution platforms. mov preserves higher color precision and more
consistent color and brightness for grading, keying, compositing, and other professional
post-production workflows. For editing and extension, using MOV for both input and output is
recommended.
Seedance 2.5 MOV output uses H.264 video encoding, YUV 4:4:4 chroma sampling, and PCM audio.
Some players may not support this combination. VLC, mpv, and ffplay support it on macOS and
Windows; IINA supports it on macOS.
Seedance 2.5 video editing with MOV output
Task lifecycle
Poll the retrieve endpoint at a reasonable interval. Treatsucceeded, failed, cancelled, and the compatibility status completed as terminal. Do not treat a Seedance provider status of expired as terminal: continue polling the same task because it can resume and later succeed. GENGEN normalizes new responses where possible.
Compatibility
Older integrations may still send provider-nativecontent[] bodies or snake_case fields. They remain compatibility inputs, but new integrations should use assets, controls, and providerOptions.