Creates an image from scratch from a text description
Creates an image from scratch from a text description. Choose the quality tier with image_generator_version: hd, genius, or super_genius for the highest detail at 2k output. The genius tier also takes an art style in genius_preference: classic, anime, photography, graphic, or cinematic. Returns a link to the generated image.
10000 (raw units)
price
52
calls / 30d
12
unique payers
2026-09-17
updated
Provider
deepai.pay.zeroclick.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2a90d68071b16ba7ab236709d4e37a54f56fea3b",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"genius_preference": "classic",
"image_generator_version": "hd",
"text": "a serene mountain lake at sunrise"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"genius_preference": {
"default": "classic",
"description": "Art style for the genius tier. Used only when image_generator_version is \"genius\"; omit it for other tiers. Defaults to classic.",
"enum": [
"classic",
"anime",
"photography",
"graphic",
"cinematic"
],
"example": "classic",
"type": "string"
},
"image_generator_version": {
"description": "Quality tier. Each tier bills its own per-image rate; super_genius renders at 2k.",
"enum": [
"hd",
"genius",
"super_genius"
],
"example": "hd",
"type": "string"
},
"text": {
"description": "Text description of the image to generate.",
"example": "a serene mountain lake at sunrise",
"type": "string"
}
},
"required": [
"text",
"image_generator_version"
],
"type": "object"
},
"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"
}
},
"required": [
"input"
],
"type": "object"
}
},
"terms": {
"info": {
"links": [
{
"kind": "platform_terms_of_service",
"url": "https://www.zeroclick.ai/legal/buyer-terms-of-service"
}
],
"note": "By paying this challenge, whether directly or through an agent acting on your behalf, you accept the platform's buyer terms of service; an agent's payment and acceptance are attributed to you and bind you as if you had taken them yourself."
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"links": {
"items": {
"properties": {
"kind": {
"enum": [
"terms_of_service",
"privacy_policy",
"additional_terms",
"platform_terms_of_service"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"kind",
"url"
],
"type": "object"
},
"type": "array"
},
"note": {
"type": "string"
}
},
"required": [
"links"
],
"type": "object"
}
},
"zeroclick": {
"info": {
"payment": {
"amountUsd": "0.010000",
"id": "apay_r9zMUxem2hyGrOwO8xXWx"
},
"requestId": "zcreq_Bzwh91JjxCiAN8_KrTz3i",
"service": "image-generator"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"agentId": {
"type": "string"
},
"payment": {
"properties": {
"amountUsd": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"amountUsd"
],
"type": "object"
},
"requestId": {
"type": "string"
},
"service": {
"type": "string"
}
},
"required": [
"payment"
],
"type": "object"
}
}
}Use it
curl
curl "https://deepai.pay.zeroclick.io/api/text2img" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://deepai.pay.zeroclick.io/api/text2img");
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://deepai.pay.zeroclick.io/api/text2img")
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/3486.json, and this resource appears in /discovery/resources and /discovery/search.