Start a high-resolution AI image job from a text prompt, using FLUX 1
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.
500000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-07
updated
Provider
imagegen.coinopai.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4C1a4FcE51Fea51f128a01ccE8BecB106d391155",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "500000",
"maxTimeoutSeconds": 1800
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"aspect": "1:1",
"prompt": "a futuristic city at night, cyberpunk style"
},
"type": "http"
},
"output": {
"example": {
"job_id": "7c43fb4b-08a4-4a0a-ae49-21fe47462c98",
"status": "queued",
"status_url": "https://imagegen.coinopai.com/jobs/7c43fb4b-08a4-4a0a-ae49-21fe47462c98",
"tier": "hd"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"aspect": {
"description": "Aspect ratio (default 1:1)",
"enum": [
"1:1",
"16:9",
"9:16",
"4:3"
],
"type": "string"
},
"prompt": {
"description": "Text prompt describing the image to generate",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"job_id": {
"type": "string"
},
"status": {
"enum": [
"queued",
"processing",
"succeeded",
"failed"
],
"type": "string"
},
"status_url": {
"type": "string"
},
"tier": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "500000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x4C1a4FcE51Fea51f128a01ccE8BecB106d391155",
"resourceUrl": "https://imagegen.coinopai.com/generate/hd",
"scheme": "exact",
"validUntil": 1788819047,
"version": 1
},
"signature": "0x0cc9b1640e00e630b59c9e04cb70586790830a7b36af8053732e641a0807bc19263cd856d01088d2c2badc2ed68a2247fee25d09b26d7099abdc52dac590cdc41b"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://imagegen.coinopai.com/generate/hd" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://imagegen.coinopai.com/generate/hd");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://imagegen.coinopai.com/generate/hd")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5882.json, and this resource appears in /discovery/resources and /discovery/search.