Skip to content
Fourohtwo

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=

BaseSolanaUnchecked
POSThttps://x402.aispace.bot/api/v1/image/edit

UptimeNot 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