Generate an AI image from a text prompt via FLUX Schnell — fast text-to-image for drafts,
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.
250000 (raw units)
price
27
calls / 30d
4
unique payers
2026-09-16
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": "250000",
"maxTimeoutSeconds": 1800
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"aspect": "1:1",
"prompt": "a cat wearing sunglasses on a beach"
},
"type": "http"
},
"output": {
"example": {
"aspect": "1:1",
"generated_at": "2026-05-13T14:30:00.000Z",
"image_url": "https://cdn.forgemesh.io/images/example.png",
"prompt": "a cat wearing sunglasses on a beach"
},
"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": {
"aspect": {
"type": "string"
},
"generated_at": {
"type": "string"
},
"image_url": {
"type": "string"
},
"prompt": {
"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": "250000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x4C1a4FcE51Fea51f128a01ccE8BecB106d391155",
"resourceUrl": "https://imagegen.coinopai.com/generate",
"scheme": "exact",
"validUntil": 1789561277,
"version": 1
},
"signature": "0xaf28f802c3320db688acbb1190eeec2f52b77725569ee5dd18ec624a04ea3f644f18c73d0e0a5d6db13c167f7620c690d17091c2c88c53159ef76704116565661c"
}
]
},
"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" # -> 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");
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")
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/5880.json, and this resource appears in /discovery/resources and /discovery/search.