{"info":{"title":"Seedance 2.5 First & Last Frame","version":"1.0.0"},"openapi":"3.1.0","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["prompt","image","end_image"],"properties":{"image":{"type":"string","title":"Image","format":"uri","x-order":1,"description":"Still image used as the FIRST frame of the clip. 300-6000 px on a side, under 30 MB, aspect ratio between 1:2.5 and 2.5:1. JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC and HEIF are accepted. The finished clip takes its shape from the supplied frames."},"prompt":{"type":"string","title":"Prompt","x-order":0,"description":"Describe what happens BETWEEN the two supplied frames: the action, the camera move, and the sound. The opening and closing frames are already fixed by the images, so spend the prompt on the transit between them rather than on re-describing either end."},"duration":{"type":"integer","oneOf":[{"const":-1},{"maximum":30,"minimum":4}],"title":"Duration","default":-1,"x-order":4,"description":"Clip length in seconds, from 4 to 30. Leave at -1 (the default) to let the model choose an appropriate whole-second length inside that range. Billing is per second of finished video, so -1 makes the cost of a run variable."},"end_image":{"type":"string","title":"End Image","format":"uri","x-order":2,"description":"Still image used as the LAST frame of the clip. Same formats and size limits as the first frame. Use a frame that shares the first frame's scene and subject, and give it the same aspect ratio: the model generates the transit between the two images, it does not cut between unrelated shots."},"resolution":{"allOf":[{"$ref":"#/components/schemas/resolution"}],"title":"resolution","default":"720p","x-order":3,"description":"Output resolution of the clip. 720p costs more per second of video than 480p."},"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/aspect_ratio"}],"title":"aspect_ratio","default":"adaptive","x-order":6,"description":"Frame shape of the clip. adaptive is the only value this model accepts: the clip always inherits the aspect ratio of the supplied frames, so a vertical pair produces a vertical clip. Crop both images before you send them if you need a different shape."},"generate_audio":{"type":"boolean","title":"Generate Audio","default":true,"x-order":5,"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."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"URL of the generated MP4 video clip."},"resolution":{"enum":["480p","720p"],"type":"string","title":"resolution","description":"An enumeration."},"aspect_ratio":{"enum":["adaptive"],"type":"string","title":"aspect_ratio","description":"An enumeration."}}}}