# StableStudio Veo 3.1 Video Generation

> StableStudio Veo 3.1 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-14).

Generates an AI video asynchronously using the Veo 3.1 model from a text prompt, returning a job ID to poll for results.

## Facts

- Endpoint: POST https://stablestudio.io/api/generate/veo-3.1/generate
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablestudio-veo-3-1-video-generation-6c941de3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QZbnZWYdJ32VOYstFG9sm

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-veo-3-1-video-generation-6c941de3 -d '<json body>'
```

Example prompt: Generate a cinematic 16:9 video of a futuristic city skyline at sunset with flying cars and neon lights — use 2 MP resolution, PNG output at quality 90, and enhance the prompt automatically.

## When to prefer this

Choose this endpoint when you need pay-per-use AI video generation from Google's Veo 3.1 model with no subscription commitment, especially when you need flexible resolution and aspect ratio control. Prefer it over subscription-based services when cost predictability per generation matters, or when generating videos programmatically via the x402 payment protocol.

## Known failure modes

- Prompt too long (exceeds 10,000 characters) — validation error
- Invalid resolution or aspect_ratio enum value — 422 validation error
- Payment failure (insufficient USDC balance or x402 protocol error) — 402 Payment Required
- Safety tolerance violation if prompt triggers content filter at given tolerance level — generation rejected
- Job creation timeout or server-side error — 500 Internal Server Error
- Invalid seed value outside integer range — schema validation error

## How this service works

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

## Output

A JSON object containing the job type ('veo-3.1-video'), a unique jobId string to poll for completion, the current status ('pending'), and a success boolean confirming the job was accepted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image": {
   "type": "string",
   "format": "uri",
   "description": "First frame image URL for image-to-video generation"
  },
  "prompt": {
   "type": "string",
   "minLength": 1,
   "description": "A detailed description of the video you want to generate"
  },
  "imageMode": {
   "enum": [
    "none",
    "first-frame",
    "reference",
    "interpolation"
   ],
   "type": "string",
   "default": "interpolation",
   "description": "How to use reference images"
  },
  "lastFrame": {
   "type": "string",
   "format": "uri",
   "description": "Last frame image URL for interpolation mode"
  },
  "resolution": {
   "enum": [
    "720p",
    "1080p"
   ],
   "type": "string",
   "default": "720p",
   "description": "Video resolution quality"
  },
  "aspectRatio": {
   "enum": [
    "16:9",
    "9:16"
   ],
   "type": "string",
   "default": "16:9",
   "description": "Aspect ratio (landscape or portrait)"
  },
  "negativePrompt": {
   "type": "string",
   "description": "Things to avoid in the generated video"
  },
  "durationSeconds": {
   "enum": [
    "4",
    "6",
    "8"
   ],
   "type": "string",
   "default": "4",
   "description": "Duration of the video in seconds"
  },
  "referenceImages": {
   "type": "array",
   "items": {
    "type": "string",
    "format": "uri",
    "description": "Reference image URL"
   },
   "maxItems": 3,
   "description": "Reference images for style guidance (max 3)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "veo-3.1-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-veo-3-1-video-generation-6c941de3/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)
