Request structure
Generation modes
If
mode is omitted, GENGEN can infer it from the supplied assets. Set it explicitly when you want predictable validation.
Media inputs
assets accepts HTTPS URLs and owned asset:// references where supported.
firstFrameImageandlastFrameImagecontrol boundary frames.referenceImagesaccepts up to 9 image references for supported Seedance modes.referenceVideosaccepts up to 3 video references per upstream request.referenceAudioadds audio guidance and cannot be the only multimodal input.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.serviceTier:defaultorflex, subject to model support.
Task lifecycle
Poll the retrieve endpoint at a reasonable interval. Treatsucceeded, failed, cancelled, and expired as terminal. Some provider compatibility responses can also use completed; 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.