# CoinopAI Image Generator

> CoinopAI Image Generator is a paid API for AI agents from imagegen.coinopai.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-10, last successful call 2026-06-30).

Generates an AI image from a text prompt and returns a hosted image URL, billed at $0.10 USDC on Base per generation.

## Facts

- Endpoint: GET https://imagegen.coinopai.com/generate?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-06-30
- Success rate: 100% of calls made through Zero
- Rating: 4.3 / 5 from 1 review
- Activations on Zero: 6
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imagegen-coinopai-com-14fef5ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cIyfX3oiNGVorPFO4MAag

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 imagegen-coinopai-com-14fef5ef
```

Example prompt: Generate an AI image of a golden retriever playing on a sunny beach, in 16:9 landscape format.

## When to prefer this

Choose this endpoint when you need to generate a single AI image from a text prompt and pay per-use in USDC on Base via the x402 micropayment protocol. It is ideal for agent workflows requiring on-demand image creation without subscription management, and supports common aspect ratios (1:1, 16:9, 9:16, 4:3) for flexible output formats.

## Known failure modes

- Missing required 'prompt' query parameter returns an error
- Invalid aspect ratio enum value results in a bad request error
- Payment failure or insufficient USDC balance on Base returns a 402 Payment Required error
- Prompt content policy violation may result in a rejection response
- Network timeout if image generation takes too long

## How this service works

Generate an AI image from a text prompt via FLUX Schnell — fast text-to-image for drafts, mockups, concept art, marketing images, and social graphics. Built for agents and automated content pipelines: pass a prompt and aspect ratio (1:1, 16:9, 9:16, 4:3), get back a hosted image URL. Create AI art via API — pay-per-call via x402 USDC on Base, no API key, no signup, no rate-limited free tier.

## Output

Returns a JSON object containing the hosted image_url pointing to the generated image, the original prompt, the aspect ratio used, and a generated_at timestamp indicating when the image was created.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "aspect": "16:9",
   "prompt": "a serene mountain landscape with snow-capped peaks and a clear blue sky"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "aspect": {
       "enum": [
        "1:1",
        "16:9",
        "9:16",
        "4:3"
       ],
       "type": "string",
       "description": "Aspect ratio (default 1:1)"
      },
      "prompt": {
       "type": "string",
       "description": "Text prompt describing the image to generate"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "aspect": {
       "type": "string"
      },
      "prompt": {
       "type": "string"
      },
      "image_url": {
       "type": "string"
      },
      "generated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "aspect": "1:1",
  "prompt": "a cat wearing sunglasses on a beach",
  "image_url": "https://cdn.forgemesh.io/images/example.png",
  "generated_at": "2026-05-13T14:30:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imagegen-coinopai-com-14fef5ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from imagegen.coinopai.com](https://www.zero.xyz/host/imagegen.coinopai.com/llms.txt)
