# CortexCloud Video Generation API

> CortexCloud Video Generation API is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-13).

Generates AI videos from a text prompt using an OpenAI-compatible interface, paid per call in USDC via x402

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/videos/generations
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortexcloud-video-generation-api-dda94e2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SjS-fnHxG3mz52sLJn5nD

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 cortexcloud-video-generation-api-dda94e2c
```

Example prompt: Generate a video of a golden retriever running through a sunlit meadow at sunset using the default video model.

## When to prefer this

Choose this endpoint when you need text-to-video generation without managing API keys or subscriptions — ideal for agents that want pay-per-call simplicity using USDC on Base. Prefer it over hosted video APIs when you want OpenAI-compatible interfaces with crypto-native payment rails and no upfront commitment.

## Known failure modes

- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Invalid or unsupported model name returns a 400 or model-not-found error
- Empty or malformed prompt may result in a generation error or poor-quality output
- Service timeout for long video generation jobs
- Empty response object if the model returns no result

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

A JSON response containing the generated video output or a reference/URL to the generated video, returned after the model processes the text prompt. The exact structure depends on the model used, but follows an OpenAI-compatible response format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortexcloud-video-generation-api-dda94e2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
