{"info":{"title":"Seedance 2.0 Video to Video","version":"1.0.0"},"openapi":"3.1.0","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["prompt","reference_videos"],"properties":{"prompt":{"type":"string","title":"Prompt","x-order":0,"description":"Describe the result you want and what to take from each reference. Address the reference assets positionally as @Video1..@Video3, @Image1..@Image9 and @Audio1..@Audio3, numbered by their order in reference_videos, reference_images and reference_audios — a reference the prompt never names is usually ignored. English, Chinese, Japanese, Indonesian, Spanish and Portuguese prompts are all understood."},"duration":{"type":"integer","title":"Duration","default":5,"maximum":15,"minimum":4,"x-order":6,"description":"Length of the generated clip in seconds."},"resolution":{"allOf":[{"$ref":"#/components/schemas/resolution"}],"title":"resolution","default":"720p","x-order":4,"description":"Output resolution of the clip. Higher resolutions cost more, because generation tokens scale with the output width and height."},"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/aspect_ratio"}],"title":"aspect_ratio","default":"16:9","x-order":5,"description":"Frame shape of the generated clip. Set adaptive to follow the shape of the source footage."},"generate_audio":{"type":"boolean","title":"Generate Audio","default":true,"x-order":7,"description":"Generate a synchronized soundtrack (dialogue, ambience and sound effects) together with the picture. Set false for a silent clip; the price is the same either way."},"reference_audios":{"type":"array","items":{"type":"string","format":"uri"},"title":"Reference Audios","x-order":3,"maxItems":3,"description":"Up to 3 optional audio references the generated soundtrack should follow. MP3 or WAV, under 15 MB each and 15 seconds combined. Addressed as @Audio1..@Audio3."},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"title":"Reference Images","x-order":2,"maxItems":9,"description":"Up to 9 optional reference images that steer identity, wardrobe, product, location or style. JPEG, PNG or WebP, under 30 MB each. Addressed as @Image1..@Image9."},"reference_videos":{"type":"array","items":{"type":"string","format":"uri"},"title":"Reference Videos","x-order":1,"maxItems":3,"minItems":1,"description":"Reference clips that steer motion, camera movement and pacing. Address them in the prompt as @Video1, @Video2, @Video3 - numbered by their order in this array. MP4 or MOV (H.264/H.265), 2-15 seconds per file and no more than 15 seconds COMBINED across up to 3 files, 480p-4k, 24-60 fps, under 200 MB each. Billing scales with the total duration you send here as well as the length of the clip you generate, so shorter references cost less."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"URL of the generated MP4 video clip."},"resolution":{"enum":["480p","720p","1080p"],"type":"string","title":"resolution","description":"An enumeration."},"aspect_ratio":{"enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"type":"string","title":"aspect_ratio","description":"An enumeration."}}}}