Text-to-image generation on Venice models (Flux, SD3.5, GPT-Image, HunyuanImage, and mo…
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.
by x402.aispace.bot · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: venice · image · text-to-image · generative · aispace · bazaar · chainId · estimateBasis · priceMult · tokenDecimals · upstreamUsd
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-13
{
"height": 1024,
"model": "flux-2-pro",
"prompt": "A neon-lit cyberpunk street at night, cinematic lighting, photorealistic",
"width": 1024
}{
"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
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/26762.jsonfor the price and payment options. - Pay. Call
GET https://x402.aispace.bot/api/v1/image/generate. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.015 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 24 calls · 9 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.015 | 0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.015 | 5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "15000",
"amountUsd": 0.015,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "15000",
"amountUsd": 0.015,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"id": "string",
"images": [
"string"
],
"request": {
"data": {
"embed_exif_metadata": true,
"format": "string",
"height": 0,
"hide_watermark": true,
"model": "string",
"prompt": "string",
"return_binary": true,
"safe_mode": true,
"seed": 0,
"steps": 0,
"width": 0
},
"success": true
},
"timing": {
"inferenceDuration": 0,
"inferencePreprocessingTime": 0,
"inferenceQueueTime": 0,
"total": 0
}
},
"type": "string"
}Examples
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 paidconst 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
}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 headerDetails
- Provider
- x402.aispace.bot
- Endpoint
- https://x402.aispace.bot/api/v1/image/generate
- Machine-readable
/resources/26762.json