$0.025
per call · USD Coin on Base
Prompt-driven single-image edit on Venice models — send an image plus an instruction and get the edited result, paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=inpaint.
Endpoint
POST https://x402.aispace.bot/api/v1/image/edit14
Calls / 30d
2
Unique payers / 30d
Sep 3
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/edit", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"image": "https://example.com/portrait.png",
"model": "qwen-image-2-edit",
"prompt": "Add a pair of round glasses and a subtle smile",
"return_binary": false
}),
});
const data = await res.json();curl -X POST \
"https://x402.aispace.bot/api/v1/image/edit" \
-H "Content-Type: application/json" \
-d '{"image":"https://example.com/portrait.png","model":"qwen-image-2-edit","prompt":"Add a pair of round glasses and a subtle smile","return_binary":false}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"contentType": "image/png",
"note": "Default body is raw image bytes, not JSON. Write the body to a file. Send return_binary: false (or Accept: application/json with no */* and no image/*) for JSON { id, images: [base64], format } like generate.",
"type": "binary"
}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 · Image Generate
x402.aispace.bot
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.
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,