# Recoup AI Image Generator

> Recoup AI Image Generator is a paid API for AI agents from recoup-api-git-sweetmantech-myc-3552-32e6b7-recoupable-ad724970.vercel.app, paid per call via x402, $0.01111/call, status unknown (last checked 2026-10-10).

Generates an image from a text prompt using AI, accessible via x402 micropayment protocol

## Facts

- Endpoint: GET https://recoup-api-git-sweetmantech-myc-3552-32e6b7-recoupable-ad724970.vercel.app/api/x402/image/generate?utm_source=zero.xyz
- Price: $0.01111/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/recoup-ai-image-generator-17b79672
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D6lilTz_VpHFqiz46-I6T

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-17b79672
```

Example prompt: Generate an AI image of a futuristic cityscape at night with neon lights reflecting off wet streets and a full moon in the sky.

## When to prefer this

Use this endpoint when you need to generate an image from a text description and are operating in an x402 micropayment-enabled environment. It costs only $0.01111 USDC per call, making it suitable for low-cost, high-volume image generation workflows. Prefer this when you want quick AI image generation without a subscription or API key — just pay per use.

## Known failure modes

- Empty or missing prompt returns a 400 bad request error
- Payment not provided or insufficient USDC causes a 402 payment required response
- Prompt violates content policy and is rejected
- Service timeout if image generation takes too long
- Invalid or expired x402 payment token

## 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 or base64-encoded image data.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "usage": {
   "type": "object",
   "description": "Token usage information for the image generation"
  },
  "images": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "base64": {
      "type": "string",
      "description": "Image as base64 encoded string"
     },
     "mediaType": {
      "type": "string",
      "description": "IANA media type of the image"
     }
    },
    "description": "Generated image"
   },
   "description": "Array of all generated images"
  },
  "imageUrl": {
   "type": "string",
   "description": "Fetchable URL for the uploaded image"
  },
  "arweaveResult": {
   "type": "object",
   "description": "Arweave transaction result"
  }
 },
 "description": "GenerateImageResult containing the generated images and metadata"
}
```

## More

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