# NexusAPI AI Image Generation

> NexusAPI AI Image Generation is a paid API for AI agents from nexus-api-virid.vercel.app, paid per call via x402, $0.112432/call, status unknown (last checked 2026-10-10).

Generates AI images from a text prompt, payable per call in USDC on Base with no API key required.

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/ai/image/generate?utm_source=zero.xyz
- Price: $0.112432/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-image-generation-3eac3600
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PhpZVHyTtDqceLRQB6B0d

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-generation-3eac3600 -d '<json body>'
```

Example prompt: Generate an image of a futuristic city skyline at sunset with neon lights reflecting off wet streets.

## When to prefer this

Choose this endpoint when you need pay-per-call AI image generation with no API key setup, especially in agentic workflows that use x402 micropayments in USDC on Base. It is ideal for agents that need to generate images on demand without managing subscription credentials.

## Known failure modes

- Empty or missing query string returns an error or blank result
- Vague or ambiguous prompts may yield low-quality or unexpected images
- Payment failure in USDC on Base will block the request
- Rate limiting or capacity issues on the backend model may cause timeouts
- Prompt policy violations (e.g. NSFW content) may result in rejection

## 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 generated image, typically as a URL or base64-encoded image data, produced by an AI image generation model based on the provided text 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/nexusapi-ai-image-generation-3eac3600/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
