Text-to-image generation on Venice models (Flux, SD3
Text-to-image generation on Venice models (Flux, SD3.5, GPT-Image, HunyuanImage, and more), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=image and an optional style from GET /api/v1/image/styles.
15000 (raw units)
price
206
calls / 30d
7
unique payers
2026-09-16
updated
Provider
x402.aispace.bot · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "15000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "15000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"height": 1024,
"model": "flux-2-pro",
"prompt": "A neon-lit cyberpunk street at night, cinematic lighting, photorealistic",
"width": 1024
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"id": "yidY-aAgyVYbeSQfKnu4gaLS2FhTus0k",
"images": [
"UklGRkaBAABXRUJQVlA4IDqBAACQZwGdASoAAgACPhkMhEGhBFcvbAQAYSm3i1vP/1fFy8M/nmmzw39XzLNN9Nt+/Ez/o+YH9G/2fQs58/xP/neqj+H/6f1l"
],
"request": {
"data": {
"embed_exif_metadata": false,
"format": "webp",
"height": 512,
"hide_watermark": false,
"model": "venice-sd35",
"prompt": "a dot",
"return_binary": false,
"safe_mode": true,
"seed": -238869555,
"steps": 20,
"width": 512
},
"success": true
},
"timing": {
"inferenceDuration": 3377,
"inferencePreprocessingTime": 3389,
"inferenceQueueTime": 557,
"total": 3953
}
},
"type": "json"
}
},
"related": [
"/models",
"/image/styles"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"model": {
"description": "Venice image model id. See GET /api/v1/models?type=image (e.g. flux-2-pro, venice-sd35, gpt-image-2).",
"example": "venice-sd35",
"type": "string"
},
"prompt": {
"description": "Image description. Up to ~2000 chars.",
"type": "string"
},
"style_preset": {
"description": "Optional named style. See GET /api/v1/image/styles (e.g. \"Cinematic\", \"Anime\").",
"type": "string"
}
},
"required": [
"model",
"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": {
"properties": {
"id": {
"type": "string"
},
"images": {
"items": {
"type": "string"
},
"type": "array"
},
"request": {
"properties": {
"data": {
"properties": {
"embed_exif_metadata": {
"type": "boolean"
},
"format": {
"type": "string"
},
"height": {
"type": "number"
},
"hide_watermark": {
"type": "boolean"
},
"model": {
"type": "string"
},
"prompt": {
"type": "string"
},
"return_binary": {
"type": "boolean"
},
"safe_mode": {
"type": "boolean"
},
"seed": {
"type": "number"
},
"steps": {
"type": "number"
},
"width": {
"type": "number"
}
},
"type": "object"
},
"success": {
"type": "boolean"
}
},
"type": "object"
},
"timing": {
"properties": {
"inferenceDuration": {
"type": "number"
},
"inferencePreprocessingTime": {
"type": "number"
},
"inferenceQueueTime": {
"type": "number"
},
"total": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"chainId": 8453,
"estimateBasis": "image_unit_0.03_n_1",
"priceMult": 0.5,
"tokenDecimals": 6,
"upstreamUsd": 0.03
}Use it
curl
curl "https://x402.aispace.bot/api/v1/image/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://x402.aispace.bot/api/v1/image/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://x402.aispace.bot/api/v1/image/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/774.json, and this resource appears in /discovery/resources and /discovery/search.