# ApexAPI AI Poem Generator

> ApexAPI AI Poem Generator is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.068102/call, status unknown (last checked 2026-10-11).

Generates a creative poem based on a text query or topic prompt, paid per call in USDC on Base via x402

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/poem?utm_source=zero.xyz
- Price: $0.068102/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-poem-generator-0fbff4e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cIwy8R-W4hl9beTVdDek-

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 apexapi-ai-poem-generator-0fbff4e5 -d '<json body>'
```

Example prompt: Can you write me a short creative poem about the changing seasons and the feeling of nostalgia that comes with autumn?

## When to prefer this

Choose this endpoint when you need quick, pay-per-call AI poem generation without managing API keys, especially in a crypto-native or x402 payment context on Base. Ideal for agents that need occasional one-off creative poem generation without committing to a subscription.

## Known failure modes

- Empty or missing query field returns a 400 or generic error
- Payment of 0.068102 USDC not received results in 402 Payment Required
- Overly vague or very short query may produce a generic or low-quality poem
- Rate limits or server errors on the upstream AI model return 500
- Malformed JSON request body returns validation error

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a generated poem as text, crafted around the input topic or query. The response object contains the AI-composed verse ready for use in messages, cards, or creative projects.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-ai-poem-generator-0fbff4e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
