# OmniAPI AI Poem Generator

> OmniAPI AI Poem Generator is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.047399/call, status unknown (last checked 2026-09-14).

Generates an original poem based on a text query or prompt using AI

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/poem
- Price: $0.047399/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-poem-generator-c3230626
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8-vhrNj-LI-_lfqdwvVJR

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 omniapi-ai-poem-generator-c3230626 -d '<json body>'
```

Example prompt: Write me an original poem about the fleeting beauty of autumn leaves changing color — make it contemplative and about 12 lines long.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call AI poem generation without setting up your own LLM pipeline. Ideal for agents that need occasional creative text generation billed in USDC via x402 without API key management. Best for lightweight, on-demand poetry generation integrated into crypto-native or multi-chain workflows.

## Known failure modes

- Missing required 'query' field returns a validation error
- Overly vague or empty query may produce generic or low-quality output
- Payment failure via x402 returns HTTP 402 before poem is generated
- Server errors on the Vercel deployment may return 500 with no poem
- Rate limiting or credit exhaustion may block responses

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

A generated poem as text, composed by AI based on the provided query or topic prompt. The response is an object containing the poem content returned as a string or structured field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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