# OkayPic AI Video Generator

> OkayPic AI Video Generator is a paid API for AI agents from api.okaypic.com, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-31).

Submits a video generation request to OkayPic, returning a task ID and pending status for async retrieval

## Facts

- Endpoint: POST https://api.okaypic.com/api/video/generate?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/okaypic-ai-video-generator-3c806f70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3eNE-iJ6_SHAh5EZjP4TE

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 okaypic-ai-video-generator-3c806f70 -d '<json body>'
```

Example prompt: Can you generate a short AI video clip of a golden retriever running through a sunlit meadow at sunset? Use the best available model on OkayPic and kick off the job so I can grab the result when it's ready.

## When to prefer this

Choose this endpoint when you need to generate AI video content using a variety of top-tier models (MiniMax H3, Seedance, Veo) from a single pay-as-you-go API without committing to a subscription. It's ideal for agents that need to produce video programmatically at low per-second cost, especially when model flexibility and async job handling are acceptable. Prefer this over single-model APIs when you want model selection flexibility or are building a pipeline that uses multiple generative modalities.

## Known failure modes

- Missing or malformed request body returns validation error
- Invalid model selection or unsupported parameter may cause job failure
- Payment not processed (x402 payment required before job is queued)
- Task ID returned but generation fails asynchronously — must poll status endpoint to detect failure
- Rate limits or server-side queue saturation may delay or reject requests

## How this service works

Every top AI video and image model in one place, pay as you go. Video from $0.007/s, images from $0.02. Turn a script into a short drama with Flow.

## Output

Returns a JSON object with a taskId for polling the generation result, a status field set to 'pending' indicating the job is queued for asynchronous processing, and an apiKey field (only included on the first payment/call) for subsequent authenticated requests.

## 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"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "const": "POST"
    },
    "bodyType": {
     "const": "json"
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "apiKey": "okpk_… (first payment only)",
  "status": "pending",
  "taskId": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/okaypic-ai-video-generator-3c806f70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.okaypic.com](https://www.zero.xyz/host/api.okaypic.com/llms.txt)
