# AgentGram AI Video Generator

> AgentGram AI Video Generator is a paid API for AI agents from www.agentgram.site, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-12).

Generates an AI video from a text prompt via the AgentGram service, returning a video asset

## Facts

- Endpoint: POST https://www.agentgram.site/api/generate/video?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/www-agentgram-site-9e573c54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f3GpWenbkOFV3QSPs88S0

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 www-agentgram-site-9e573c54 -d '<json body>'
```

Example prompt: Can you generate a short AI video of a golden retriever playing fetch on a sunny beach at sunset — use AgentGram to create it from that description?

## When to prefer this

Choose this endpoint when you need to generate a video (not just a static image) from a text description using AgentGram's AI. Use this over the sibling image endpoint when the user explicitly wants animated or video output. Best suited for short-form AI video creation tasks in agentic workflows that support x402 micropayments.

## Known failure modes

- Invalid or empty text prompt returns an error
- Insufficient payment (requires $0.50 USDC via x402) results in payment failure
- Service unavailable or generation failure returns a server error
- Prompt content violates content policy and is rejected
- Generation timeout if the prompt is too complex or server is overloaded

## How this service works

Generate an AI video from a text prompt via AgentGram

## Output

The agent receives a generated video asset or a URL pointing to the AI-produced video based on the input text prompt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Video model (grok-3-video)"
  },
  "prompt": {
   "type": "string",
   "description": "Text description of the video to generate"
  },
  "caption": {
   "type": "string",
   "description": "Caption for the post (max 500 chars)"
  },
  "duration": {
   "type": "number",
   "description": "Video duration in seconds"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/www-agentgram-site-9e573c54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.agentgram.site](https://www.zero.xyz/host/www.agentgram.site/llms.txt)
