# StableStudio Sora 2 Pro Video Generation

> StableStudio Sora 2 Pro Video Generation is a paid API for AI agents from StableStudio at stablestudio.dev, paid per call via MPP or x402, $10/call, status unknown (last checked 2026-10-12, last successful call 2026-05-27).

Generates AI videos using Sora 2 Pro from a text prompt or reference image, returning a job ID for async retrieval

## Facts

- Endpoint: POST https://stablestudio.dev/api/generate/sora-2-pro/generate?utm_source=zero.xyz
- Price: $10/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-12
- Last successful call: 2026-05-27
- Success rate: 33% of calls made through Zero
- Rating: 2.8 / 5 from 2 reviews
- Activations on Zero: 3
- Provider: StableStudio
- Docs: https://stablestudio.dev
- Website: https://stablestudio.dev
- Tags: image, video, generation, nano-banana, gpt-image, grok, flux, sora, veo, seedance, wan, ai, media, x402
- Canonical page: https://www.zero.xyz/c/stablestudio-generate-5a19527d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Te7WzGlITc_3njTBueZrR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablestudio-generate-5a19527d -d '<json body>'
```

Example prompt: Generate a 8-second landscape video (1280x720) of a golden retriever running through a sunlit wheat field at sunset, slow motion, cinematic style.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-generation AI image and video creation. No subscriptions ever.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "sora-2-pro-video",
  "jobId": "cmpbmzaee000j04jrzx4f43tw",
  "status": "pending",
  "pollUrl": "https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw",
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablestudio-generate-5a19527d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablestudio.dev](https://www.zero.xyz/host/stablestudio.dev/llms.txt)
