# StableStudio Veo 3.1 Video Generation

> StableStudio Veo 3.1 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 Google's Veo 3.1 model from a text prompt, with optional first-frame, last-frame, or reference images, returning a job ID for async retrieval.

## Facts

- Endpoint: POST https://stablestudio.dev/api/generate/veo-3.1/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: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 6
- 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-66726256
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CwQ6XuTEvgIZz-sxNLbDy

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-66726256 -d '<json body>'
```

Example prompt: Generate a 6-second 1080p landscape video of a bustling Tokyo street at night with neon lights reflecting off wet pavement, cinematic atmosphere — use Veo 3.1 and avoid any blurry or overexposed shots.

## When to prefer this

Choose this endpoint when you need high-quality AI video generation powered by Google's Veo 3.1 model specifically, especially when you want support for first-frame image conditioning, last-frame interpolation, or reference-image style guidance alongside a text prompt. Prefer this over other StableStudio video endpoints (Seedance, Wan) when Veo 3.1 quality or Google's video model characteristics are desired.

## Known failure modes

- Missing required 'prompt' field returns a 400 validation error
- Invalid image URL format for 'image' or 'lastFrame' fields causes a 422 error
- Unsupported enum value for resolution, aspectRatio, durationSeconds, or imageMode returns a validation error
- Payment failure or insufficient USDC balance returns a 402 Payment Required
- Service unavailability or model overload may return a 503 error
- Prompt violates content policy and is rejected with a 400 or 403 error

## 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 type='veo-3.1-video'. The job ID must be polled separately to retrieve the completed video URL once rendering is done.

## Example request

```json
{
 "prompt": "A serene landscape showing a calm lake at sunset with mountains in the background, golden hour lighting, peaceful and tranquil atmosphere",
 "resolution": "720p",
 "aspectRatio": "16:9",
 "durationSeconds": "4"
}
```

## 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-generate-66726256/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)
