Generate an image from a text prompt
Generate an image from a text prompt
60000 (raw units)
price
24
calls / 30d
1
unique payers
2026-09-15
updated
Provider
driftflight.pay.zeroclick.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x00acee6cd97a308ace9a3fe7da90664bfa9b6d21",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "60000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"prompt": "example"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"model": {
"enum": [
"sketch",
"studio",
"gallery"
]
},
"preset": {
"enum": [
"editorial",
"product-studio",
"film-noir",
"botanical",
"watercolor",
"isometric"
],
"type": "string"
},
"prompt": {
"type": "string"
}
},
"required": [
"prompt"
],
"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": "terms_of_service",
"url": "https://driftflight.com/terms"
}
],
"note": "Paying this challenge is acceptance of Driftflight's terms of service; an agent's payment is attributed to the person or organization operating it."
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"links": {
"items": {
"properties": {
"kind": {
"enum": [
"terms_of_service",
"privacy_policy"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"kind",
"url"
],
"type": "object"
},
"type": "array"
},
"note": {
"type": "string"
}
},
"required": [
"links"
],
"type": "object"
}
},
"zeroclick": {
"info": {
"payment": {
"amountUsd": "0.060000",
"id": "apay_XuvTyCQahlvNVxOH2z10k"
},
"requestId": "zcreq_OQRlmxWDCnItF1yEn6jw5",
"service": "images"
},
"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://driftflight.pay.zeroclick.io/v1/images/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://driftflight.pay.zeroclick.io/v1/images/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://driftflight.pay.zeroclick.io/v1/images/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/15364.json, and this resource appears in /discovery/resources and /discovery/search.