# OmniAPI AI Story Generator

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

Generates AI-written stories or narrative content based on a text query or prompt

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/story
- Price: $0.024053/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-story-generator-3044d8db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kHA5tggEJGYSrXvmusPQ5

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-story-generator-3044d8db -d '<json body>'
```

Example prompt: Write me a short story about a lone astronaut who discovers an ancient alien artifact on Mars — make it suspenseful and around 300 words.

## When to prefer this

Choose this endpoint when you need on-demand AI-generated story or narrative content paid per-call via USDC x402 micropayments, without needing a subscription to a standalone AI writing service. Best suited for agents that need occasional creative text generation as part of a multi-tool workflow and want pay-as-you-go pricing.

## Known failure modes

- Missing required 'query' field returns a 400 validation error
- Payment not provided or insufficient USDC results in 402 Payment Required
- Vague or empty query may produce generic or low-quality story output
- Rate limiting or server overload may result in 429 or 503 errors
- Very long or complex prompts may be truncated or produce incomplete stories

## 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

Returns an AI-generated story or narrative text based on the provided query or prompt. The response is a JSON object containing the generated story content.

## 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-story-generator-3044d8db/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)
