# Recoup AI Image Generation

> Recoup AI Image Generation is a paid API for AI agents from recoup-api-git-sweetmantech-myc-3545-451076-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, returning a visual output based on the description provided

## Facts

- Endpoint: GET https://recoup-api-git-sweetmantech-myc-3545-451076-recoupable-ad724970.vercel.app/api/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-generation-f673a699
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I4OpFZAgE1ZBM-_GzTkX0

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-generation-f673a699
```

Example prompt: Generate an image of a serene mountain lake at sunrise with mist hovering over the water and pine trees on the shore.

## When to prefer this

Use this endpoint when you need to generate a single image from a text prompt via a pay-per-call model at $0.01111 USDC. It is suitable for agents operating within the x402 payment protocol ecosystem and needing on-demand AI image generation without a subscription.

## Known failure modes

- Empty or missing prompt returns a 400 bad request error
- Prompt contains disallowed or unsafe content and is rejected
- Payment of 0.01111 USDC not fulfilled, resulting in 402 Payment Required
- Upstream AI model timeout causing 503 or 504 error
- Rate limit exceeded returning 429 error

## How this service works

Generate an image from a text prompt using AI

## Output

Returns an AI-generated image corresponding to the provided text prompt, likely as a URL or binary image data.

## Response schema (JSON Schema)

```json
{
 "output": {
  "type": "object",
  "properties": {
   "result": {
    "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"
     }
    },
    "description": "GenerateImageResult containing the generated images and metadata"
   }
  }
 }
}
```

## More

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