$0.015
per call · USD Coin on Base
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.
Endpoint
POST https://x402.aispace.bot/api/v1/image/generate200
Calls / 30d
7
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.aispace.bot/api/v1/image/generate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"height": 1024,
"model": "flux-2-pro",
"prompt": "A neon-lit cyberpunk street at night, cinematic lighting, photorealistic",
"width": 1024
}),
});
const data = await res.json();curl -X POST \
"https://x402.aispace.bot/api/v1/image/generate" \
-H "Content-Type: application/json" \
-d '{"height":1024,"model":"flux-2-pro","prompt":"A neon-lit cyberpunk street at night, cinematic lighting, photorealistic","width":1024}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"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
}
}Payment details
0xa7f3ad0e69f61864092fabba6cee00af6e584689USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from AiSpace Venice & similar services
AiSpace Venice · Chat Completions
x402.aispace.bot
OpenAI-compatible chat on 100+ Venice models via x402 USDC (Base). Model from GET /api/v1/models?type=text; personas via /characters. Thinking models: empty content + reasoning_content is success; use venice_parameters.disable_thinking for plain text.
AiSpace Venice · Audio Queue
x402.aispace.bot
Async music/audio-track generation on Venice (Stable Audio, ElevenLabs Music, MiniMax, Lyria, ACE-Step), paid per request in USDC on Base via x402, no API key. Short-clip model ids via GET /api/v1/models?type=music; 60s-floor ids (ACE-Step) only with ?floor=all. Lifecycle: quote,
AiSpace Venice · Audio Speech
x402.aispace.bot
Text-to-speech on Venice voices (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=tts.