{"uid":"cap_Te7WzGlITc_3njTBueZrR","slug":"stablestudio-generate-5a19527d","name":"StableStudio Sora 2 Pro Video Generation","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.dev/api/generate/sora-2-pro/generate?utm_source=zero.xyz","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":["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":2,"rating":{"score":"0.46","successRate":"0.33","reviews":2,"stars":"2.8","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_nV50eXXMwpCcMPK1JlDZ3","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_H_sKsTpph5iEaGEP7efhK","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 Sora 2 Pro from a text prompt or reference image, returning a job ID for async retrieval","exampleAgentPrompt":"Generate a 8-second landscape video (1280x720) of a golden retriever running through a sunlit wheat field at sunset, slow motion, cinematic style.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success=true, a jobId string, status='pending', and a type field — the agent must poll separately using the jobId to retrieve the completed video once Sora 2 Pro finishes rendering.","failureModes":["Invalid or empty prompt — 400 validation error","Unsupported resolution or duration enum value — 400 schema validation error","Invalid reference image URL format — 400 URI validation error","Payment not provided or insufficient USDC — 402 payment required","Service overload or Sora API unavailability — 503 or timeout","Job created but video generation fails asynchronously — job status reflects failure on polling"],"whenToPreferThis":"Choose this endpoint when you specifically need Sora 2 Pro quality video generation — OpenAI's flagship video model — with support for 720p or 1080p resolutions, durations of 4/8/12 seconds, portrait or landscape orientation, and optional image-to-video from a reference image. Prefer over Veo or Seedance alternatives when Sora's cinematic quality and OpenAI's generation style is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-06-10T14:54:33.107Z","lastSuccessfullyRanAt":"2026-05-27T17:28:47.372Z","lastHealthCheckAt":"2026-10-12T17:51:47.242Z","isFirstParty":false,"canonicalSlug":"stablestudio-generate-5a19527d"}