# Recoup AI Image Generator

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

Generates an image from a text prompt using AI, charged per call via x402 micropayment protocol

## Facts

- Endpoint: GET https://recoup-api-git-sweetmantech-myc-3555-37865d-recoupable-ad724970.vercel.app/api/x402/image/generate
- Price: $0.01111/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-7ed3ab13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4gxEU-oNWAtUjqoif93YE

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-7ed3ab13
```

Example prompt: Generate an image of a golden retriever puppy playing in a sunlit field of lavender flowers, painterly watercolor style.

## When to prefer this

Choose this endpoint when you need to generate images from text descriptions and are operating in an x402-enabled micropayment environment. It is suitable for lightweight, pay-per-use AI image generation without requiring API key management, ideal for agentic workflows that need on-demand image creation at low cost per call.

## Known failure modes

- Invalid or missing text prompt returns 400 error
- Payment failure or insufficient funds causes 402 Payment Required
- Prompt violates content policy, returning a 403 or content moderation error
- Upstream AI model timeout or unavailability returns 503
- Ambiguous or very short prompts may produce unexpected or low-quality images

## How this service works

Generate an image from a text prompt using AI

## Output

Returns an AI-generated image (likely as a URL or binary image data) based on the provided text prompt, billed at $0.01111 USDC via the x402 payment protocol per call.

## 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-7ed3ab13/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from recoup-api-git-sweetmantech-myc-3555-37865d-recoupable-ad724970.vercel.app](https://www.zero.xyz/host/recoup-api-git-sweetmantech-myc-3555-37865d-recoupable-ad724970.vercel.app/llms.txt)
