# StableStudio Grok Video Generate

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

Generates AI videos using Grok Video from a text prompt or reference image, returning a job ID for async retrieval

## Facts

- Endpoint: POST https://stablestudio.dev/api/generate/grok-video/generate?utm_source=zero.xyz
- Price: $10/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- 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-88c83187
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__NbDkejgHyRv7GYqXo25G

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

Example prompt: Can you generate a 6-second, 720p, 16:9 video of a cinematic timelapse of storm clouds forming over a mountain range at sunset using Grok Video?

## When to prefer this

Choose this endpoint when you specifically want Grok Video (xAI's model) for video generation. Prefer it over Sora, Veo, or Seedance endpoints when the user requests Grok-style video generation or wants xAI's model. Also suitable for image-to-video workflows where a reference image URL is provided alongside a prompt.

## Known failure modes

- Missing required prompt field returns validation error
- Invalid enum value for duration, resolution, or aspect_ratio returns 400
- Invalid image URL format returns validation error
- Payment not included or insufficient USDC balance returns 402
- Server-side generation failure returns error status
- Job creation may time out under heavy load

## 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 to poll for completion, a status of 'pending', and a type field indicating the job type. The actual video is retrieved separately using the jobId.

## Example request

```json
{
 "prompt": "A serene landscape showing a gentle waterfall flowing into a crystal clear pool surrounded by lush green forest, with soft golden sunlight filtering through the trees at golden hour"
}
```

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