{"servers":[{"url":"https://api.modellix.ai/api/v1/google/veo-3.1-fast-i2v"}],"post":{"description":"[Core Function] Veo 3.1 Fast I2V is a high-speed image-to-video model. [Strengths] It quickly animates starting images at 1080p, optimized for low latency. [Best For] Highly recommended for: rapid prototyping and quick social media visual iterations. [Limitations] Do NOT use this model for the absolute highest visual fidelity or 4K output. [Routing] Choose this model when the user emphasizes 'fast' or 'quick' animation.","operationId":"veo31FastI2VAsync","requestBody":{"content":{"application/json":{"examples":{"image_mode_basic":{"summary":"Image mode — basic animation","value":{"image":"https://example.com/frame.jpg","prompt":"Gentle breeze causes leaves to rustle in the scene"}},"image_mode_options":{"summary":"Image mode — with duration and resolution","value":{"aspectRatio":"16:9","duration":"6","image":"https://example.com/frame.jpg","prompt":"Camera slowly pans across the landscape","resolution":"720p"}},"reference_mode":{"summary":"Reference mode — reference images (duration must be 8)","value":{"aspectRatio":"16:9","duration":"8","prompt":"Keep the same character and visual style","referenceImages":["https://example.com/ref.jpg"],"resolution":"720p"}}},"schema":{"description":"Veo 3.1 / Veo 3.1 Fast image-to-video request. Choose one option — `image` mode and `referenceImages` mode are mutually exclusive. Resolution up to 4K. Constraints verified 2026-04-29 against Google raw API, see each parameter for details.","oneOf":[{"description":"Animate from a starting frame, optionally to an end frame.","properties":{"aspectRatio":{"default":"16:9","description":"Video aspect ratio","enum":["16:9","9:16"],"example":"16:9","type":"string"},"duration":{"description":"Video duration in seconds (string type). Constraint: When using `lastFrame`, must be `8` — values `4` or `6` will be rejected by Google. Otherwise `4`, `6`, `8` are all valid.","enum":["4","6","8"],"example":"8","type":"string"},"image":{"description":"Starting frame. Accepts an image URL (e.g. `https://example.com/frame.jpg`).","example":"https://example.com/frame.jpg","type":"string"},"lastFrame":{"description":"End frame. Accepts an image URL. Constraint: `duration` must be `8` when using this parameter.","example":"https://example.com/last-frame.jpg","type":"string"},"negativePrompt":{"description":"Text describing what to avoid in the generated video.","example":"blurry, low quality, distorted","type":"string"},"personGeneration":{"description":"Person generation policy","enum":["allow_adult"],"example":"allow_adult","type":"string"},"prompt":{"description":"Video description text guiding the animation","example":"The character waves and smiles at the camera","minLength":1,"type":"string"},"resolution":{"description":"Video resolution. Constraint: 1080p and 4k are only available when `duration` is `8`.","enum":["720p","1080p","4k"],"example":"1080p","type":"string"}},"required":["prompt","image"],"title":"Option 1 — Image mode","type":"object"},{"description":"Guide generation with reference images (style/character/visual).","properties":{"aspectRatio":{"default":"16:9","description":"Video aspect ratio","enum":["16:9","9:16"],"example":"16:9","type":"string"},"duration":{"description":"Video duration in seconds (string type). Constraint: Must be `8` in reference mode — values `4` or `6` will be rejected by Google.","enum":["8"],"example":"8","type":"string"},"personGeneration":{"description":"Person generation policy","enum":["allow_adult"],"example":"allow_adult","type":"string"},"prompt":{"description":"Video description text guiding the animation","example":"The character waves and smiles at the camera","minLength":1,"type":"string"},"referenceImages":{"description":"Reference images for style/character/visual guidance (up to 3). Each item is an image URL (e.g. `https://example.com/ref.jpg`). Supported only by Veo 3.1 and Veo 3.1 Fast I2V.","example":["https://example.com/ref.jpg"],"items":{"type":"string"},"maxItems":3,"type":"array"},"resolution":{"description":"Video resolution. Constraint: 1080p and 4k are only available when `duration` is `8`.","enum":["720p","1080p","4k"],"example":"1080p","type":"string"}},"required":["prompt","referenceImages"],"title":"Option 2 — Reference mode","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-i2v002"},"model_id":"google/veo-3.1-fast-i2v","status":"pending","task_id":"task-i2v002"},"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":{"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 in `provider/model` format","example":"google/veo-3.1-i2v","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 'prompt' is required"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'prompt' 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":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'prompt' 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":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'prompt' 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":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'prompt' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Internal server error"}},"summary":"Veo 3.1 Fast I2V","x-mint":{"href":"google/veo-3-1-fast-i2v"}}}