# StableStudio Grok Video Generation

> StableStudio Grok 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-15).

Submits a pay-per-generation AI video creation job using a text prompt, returning a job ID for async retrieval

## Facts

- Endpoint: POST https://stablestudio.io/api/generate/grok-video/generate
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablestudio-grok-video-generation-21f3d3a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_73r-7G7nAU0alHgNCfsG_

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-grok-video-generation-21f3d3a0 -d '<json body>'
```

Example prompt: Generate a video of a golden retriever running through a sunlit field of wildflowers at sunset — use 16:9 aspect ratio, 2 MP resolution, and enhance the prompt for more creative results.

## When to prefer this

Choose this endpoint when the user wants to generate a video from a text prompt on a pay-per-call basis without a subscription, specifically using the Grok video model. Prefer over image endpoints when video output is explicitly required. Best suited for async workflows where the caller can handle a jobId and poll for completion.

## Known failure modes

- Invalid or empty prompt returns validation error
- Unsupported resolution or aspect ratio enum value causes 400 error
- Insufficient payment or payment failure (x402 protocol) blocks job submission
- Safety tolerance exceeded for content policy — job rejected
- Job submission succeeds but downstream generation fails, requiring status polling to detect

## How this service works

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

## Output

A JSON object containing the job ID (e.g. 'cmpbmzaee000j04jrzx4f43tw'), status ('pending'), generation type ('grok-video-generate'), and a success boolean. The agent must poll or check a separate endpoint using the jobId to retrieve the completed video.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image": {
   "type": "string",
   "format": "uri",
   "description": "Optional reference image URL for image-to-video generation"
  },
  "prompt": {
   "type": "string",
   "maxLength": 8000,
   "minLength": 1,
   "description": "A detailed description of the video you want to generate"
  },
  "duration": {
   "enum": [
    "3",
    "6",
    "9",
    "12",
    "15"
   ],
   "type": "string",
   "default": "6",
   "description": "Duration of the video in seconds"
  },
  "resolution": {
   "enum": [
    "480p",
    "720p"
   ],
   "type": "string",
   "default": "720p",
   "description": "Video resolution"
  },
  "aspect_ratio": {
   "enum": [
    "1:1",
    "16:9",
    "9:16",
    "4:3",
    "3:4",
    "3:2",
    "2:3"
   ],
   "type": "string",
   "default": "16:9",
   "description": "Aspect ratio of the output video"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "grok-video-generate",
  "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-grok-video-generation-21f3d3a0/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)
