# StableStudio Sora 2 Pro Video Generation

> StableStudio Sora 2 Pro Video Generation is a paid API for AI agents from stablestudio.io, paid per call via x402, $10/call, status unknown (last checked 2026-09-13).

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.

## Facts

- Endpoint: POST https://stablestudio.io/api/generate/sora-2-pro/generate
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablestudio-sora-2-pro-video-generation-3c59dae8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IKOAJ6nSBNQA2C-LjmpA0

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-sora-2-pro-video-generation-3c59dae8 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## 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-sora-2-pro-video-generation-3c59dae8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablestudio.io](https://www.zero.xyz/host/stablestudio.io/llms.txt)
