Generate one image from a text prompt: app icon, brand logo, character mascot or illustrat
Generate one image from a text prompt: app icon, brand logo, character mascot or illustration. POST JSON {description, type?, style?, aspect_ratio?}. type is icon, logo, mascot or illustration (default icon; only icon gets app-icon framing and mask safe margins). style is flat, metallic, 2d-game, clay, 3d, gradient or glassmorphism. aspect_ratio is 1:1, 4:3 or 16:9. Returns image_key and preview_url. No account required.
195000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-29
updated
Provider
imagcon.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x1f2A484ef654d49c58c625b09e78B538501D652D",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "195000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"description": "A friendly lobster holding a starfish",
"style": "clay",
"type": "mascot"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"image_key": "generated_images/anonymous/<uuid>.png",
"preview_url": "https://imagcon.app/routes/get-image/generated_images/anonymous/<uuid>.png"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"aspect_ratio": {
"default": "1:1",
"description": "Output shape. 16:9 suits OG and hero images.",
"enum": [
"1:1",
"4:3",
"16:9"
],
"type": "string"
},
"description": {
"description": "Text description of the image to generate",
"type": "string"
},
"style": {
"description": "Optional visual finish.",
"enum": [
"2d-game",
"3d",
"clay",
"flat",
"glassmorphism",
"gradient",
"metallic"
],
"type": "string"
},
"type": {
"default": "icon",
"description": "What to produce. Only 'icon' applies app-icon framing and OS-mask safe margins.",
"enum": [
"icon",
"illustration",
"logo",
"mascot"
],
"type": "string"
}
},
"required": [
"description"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://imagcon.app/routes/x402/generate-image" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://imagcon.app/routes/x402/generate-image");
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://imagcon.app/routes/x402/generate-image")
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/5126.json, and this resource appears in /discovery/resources and /discovery/search.