Prompt-driven single-image edit on Venice models
x402.aispace.bot/api/v1/image/edit
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. A bare unpaid probe (no model) quotes Venice's default edit model (qwen-edit). Send model in the body or ?model=
POST
https://x402.aispace.bot/api/v1/image/editUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("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}),
});
console.log(await res.json());Example input
{
"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
}More from AiSpace Venice
- x402.aispace.bot/api/v1/audio/queueAsync 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,0.10
- x402.aispace.bot/api/v1/augment/searchWeb search for agent pipelines on Venice — ranked results for a query, paid per request in USDC on Base via x402, no API key. Standalone; no model lookup required.0.01
- x402.aispace.bot/api/v1/chat/completionsOpenAI-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.0.01
- x402.aispace.bot/api/v1/crypto/rpc/basePay-per-call JSON-RPC proxy to 20+ EVM and Starknet networks on Venice, paid per request in USDC on Base via x402, no API key. Resolve the {network} path segment from GET /api/v1/crypto/rpc/networks.0.01
- x402.aispace.bot/api/v1/image/generateText-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. Charge is catalog unit × variants (1–4). A bare unpaid probe (no model) quotes default venice-sd35 (from $0.01; flux-2-pro $0.015). S0.02
- x402.aispace.bot/api/v1/image/multi-editCompose or edit using 1-3 input images on Venice models — merge subjects, transfer style, or blend scenes, paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=inpaint. Venice field is `modelId` (not `model`); this gateway maps `m0.03
- x402.aispace.bot/api/v1/images/generationsOpenAI /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. A bare unpaid probe quotes default venice-sd35 (from $0.01; flux-2-pro $0.015). Send model in the body or ?mod0.02
- x402.aispace.bot/api/v1/video/queueAsync text-to-video and image-to-video generation on Venice (WAN 3.0, Seedance 2.5, HappyHorse, and more), paid per request in USDC on Base via x402, no API key. Model ids via GET /api/v1/models?type=video. Lifecycle: quote, queue, retrieve, complete (see related routes).0.65
