OpenAI /v1/images/generations-compatible image generation on Venice image models, paid per
OpenAI /v1/images/generations-compatible image generation on Venice image models, paid per request in USDC on Base via x402, no API key. Point any OpenAI image SDK here. Resolve a model id from GET /api/v1/models?type=image.
15000 (raw units)
price
3
calls / 30d
1
unique payers
2026-08-31
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
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"model": "flux-2-pro",
"n": 1,
"prompt": "A watercolor fox in a misty forest",
"size": "1024x1024"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"created": 1783555200,
"data": [
{
"url": "https://x402.aispace.bot/media/img_def456.png"
}
]
},
"type": "json"
}
},
"related": [
"/models",
"/image/styles"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"model": {
"description": "Venice image model id. See GET /api/v1/models?type=image.",
"type": "string"
},
"prompt": {
"description": "Image description.",
"type": "string"
},
"size": {
"description": "Output size, e.g. \"1024x1024\".",
"type": "string"
}
},
"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": {
"ok": {
"type": "boolean"
}
},
"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/images/generations" # -> 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/images/generations");
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/images/generations")
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/791.json, and this resource appears in /discovery/resources and /discovery/search.