# MemChat AI Video Generation

> MemChat AI Video Generation is a paid API for AI agents from chat-api.memchat.io, paid per call via x402, $0.945001/call, status unknown (last checked 2026-10-21).

Generates AI video from a prompt using Base USDC payment via x402, returning a status URL to poll for the result

## Facts

- Endpoint: POST https://chat-api.memchat.io/api/v1/x402/video-gen?utm_source=zero.xyz
- Price: $0.945001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/memchat-ai-video-generation-6bc37642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TG1SvR8jqApNxapI5C9RY

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 memchat-ai-video-generation-6bc37642 -d '<json body>'
```

Example prompt: Generate a 10-second AI video of a futuristic cityscape at sunset at 1080p resolution — use the highest quality model available.

## When to prefer this

Choose this endpoint when you need to programmatically generate AI video content and are already working within a Base/USDC payment workflow using the x402 protocol. It is well-suited for agents that need batch or async video generation where polling is acceptable, and when you want a simple pay-per-call model without subscription overhead.

## Known failure modes

- Insufficient USDC balance — payment fails and video is not queued
- Invalid model selection — returns an error if an unsupported model name is specified
- Duration or resolution out of supported range — returns a validation error
- Polling URL returns pending indefinitely if generation server is overloaded
- Network timeout during the initial POST request before a status URL is returned

## How this service works

Generate AI video with Base USDC. Price depends on model, duration, and resolution. Returns a free status URL to poll.

## Output

Returns a status poll URL that the agent can repeatedly query to check on the video generation job; once complete, the URL resolves to the generated video file or a download link. The response includes the job ID and the polling endpoint path.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "taskId": "example-task-id",
  "provider": "atlas",
  "requestId": null,
  "statusUrl": "https://chat-api.memchat.io/api/v1/x402/video-gen/status?provider=atlas&taskId=example-task-id"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/memchat-ai-video-generation-6bc37642/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat-api.memchat.io](https://www.zero.xyz/host/chat-api.memchat.io/llms.txt)
