{"uid":"cap__NbDkejgHyRv7GYqXo25G","slug":"stablestudio-generate-88c83187","name":"StableStudio Grok Video Generate","description":"Pay-per-generation AI image and video creation. No subscriptions ever.","url":"https://stablestudio.dev/api/generate/grok-video/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image":{"type":"string","format":"uri","description":"Optional reference image URL for image-to-video generation"},"prompt":{"type":"string","maxLength":8000,"minLength":1,"description":"A detailed description of the video you want to generate"},"duration":{"enum":["3","6","9","12","15"],"type":"string","default":"6","description":"Duration of the video in seconds"},"resolution":{"enum":["480p","720p"],"type":"string","default":"720p","description":"Video resolution"},"aspect_ratio":{"enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"type":"string","default":"16:9","description":"Aspect ratio of the output video"}}},"responseSchema":{"type":"json","example":{"type":"grok-video-generate","jobId":"cmpbmzaee000j04jrzx4f43tw","status":"pending","pollUrl":"https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw","success":true}},"example":{"request":{"prompt":"A serene landscape showing a gentle waterfall flowing into a crystal clear pool surrounded by lush green forest, with soft golden sunlight filtering through the trees at golden hour"},"response":{"type":"grok-video-generate","jobId":"cmpq8xhhh000b04k0ykk88yh5","status":"pending","success":true}},"exampleRequest":{"prompt":"A serene landscape showing a gentle waterfall flowing into a crystal clear pool surrounded by lush green forest, with soft golden sunlight filtering through the trees at golden hour"},"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":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":"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_FcArqUc6t9EFdaJg7NJq3","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_tHBelzsNEMLWi4sMS3ChK","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 Grok Video from a text prompt or reference image, returning a job ID for async retrieval","exampleAgentPrompt":"Can you generate a 6-second, 720p, 16:9 video of a cinematic timelapse of storm clouds forming over a mountain range at sunset using Grok Video?","exampleUseCases":null,"resultDescription":"Returns a JSON object with success=true, a jobId string to poll for completion, a status of 'pending', and a type field indicating the job type. The actual video is retrieved separately using the jobId.","failureModes":["Missing required prompt field returns validation error","Invalid enum value for duration, resolution, or aspect_ratio returns 400","Invalid image URL format returns validation error","Payment not included or insufficient USDC balance returns 402","Server-side generation failure returns error status","Job creation may time out under heavy load"],"whenToPreferThis":"Choose this endpoint when you specifically want Grok Video (xAI's model) for video generation. Prefer it over Sora, Veo, or Seedance endpoints when the user requests Grok-style video generation or wants xAI's model. Also suitable for image-to-video workflows where a reference image URL is provided alongside a prompt.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:31:09.118Z","isFirstParty":false,"canonicalSlug":"stablestudio-generate-88c83187"}