{"uid":"cap_IKOAJ6nSBNQA2C-LjmpA0","slug":"stablestudio-sora-2-pro-video-generation-3c59dae8","name":"StableStudio Sora 2 Pro Video Generation","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.io/api/generate/sora-2-pro/generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"enum":["720x1280","1280x720","1024x1792","1792x1024"],"type":"string","default":"1280x720","description":"Video resolution (720p or 1024p, portrait or landscape)"},"prompt":{"type":"string","minLength":1,"description":"A detailed description of the video you want to generate"},"seconds":{"enum":["4","8","12"],"type":"string","default":"4","description":"Duration of the video in seconds"},"autoCrop":{"type":"boolean","default":true,"description":"Automatically crop reference image to match aspect ratio"},"input_reference":{"type":"string","format":"uri","description":"Optional reference image URL for image-to-video generation"}}},"responseSchema":{"type":"json","example":{"type":"sora-2-pro-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_g0eyJ0Vq5CrZ7xU4ET47C","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 AI video (via Sora 2 Pro model) from a text prompt, returning a job ID for async retrieval, billed per generation at $10 USDC.","exampleAgentPrompt":"Use StableStudio to generate a Sora 2 Pro video of a lone astronaut walking across a red desert at sunset, in 16:9 aspect ratio at 2 MP resolution, output as webp with quality 90 and safety tolerance set to 2.","exampleUseCases":[{"title":"Generate product demo videos on demand","prompt":"Create a short AI video showing our new smartwatch in action—someone jogging through a park at sunrise, close-ups of the display, professional cinematic style. Use Sora 2 Pro and make it 16:9 widescreen."},{"title":"Produce social media content clips instantly","prompt":"I need a 30-second AI video of a coffee shop scene—busy barista pouring latte art, warm morning light, cozy aesthetic. Generate it with Sora 2 Pro in 9:16 portrait format for Instagram Reels, high quality."},{"title":"Create training scenario visualizations quickly","prompt":"Generate an AI video of a customer service representative handling a difficult call professionally—calm body language, helpful gestures, office setting. Use Sora 2 Pro in 16:9, and I need it in high resolution without a subscription."}],"resultDescription":"A JSON object containing a jobId string (e.g. 'cmpbmzaee000j04jrzx4f43tw'), a status field (e.g. 'pending'), a type field ('sora-2-pro-video'), and a success boolean. The agent should poll or retrieve the job result separately using the jobId.","failureModes":["Invalid or missing prompt returns 400 validation error","Resolution or aspect_ratio value outside allowed enum fails with 422","Payment not completed (x402 flow not fulfilled) results in 402 Payment Required","Safety tolerance out of range (below 1 or above 5) causes rejection","Sora 2 Pro model backend unavailable returns 503 or timeout","Prompt exceeds 10,000 character limit returns 400"],"whenToPreferThis":"Choose this endpoint when you need to generate AI video using OpenAI's Sora 2 Pro model on a pay-per-call basis with no subscription required. Prefer it over subscription-based video generation services when cost-per-call billing fits the use case, or when the agent needs to use Sora 2 Pro specifically. Use when the output is a video (not a static image) and when async job-based delivery is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:14.158Z","isFirstParty":false}