Generate an image
Generate an image: Generates a 1024x1024 image from a text prompt with the FLUX.1 [schnell] model. Returns a JPEG directly, or base64 JSON with format=json.
Answeringour last check, 2026-11-30
3 of 3checks answered this week
33 msmedian answer time
$0.02listed price per call
$0.02price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402-tools.com/v1/image
| Category | Image and media |
|---|---|
| Provider host | x402-tools.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-30 | valid payment request | 402 | $0.02 | 33 ms |
| 2026-11-29 | valid payment request | 402 | $0.02 | 67 ms |
| 2026-11-28 | valid payment request | 402 | $0.02 | 27 ms |
Example input (from the provider)
{
"body": {
"format": "json",
"prompt": "A friendly robot paying at a vending machine with a coin, flat illustration",
"steps": 4
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"format": {
"description": "'jpeg' (default, raw image) or 'json' (base64).",
"type": "string"
},
"prompt": {
"description": "What to draw (max 2000 characters).",
"type": "string"
},
"steps": {
"description": "Diffusion steps, 1 to 8 (default 4). More steps, more detail.",
"type": "number"
}
},
"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"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}