# Recoup Image Generation API

> Recoup Image Generation API is a paid API for AI agents from recoup-qgrbqflbo-recoupable-ad724970.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Generates an image based on a provided location string

## Facts

- Endpoint: POST https://recoup-qgrbqflbo-recoupable-ad724970.vercel.app/api/image/generate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/recoup-qgrbqflbo-recoupable-ad724970-vercel-app-ae3d4dd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nPJuHRLzTUZNYJyNqM46b

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-qgrbqflbo-recoupable-ad724970-vercel-app-ae3d4dd2 -d '<json body>'
```

Example prompt: Generate an image for the location 'San Francisco, California' and show me the result.

## When to prefer this

Use this endpoint when you need to generate an image tied to a specific location and are operating within an x402 micropayment-enabled agentic workflow. Best suited for agents that can autonomously handle USDC micropayments and need location-visual content on demand.

## Known failure modes

- Missing required 'location' field returns a validation error
- Invalid or unrecognized location string may produce unexpected or generic output
- Payment failure or insufficient funds prevents access to the generated image
- Service unavailability on Vercel hosting may return 5xx errors
- Empty location string may result in an error or default output

## How this service works

Access to protected content

## Output

Returns a generated image or image data corresponding to the provided location string, accessible after payment of $0.001 USDC via x402 protocol.

## Response schema (JSON Schema)

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "location": {
    "type": "string",
    "required": true,
    "description": "City name"
   }
  }
 },
 "output": {
  "type": "object",
  "properties": {
   "weather": {
    "type": "string"
   },
   "temperature": {
    "type": "number"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/recoup-qgrbqflbo-recoupable-ad724970-vercel-app-ae3d4dd2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from recoup-qgrbqflbo-recoupable-ad724970.vercel.app](https://www.zero.xyz/host/recoup-qgrbqflbo-recoupable-ad724970.vercel.app/llms.txt)
