# ApexAPI AI Story Generator

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

Generates an AI-written story based on a text query or prompt input

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/story?utm_source=zero.xyz
- Price: $0.184752/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-story-generator-1af050b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gIRnEQHMQ1j-AsvJ2Kdae

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-story-generator-1af050b2 -d '<json body>'
```

Example prompt: Write me a short story about a young wizard who discovers a hidden library beneath their school — make it mysterious and adventurous.

## When to prefer this

Choose this endpoint when you need to quickly generate a short creative story or narrative from a text prompt without managing API keys, paying per call in USDC. Best for on-demand story generation in agent workflows where no persistent account is needed.

## Known failure modes

- Empty or missing query field returns an error response
- Vague or very short prompts may produce low-quality or generic output
- Rate limiting or payment failure may block the request
- Ambiguous prompts without clear story elements may yield unfocused narratives

## 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 an AI-generated story or narrative text based on the provided query or prompt, wrapped in a generic API response object.

## 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-story-generator-1af050b2/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)
