# Recoup AI Image Generator

> Recoup AI Image Generator is a paid API for AI agents from recoup-api-git-sweetmantech-myc-3575-ffb88f-recoupable-ad724970.vercel.app, paid per call via x402, $0.15/call, status down (last checked 2026-08-24).

Generates an AI-created image from a user-supplied text prompt, billed per call via x402 micropayment

## Facts

- Endpoint: POST https://recoup-api-git-sweetmantech-myc-3575-ffb88f-recoupable-ad724970.vercel.app/api/x402/image/generate?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: down
- Last checked: 2026-08-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/recoup-ai-image-generator-64009f58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_41NRkAPar4jpGFVDUbRpV

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 recoup-ai-image-generator-64009f58 -d '<json body>'
```

Example prompt: Generate an AI image of a futuristic cyberpunk cityscape at night with neon lights reflecting off wet cobblestone streets.

## When to prefer this

Choose this endpoint when you need to generate a novel image from a text description via a pay-per-call micropayment model using x402/USDC, particularly in agentic or automated workflows where per-request crypto billing is preferred over subscription APIs.

## Known failure modes

- Empty or missing prompt returns a 400 Bad Request error
- Insufficient USDC balance or failed x402 payment returns a 402 Payment Required error
- Prompt contains disallowed or unsafe content resulting in a content policy rejection
- Service timeout if the AI generation backend is under heavy load
- Malformed request body returns a 422 Unprocessable Entity error

## How this service works

Generate an image from a text prompt using AI

## Output

Returns an AI-generated image based on the provided text prompt — likely as an image URL, base64-encoded binary, or direct image data, ready for display or download.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "prompt": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/recoup-ai-image-generator-64009f58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from recoup-api-git-sweetmantech-myc-3575-ffb88f-recoupable-ad724970.vercel.app](https://www.zero.xyz/host/recoup-api-git-sweetmantech-myc-3575-ffb88f-recoupable-ad724970.vercel.app/llms.txt)
