Compose or edit using 1-3 input images on Venice models — merge subjects, transfer style,
Compose 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 `m
25000 (raw units)
price
7
calls / 30d
2
unique payers
2026-09-03
updated
Provider
x402.aispace.bot · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "25000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "25000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"images": [
"https://example.com/a.png",
"https://example.com/b.png"
],
"modelId": "qwen-image-2-edit",
"prompt": "Place the subject from image 1 into the scene from image 2",
"return_binary": false
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"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"
},
"type": "json"
}
},
"related": [
"/models"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"example": {
"images": [
"<base64>"
],
"modelId": "qwen-image-2-edit",
"prompt": "combine"
},
"properties": {
"images": {
"description": "Array of 1-3 source images (URLs or base64 data URIs).",
"items": {
"type": "string"
},
"type": "array"
},
"model": {
"description": "Accepted alias for modelId — gateway rewrites to modelId before Venice.",
"type": "string"
},
"modelId": {
"description": "Venice inpaint/edit model id (required by Venice). See GET /api/v1/models?type=inpaint.",
"type": "string"
},
"prompt": {
"description": "Instruction describing how to combine or edit the inputs.",
"type": "string"
},
"return_binary": {
"description": "Gateway-owned. Omit for a raw image file (default). false = JSON { id, images: [base64], format } like generate. true = force the file. Stripped before Venice.",
"type": "boolean"
}
},
"required": [
"modelId",
"images",
"prompt"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"contentType": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"chainId": 8453,
"estimateBasis": "image_edit",
"priceMult": 0.5,
"tokenDecimals": 6,
"upstreamUsd": 0.05
}Use it
curl
curl "https://x402.aispace.bot/api/v1/image/multi-edit" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.aispace.bot/api/v1/image/multi-edit");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.aispace.bot/api/v1/image/multi-edit")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/786.json, and this resource appears in /discovery/resources and /discovery/search.