# PrimeAPI AI Poem Generator

> PrimeAPI AI Poem Generator is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.068102/call, status unknown (last checked 2026-09-15).

Generates an original poem based on a text query or topic provided by the user

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/poem
- Price: $0.068102/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ai-poem-generator-45f8ce54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vvA6Z-wd6jFmxA3j7yecl

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 primeapi-ai-poem-generator-45f8ce54 -d '<json body>'
```

Example prompt: Write me an original poem about the bittersweet feeling of watching summer turn into autumn — something reflective and a little melancholic.

## When to prefer this

Choose this endpoint when you need on-demand AI-generated poetry without managing API keys, paying a small flat fee per call in USDC on Base. Useful for agents that need to produce creative poetic content programmatically as part of a workflow.

## Known failure modes

- Empty or missing query field returns an error
- Overly vague queries may produce generic output
- Payment failure (402) if USDC balance is insufficient
- Rate limiting or server errors from the Vercel deployment
- Response schema is loosely defined so output structure may vary

## 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, composed by an AI model based on the input query or topic provided. The response object contains the poem content tailored to the user's prompt.

## 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/primeapi-ai-poem-generator-45f8ce54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
