# NexusAPI AI Story Generator

> NexusAPI AI Story Generator is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.184752/call, status unknown (last checked 2026-10-20).

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

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/ai/story?utm_source=zero.xyz
- Price: $0.184752/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-story-generator-d97a3598
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YxCEUW0mJCBbDDQ6E7ffW

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 nexusapi-ai-story-generator-d97a3598 -d '<json body>'
```

Example prompt: Write me a short story about a lonely lighthouse keeper who discovers a mysterious message in a bottle washed ashore during a storm.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call AI story generation capability without managing API keys, particularly useful for agents operating on the Base blockchain with USDC payments via the x402 protocol.

## Known failure modes

- Empty or missing query parameter returns an error
- Overly vague or very short queries may produce generic output
- Payment failure (402) if USDC balance is insufficient
- Rate limiting or server errors from the underlying AI provider
- Content policy violations may cause refusal or truncated output

## 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 based on the input query, delivered as a JSON response object containing the generated text content.

## 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/nexusapi-ai-story-generator-d97a3598/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
