# CoinopAI HD Image Generator (4x Upscale)

> CoinopAI HD Image Generator (4x Upscale) is a paid API for AI agents from imagegen.coinopai.com, paid per call via x402, $0.5/call, status healthy (last checked 2026-09-15, last successful call 2026-08-27).

Generates an AI image from a text prompt and upscales it 4x to HD resolution, returning a high-resolution image URL.

## Facts

- Endpoint: GET https://imagegen.coinopai.com/generate/hd
- Price: $0.5/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-08-27
- Success rate: 50% of calls made through Zero
- Rating: 4.0 / 5 from 1 review
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopai-hd-image-generator-4x-upscale-56b1df15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_srk4n1bB1wzQcHYAkK7yI

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-hd-image-generator-4x-upscale-56b1df15
```

Example prompt: Generate a high-res 4x HD AI image of a dramatic mountain landscape at sunset with storm clouds rolling in, in 16:9 aspect ratio.

## When to prefer this

Choose this endpoint when you need the highest image quality from CoinopAI — it upscales output 4x to HD, making it ideal for display, print, or any use case requiring large, detailed images. Prefer over the standard $0.10 endpoint when resolution matters, and over the $0.15 background-removal endpoint when you don't need transparency but do need HD quality.

## Known failure modes

- Missing required 'prompt' query parameter returns a 400 error
- Invalid aspect ratio value (not one of 1:1, 16:9, 9:16, 4:3) returns a 400 validation error
- Payment not provided or insufficient USDC balance triggers a 402 Payment Required response
- Prompt content policy violation may result in generation refusal
- Service unavailable or upstream AI provider error returns 500

## How this service works

Start a high-resolution AI image job from a text prompt, using FLUX 1.1 Pro plus a 4x Real-ESRGAN upscale. The paid response returns HTTP 202 with a job_id and a free status_url to poll until the image succeeds or fails, preventing long generation from being lost to an HTTP proxy timeout.

## Output

Returns a JSON object containing the generated HD image URL, the tier (HD), the aspect ratio used, the original prompt, and a timestamp of when the image was generated. The image is upscaled 4x compared to standard generation.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "aspect": "1:1",
   "prompt": "a serene landscape with mountains 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": {
      "tier": {
       "type": "string"
      },
      "job_id": {
       "type": "string"
      },
      "status": {
       "enum": [
        "queued",
        "processing",
        "succeeded",
        "failed"
       ],
       "type": "string"
      },
      "status_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "hd",
  "job_id": "7c43fb4b-08a4-4a0a-ae49-21fe47462c98",
  "status": "queued",
  "image_url": null,
  "status_url": "https://imagegen.coinopai.com/jobs/7c43fb4b-08a4-4a0a-ae49-21fe47462c98"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinopai-hd-image-generator-4x-upscale-56b1df15/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)
