{"servers":[{"url":"https://api.modellix.ai/api/v1/bytedance/seedance-2.5-flash-i2v"}],"post":{"description":"ByteDance's fast image-to-video model for animating a starting frame or connecting a first and last frame, with native sound. It generates 4 to 30 second clips at 480p or 720p while preserving the starting image's aspect ratio.","operationId":"seedance25FlashI2vAsync","requestBody":{"content":{"application/json":{"examples":{"first_frame":{"summary":"First-frame generation","value":{"duration":12,"first_frame_image":"https://example.com/first.jpg","output_format":"mp4","prompt":"Animate gently with natural camera motion","ratio":"adaptive"}},"first_last":{"summary":"First-and-last-frame generation","value":{"duration":8,"first_frame_image":"https://example.com/first.jpg","last_frame_image":"https://example.com/last.jpg","prompt":"Smoothly transition between the two frames","ratio":"adaptive"}}},"schema":{"description":"Animate a starting frame or connect a first and last frame.","properties":{"duration":{"default":5,"description":"Output duration in seconds.","enum":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],"example":5,"type":"integer"},"execution_expires_after":{"default":172800,"description":"Maximum time in seconds before the task expires.","example":172800,"maximum":259200,"minimum":3600,"type":"integer"},"first_frame_image":{"description":"Starting frame. Use an HTTPS URL or `asset://<asset_id>` from [Register Provider Asset](https://docs.modellix.ai/api/register-provider-asset).","example":"https://example.com/first.jpg","format":"uri","minLength":1,"type":"string"},"generate_audio":{"default":true,"description":"Whether to generate an audio track with the video","example":true,"type":"boolean"},"last_frame_image":{"description":"Ending frame. Use an HTTPS URL or `asset://<asset_id>` from [Register Provider Asset](https://docs.modellix.ai/api/register-provider-asset).","example":"https://example.com/last.jpg","format":"uri","minLength":1,"type":"string"},"output_format":{"default":"mp4","description":"Output video container format.","enum":["mp4","mov"],"example":"mp4","type":"string"},"prompt":{"description":"Text prompt describing the desired animation.","example":"Animate the scene gently with natural motion","maxLength":10000,"minLength":1,"type":"string"},"ratio":{"default":"adaptive","description":"Preserves the starting image's aspect ratio. Omit this field or use adaptive.","enum":["adaptive"],"example":"adaptive","type":"string"},"resolution":{"default":"720p","description":"Output resolution.","enum":["480p","720p"],"example":"720p","type":"string"},"return_last_frame":{"default":false,"description":"Whether to return the last frame of the generated video","example":false,"type":"boolean"}},"required":["first_frame_image"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Response code, 0 indicates success","example":0,"type":"integer"},"data":{"description":"Detailed data about the submitted asynchronous task.","properties":{"get_result":{"description":"API information to query the task result","properties":{"method":{"description":"HTTP method","example":"GET","type":"string"},"url":{"description":"Full URL to query the task result","example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID","example":"model-123","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier","example":"task-abc123","type":"string"}},"required":["status","task_id","model_id"],"type":"object"},"message":{"description":"Response message","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Task submitted successfully"}},"summary":"Seedance 2.5 Flash I2V","x-mint":{"href":"bytedance/seedance-2-5-flash-i2v"}}}