# GlianaAI Grok Imagine Video — Text-to-Video Generation

> GlianaAI Grok Imagine Video — Text-to-Video Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.5075/call, status unknown (last checked 2026-09-13).

Generates a video from a text prompt using Grok's image-to-video model, billed at $0.525 USDC per call via x402 micropayment protocol

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/grok-imagine-video
- Price: $0.5075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-grok-imagine-video-text-to-video-generation-658aeefb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XEyLw9vDYLHagtAMHRNeC

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 glianaai-grok-imagine-video-text-to-video-generation-658aeefb
```

Example prompt: Use GlianaAI's Grok video endpoint to generate a short video of a futuristic city skyline at sunset with flying cars and neon lights.

## When to prefer this

Choose this endpoint when you specifically want video generation using xAI's Grok model and need a pay-per-call model with no API key or subscription required. Prefer this over other video generation endpoints when your agent is already using the x402/USDC payment flow on GlianaAI's platform or when you want Grok's specific video style without committing to a monthly plan.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — payment authorization error returned
- Invalid or empty prompt — 400 validation error
- Model temporarily unavailable — 503 or upstream timeout
- Prompt violates content policy — content filter rejection
- Malformed request body missing required 'prompt' field — 422 unprocessable entity

## How this service works

One endpoint for 60+ generative AI models — image, video, audio, music, speech. Your agent pays per request in USDC on Tempo, Base, or Solana. No signup, no API key, settled via MPP and x402.

## Output

Returns a JSON object with the model name ('grok-imagine-video'), an output object containing the generated video URL or media result, and the amount charged in micro-USD (costMicroUsd).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "grok-imagine-video",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-grok-imagine-video-text-to-video-generation-658aeefb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
