# NexusAPI AI Image Generator

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

Generates images from a text query or prompt using AI, paid per call in USDC on Base

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/ai/image/generate
- Price: $0.192696/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-image-generator-8f75f0ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sj_EpJw_BOkCnAEogh0FA

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-image-generator-8f75f0ed -d '<json body>'
```

Example prompt: Generate an image of a futuristic city skyline at sunset with flying cars and neon lights — use the NexusAPI image generator and pay per call.

## When to prefer this

Use this endpoint when you need AI-generated images on a pay-per-call basis without managing API keys, and you are operating in an environment that supports x402 USDC payments on Base. Good for agents that need occasional image generation without a subscription.

## Known failure modes

- Invalid or missing query parameter returns an error response
- Insufficient USDC payment results in 402 Payment Required
- Prompt violates content policy and is rejected
- Underlying image generation model times out or is unavailable
- Malformed request body causes a 400 Bad Request

## 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 API response object containing the AI-generated image, likely as a URL or base64-encoded image data, based on the input text prompt provided.

## 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-image-generator-8f75f0ed/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)
