{"uid":"cap_QZbnZWYdJ32VOYstFG9sm","slug":"stablestudio-veo-3-1-video-generation-6c941de3","name":"StableStudio Veo 3.1 Video Generation","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.io/api/generate/veo-3.1/generate","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":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Da98M-sXabuJvneiQKrZh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an AI video asynchronously using the Veo 3.1 model from a text prompt, returning a job ID to poll for results.","exampleAgentPrompt":"Generate a cinematic 16:9 video of a futuristic city skyline at sunset with flying cars and neon lights — use 2 MP resolution, PNG output at quality 90, and enhance the prompt automatically.","exampleUseCases":null,"resultDescription":"A JSON object containing the job type ('veo-3.1-video'), a unique jobId string to poll for completion, the current status ('pending'), and a success boolean confirming the job was accepted.","failureModes":["Prompt too long (exceeds 10,000 characters) — validation error","Invalid resolution or aspect_ratio enum value — 422 validation error","Payment failure (insufficient USDC balance or x402 protocol error) — 402 Payment Required","Safety tolerance violation if prompt triggers content filter at given tolerance level — generation rejected","Job creation timeout or server-side error — 500 Internal Server Error","Invalid seed value outside integer range — schema validation error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use AI video generation from Google's Veo 3.1 model with no subscription commitment, especially when you need flexible resolution and aspect ratio control. Prefer it over subscription-based services when cost predictability per generation matters, or when generating videos programmatically via the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:52:36.175Z","isFirstParty":false}