# CoinopAI Image Generator - Clean (Background Removed)

> CoinopAI Image Generator - Clean (Background Removed) is a paid API for AI agents from imagegen.coinopai.com, paid per call via x402, $0.35/call, status unknown (last checked 2026-09-13, last successful call 2026-07-31).

Generates an AI image from a text prompt and automatically removes the background, returning a transparent/clean image URL for $0.15 USDC.

## Facts

- Endpoint: GET https://imagegen.coinopai.com/generate/clean
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Last successful call: 2026-07-31
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopai-image-generator-clean-background-removed-4be09a9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t-yzVM4C0dlW0v4hZMiqf

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 coinopai-image-generator-clean-background-removed-4be09a9e
```

Example prompt: Generate me a clean AI image of a red sneaker on a transparent background, square 1:1 format — I need the background fully removed so I can use it on a product page.

## When to prefer this

Choose this endpoint when you need an AI-generated image that already has its background removed in one step — ideal for product photography, stickers, cutouts, or compositing workflows. It costs $0.15 USDC, more than the basic generation ($0.10) but cheaper than the upscaled+clean version ($0.30). Prefer this over the plain generation endpoint when a transparent or clean background is required, and over the upscaled version when 4x HD resolution is not needed.

## Known failure modes

- Missing required 'prompt' query parameter returns an error
- Invalid aspect ratio enum value causes a validation error
- Payment failure or insufficient USDC balance on Base returns a 402 Payment Required
- Very long or complex prompts may cause generation timeout
- NSFW or policy-violating prompts may be rejected

## How this service works

Generate an AI image from a text prompt with the background automatically removed into a transparent PNG cutout (FLUX Schnell). Use it to create product photos, sticker designs, logo marks, or transparent assets for e-commerce listings and automated design pipelines — text-to-image plus background removal in one paid API call, no API key or image-editing step required.

## Output

Returns a JSON object containing the URL of the generated image (with background removed), the text prompt used, the aspect ratio, a tier indicator, and a timestamp of when it was generated.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "aspect": "1:1",
   "prompt": "a red sneaker on transparent background"
  }
 }
}
```

## 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": {
      "tier": {
       "type": "string"
      },
      "aspect": {
       "type": "string"
      },
      "prompt": {
       "type": "string"
      },
      "image_url": {
       "type": "string"
      },
      "generated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "clean",
  "aspect": "1:1",
  "prompt": "a product photo of a ceramic mug",
  "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/coinopai-image-generator-clean-background-removed-4be09a9e/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)
