{"modality":"video","operations":["text-to-video","image-to-video","reference-to-video","video-edit","video-extend"],"commonArguments":["prompt","duration","resolution","aspectRatio","audio","seed","count"],"modelSpecificArguments":["codec","bitrateMode","watermark"],"defaults":{"resolution":"720p","duration":5,"aspectRatio":"16:9"},"capabilities":{"resolutions":["480p","720p"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16"],"duration":{"minimum":4,"maximum":30,"integer":true,"auto":true},"references":{"types":["image","video","audio"],"maximum":{"image":10,"video":5,"audio":5},"totalMaximum":20},"frames":{"first":true,"last":true,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"switchable","countMaximum":1},"promptRequired":true,"promptMaximum":null,"verification":"documented","sources":[{"url":"https://docs.byteplus.com/en/docs/modelark/create-video-generation-task-api","checkedAt":"2026-11-27"},{"url":"https://docs.byteplus.com/en/docs/ModelArk/seedance-2-5","checkedAt":"2026-11-27"},{"url":"https://fal.ai/models/bytedance/seedance-2.5/flash/image-to-video/api","checkedAt":"2026-11-27"}],"notices":["Seedance 2.5 Flash supports 480p and 720p (no 1080p, 4K or Draft mode), 4–30s duration and up to 10 images, 5 videos and 5 audio clips (20 combined assets). Strict first/last-frame mode and omni references are mutually exclusive on native BytePlus. Supplier wrappers can expose different controls; seed/codec/bitrate are not universal native controls."],"modelId":"bytedance/seedance-2.5-flash","operation":"text-to-video","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","maxLength":100000,"minLength":1,"pattern":"\\S"},"duration":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":300},{"type":"string","const":"auto"}],"default":5},"resolution":{"type":"string","minLength":1,"maxLength":30,"default":"720p"},"aspectRatio":{"type":"string","pattern":"^(source|auto|\\d+(\\.\\d+)?:\\d+(\\.\\d+)?)$","default":"16:9"},"audio":{"type":"boolean"},"seed":{"type":"integer","minimum":-1,"maximum":9007199254740991},"count":{"type":"integer","minimum":1,"maximum":15},"codec":{"type":"string","enum":["auto","H264","H265"]},"bitrateMode":{"type":"string","enum":["standard","high"]},"watermark":{"type":"boolean"}},"additionalProperties":false,"allOf":[{"not":{"required":["size","resolution"]}},{"not":{"required":["size","aspectRatio"]}}],"required":["prompt"],"x-opengen":{"modelId":"bytedance/seedance-2.5-flash","operation":"text-to-video","capabilities":{"resolutions":["480p","720p"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16"],"duration":{"minimum":4,"maximum":30,"integer":true,"auto":true},"references":{"types":["image","video","audio"],"maximum":{"image":10,"video":5,"audio":5},"totalMaximum":20},"frames":{"first":true,"last":true,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"switchable","countMaximum":1},"notices":["Seedance 2.5 Flash supports 480p and 720p (no 1080p, 4K or Draft mode), 4–30s duration and up to 10 images, 5 videos and 5 audio clips (20 combined assets). Strict first/last-frame mode and omni references are mutually exclusive on native BytePlus. Supplier wrappers can expose different controls; seed/codec/bitrate are not universal native controls.","aspectRatio source requires source media or an owned top-level previousJobId. An arguments-only schema cannot validate that outer request context.","Runtime validation also checks model-specific combinations, media contents and regional route restrictions."],"sources":[{"url":"https://docs.byteplus.com/en/docs/modelark/create-video-generation-task-api","checkedAt":"2026-11-27"},{"url":"https://docs.byteplus.com/en/docs/ModelArk/seedance-2-5","checkedAt":"2026-11-27"},{"url":"https://fal.ai/models/bytedance/seedance-2.5/flash/image-to-video/api","checkedAt":"2026-11-27"}]}},"examples":{"request":{"modelId":"bytedance/seedance-2.5-flash","operation":"text-to-video","input":{"resolution":"720p","duration":5,"aspectRatio":"16:9","prompt":"Describe the desired result."},"billing":"managed"},"generate":{"operationId":"media.generate","input":{"modelId":"bytedance/seedance-2.5-flash","operation":"text-to-video","input":{"resolution":"720p","duration":5,"aspectRatio":"16:9","prompt":"Describe the desired result."},"billing":"managed"},"idempotencyKey":"REPLACE_WITH_SAVED_IDEMPOTENCY_KEY"},"cli":"opengen generate --input request.json --idempotency-key \"$OPENGEN_IDEMPOTENCY_KEY\"","placeholders":[],"notices":["Template only. Replace owned asset placeholders after upload prepare/PUT/complete; edit the prompt before submitting.","Inspect published route pricing, regional restrictions and budget before authorizing a separate billable submission. Persist a unique idempotency key with the request before submitting.","Managed billing is explicit in this example. Select BYOK only when the user chooses their provider account as payer; unknown direct charges cannot be capped by OpenGen."]}}