{"servers":[{"url":"https://api.modellix.ai/api/v1/pixverse/v6-fl2v"}],"post":{"description":"[Core Function] PixVerse v6 first-last-frame generates a video that transitions from a start frame to an end frame, guided by a prompt. [Strengths] Controlled start/end composition with smooth interpolation. [Best For] Morphs, scene transitions, before/after motion. [Limitations] Do NOT use this if you only have a single image (use Image-to-Video) or lack an end frame; it requires exactly two images (a first and a last frame) and supports up to 1080p and a maximum of 15s. [Routing] Use when the user provides a start image AND an end image. For one image use Image-to-Video. The v6 and c1 first-last-frame variants accept identical parameters; choose the version the user requests.","operationId":"pixverseV6FL2VAsync","requestBody":{"content":{"application/json":{"examples":{"basic":{"summary":"First and last frame","value":{"duration":5,"first_frame_image":"https://example.com/start.png","last_frame_image":"https://example.com/end.png","prompt":"Smooth transition from day to night","quality":"720p"}}},"schema":{"description":"PixVerse first-last-frame request. Generates a video transitioning from a start frame to an end frame. Used by both v6 and c1 (the path determines the model version).","properties":{"duration":{"description":"Video duration in seconds (required).","example":5,"maximum":15,"minimum":1,"type":"integer"},"first_frame_image":{"description":"Start frame image URL.","example":"https://example.com/start.png","minLength":1,"type":"string"},"generate_audio_switch":{"default":false,"description":"Whether to generate audio.","example":false,"type":"boolean"},"last_frame_image":{"description":"End frame image URL.","example":"https://example.com/end.png","minLength":1,"type":"string"},"prompt":{"description":"Description of the transition / motion.","example":"Smooth transition from day to night","maxLength":5000,"minLength":1,"type":"string"},"quality":{"description":"Output resolution (required).","enum":["360p","540p","720p","1080p"],"example":"720p","type":"string"},"seed":{"description":"Random seed (omit for random).","example":0,"maximum":2147483647,"minimum":0,"type":"integer"}},"required":["first_frame_image","last_frame_image","prompt","duration","quality"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"code":0,"data":{"get_result":{"method":"GET","url":"https://api.modellix.ai/api/v1/tasks/task-pixverse-fl2v-001"},"model_id":"pixverse/v6-fl2v","status":"pending","task_id":"task-pixverse-fl2v-001"},"message":"success"},"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":{"example":"GET","type":"string"},"url":{"example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID in `provider/model` format","example":"pixverse/v6-r2v","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier for polling","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"},"400":{"content":{"application/json":{"example":{"code":400,"message":"Invalid parameters: parameter 'image' is required"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"example":{"code":401,"message":"Authentication failed: invalid API key"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Unauthorized - Invalid or missing API Key"},"429":{"content":{"application/json":{"example":{"code":429,"message":"Rate limit exceeded: 100 requests per minute, retry after 60 seconds"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Too many requests - Rate limit exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum requests per minute","schema":{"example":100,"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining quota in current window","schema":{"example":0,"type":"integer"}},"X-RateLimit-Reset":{"description":"Rate limit window reset time (Unix timestamp)","schema":{"example":1704067260,"type":"integer"}}}},"500":{"content":{"application/json":{"example":{"code":500,"message":"Internal server error"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Internal server error"}},"summary":"V6 First-Last-Frame to Video","x-mint":{"href":"pixverse/v6-fl2v"}}}