Docs/Video Generation
DocsVideo Generation
Pro

Video Generation

Generate videos from text prompts in your apps using the Sora 2 model — submit a prompt, poll for status, and get a video URL.

Video generation requires the Pro plan or higher.

What is Video Generation

Video generation lets your GenMB apps create videos from text prompts using the Sora 2 model via Azure OpenAI. Users of your deployed app can submit a prompt and receive a generated video — all powered by the SDK that the AI integrates into your app automatically.

  • Powered by the Sora 2 model from OpenAI, hosted on Azure for reliability and scale.
  • Available as a service SDK in generated apps — the AI can integrate video generation into any app.
  • Videos are generated asynchronously. Submit a prompt, poll for status, and retrieve the video URL when ready.

Pro Plan Required

Video generation is not available on the Free plan. Requests from apps owned by Free plan users will return a 403 Forbidden response. Upgrade to Pro or Business to enable video generation in your apps.

How to Use

Video generation is available through the SDK in generated apps. The workflow is asynchronous — you submit a prompt, poll for completion, and display the resulting video.

1

Submit a text prompt

Describe the video you want to generate. The prompt should be specific about the scene, style, and content you want in the video.
2

Receive a job ID

The API returns a job ID immediately. The video is processed in the background while your app continues running.
3

Poll for status

Use the job ID to check the status endpoint. The job transitions through states: pending, processing, and completed.
4

Retrieve and display the video

Once the status is “completed”, the response includes a video URL. Display it in your app or offer it as a download.
The AI can wire this entire flow into your generated app automatically. When you describe a video generation feature in your app prompt, GenMB integrates the SDK, polling logic, and video display for you.

Rate Limits

Video generation is resource-intensive and subject to rate limits to ensure fair usage across all apps.

Rate Limit Details

  • 5 requests per app per hour — rolling window, resets continuously.
  • 20 requests per app per day — rolling 24-hour window.
  • Per-app enforcement — all users of a deployed app share the same quota.
  • 429 responses — exceeding the limit returns a 429 Too Many Requests with a retry-after header.
Rate limits are enforced per app, not per user. If your app has many users, they collectively share the 5/hour and 20/day limits. Plan your UI accordingly — consider showing remaining quota or disabling the generation button when limits are reached.

Plan Requirements

Video generation is a premium feature available only on paid plans. Plan enforcement is checked both when the app owner generates code with video features and at the API proxy level when end users make requests.

Pro

Full access to video generation with the standard rate limits (5/hour, 20/day per app).

Business

Full access to video generation with the standard rate limits (5/hour, 20/day per app).

Free

Video generation is not available. Requests will return a 403 Forbidden response.

FAQs

What model is used for video generation?
Video generation uses the Sora 2 model from OpenAI, hosted on Azure OpenAI. This model generates videos from text descriptions and is optimized for creative content generation.
How long does it take to generate a video?
Video generation typically takes between 30 seconds and a few minutes depending on the complexity of the prompt and current system load. The API returns a job ID immediately, and you poll for completion.
Can users of my deployed app generate videos?
Yes. If your app includes video generation functionality, users of your deployed app can generate videos through the SDK. The rate limits (5/hour, 20/day) are shared across all users of a single app.
What happens if I exceed the rate limit?
You will receive a 429 Too Many Requests response. The response includes a retry-after header indicating when you can make the next request. Rate limits reset on a rolling window basis.

Ready to build?

Create your first app for free — no credit card required.