{"uid":"cap_CwQ6XuTEvgIZz-sxNLbDy","slug":"stablestudio-generate-66726256","name":"StableStudio Veo 3.1 Video Generation","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.dev/api/generate/veo-3.1/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image":{"type":"string","format":"uri","description":"First frame image URL for image-to-video generation"},"prompt":{"type":"string","minLength":1,"description":"A detailed description of the video you want to generate"},"imageMode":{"enum":["none","first-frame","reference","interpolation"],"type":"string","default":"interpolation","description":"How to use reference images"},"lastFrame":{"type":"string","format":"uri","description":"Last frame image URL for interpolation mode"},"resolution":{"enum":["720p","1080p"],"type":"string","default":"720p","description":"Video resolution quality"},"aspectRatio":{"enum":["16:9","9:16"],"type":"string","default":"16:9","description":"Aspect ratio (landscape or portrait)"},"negativePrompt":{"type":"string","description":"Things to avoid in the generated video"},"durationSeconds":{"enum":["4","6","8"],"type":"string","default":"4","description":"Duration of the video in seconds"},"referenceImages":{"type":"array","items":{"type":"string","format":"uri","description":"Reference image URL"},"maxItems":3,"description":"Reference images for style guidance (max 3)"}}},"responseSchema":{"type":"json","example":{"type":"veo-3.1-video","jobId":"cmpbmzaee000j04jrzx4f43tw","status":"pending","pollUrl":"https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw","success":true}},"example":{"request":{"prompt":"A serene landscape showing a calm lake at sunset with mountains in the background, golden hour lighting, peaceful and tranquil atmosphere","resolution":"720p","aspectRatio":"16:9","durationSeconds":"4"},"response":{"type":"veo-3.1-video","jobId":"cmnxs5w5u000104jrc44f62wh","status":"pending","success":true}},"exampleRequest":{"prompt":"A serene landscape showing a calm lake at sunset with mountains in the background, golden hour lighting, peaceful and tranquil atmosphere","resolution":"720p","aspectRatio":"16:9","durationSeconds":"4"},"tags":["image","video","generation","nano-banana","gpt-image","grok","flux","sora","veo","seedance","wan","ai","media","x402"],"displayCostAmount":"10","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"10","per":"call","confidence":"exact"},{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_h1OUX37BBqO8ShjNZrOR-","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_tTE9VWF-aFXO3zHVfUIZw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"StableStudio","brandSlug":"stablestudio","brandBaseUrl":"https://stablestudio.dev","brandDocsUrl":"https://stablestudio.dev","whatItDoes":"Generates AI videos using Google's Veo 3.1 model from a text prompt, with optional first-frame, last-frame, or reference images, returning a job ID for async retrieval.","exampleAgentPrompt":"Generate a 6-second 1080p landscape video of a bustling Tokyo street at night with neon lights reflecting off wet pavement, cinematic atmosphere — use Veo 3.1 and avoid any blurry or overexposed shots.","exampleUseCases":[{"title":"Product demo video from description","prompt":"Take this product description — a sleek black smartwatch with a glowing display on a marble surface — and turn it into a short cinematic AI video using Veo 3.1. Make it 4 seconds, 16:9, with dramatic lighting and a slow pan."},{"title":"Animate a still image to video","prompt":"I have a first-frame image of a mountain lake at sunrise. Use it as the starting point and generate a smooth 6-second Veo 3.1 video where the mist slowly rolls across the water and birds fly in the distance, portrait orientation."},{"title":"Social media clip from text prompt","prompt":"Generate a 4-second vertical video of a cozy coffee shop interior in autumn, warm lighting, steam rising from a latte, leaves falling outside the window — use Veo 3.1 and make it feel like something I'd post on Instagram Reels."}],"resultDescription":"Returns a JSON object with success=true, a jobId string, status='pending', and type='veo-3.1-video'. The job ID must be polled separately to retrieve the completed video URL once rendering is done.","failureModes":["Missing required 'prompt' field returns a 400 validation error","Invalid image URL format for 'image' or 'lastFrame' fields causes a 422 error","Unsupported enum value for resolution, aspectRatio, durationSeconds, or imageMode returns a validation error","Payment failure or insufficient USDC balance returns a 402 Payment Required","Service unavailability or model overload may return a 503 error","Prompt violates content policy and is rejected with a 400 or 403 error"],"whenToPreferThis":"Choose this endpoint when you need high-quality AI video generation powered by Google's Veo 3.1 model specifically, especially when you want support for first-frame image conditioning, last-frame interpolation, or reference-image style guidance alongside a text prompt. Prefer this over other StableStudio video endpoints (Seedance, Wan) when Veo 3.1 quality or Google's video model characteristics are desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":6,"lastUsedAt":"2026-07-17T22:52:21.866Z","lastSuccessfullyRanAt":"2026-05-27T17:54:12.716Z","lastHealthCheckAt":"2026-10-12T18:40:17.285Z","isFirstParty":false,"canonicalSlug":"stablestudio-generate-66726256"}