{"uid":"cap_EP34Dx1G7hhzUrHroiHjK","slug":"aispace-image-edit-a3a2be01","name":"AiSpace Image Edit","description":"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.","url":"https://x402.aispace.bot/api/v1/image/edit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image":{"type":"string","description":"HTTPS URL or plain base64 (no data: prefix)."},"model":{"type":"string","description":"Venice inpaint/edit model id. See GET /api/v1/models?type=inpaint."},"prompt":{"type":"string","description":"Edit instruction describing the desired change."},"return_binary":{"type":"boolean","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."},"enhance_prompt":{"type":"boolean","description":"Optional. Vision-aware rewrite of the edit instruction. Extra credits when a rewrite is generated."}}},"responseSchema":{"type":"json","example":{"note":"Response body is raw binary media, not JSON. Trust the sniffed content type over the header.","type":"binary","contentType":"image/png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dERHKxvSpSUGw7kbsyV6m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Edits or modifies an existing image using AI, powered by Venice.ai, via a privacy-focused platform","exampleAgentPrompt":"Can you use AiSpace to edit this image and remove the background, keeping the subject intact?","exampleUseCases":[{"title":"Product photo background removal","prompt":"Take this product photo and edit it to remove the background so I have a clean white backdrop — use AiSpace's image editing."},{"title":"Artistic style retouching","prompt":"I have a portrait photo I'd like to make look more painterly and dramatic — can you run it through AiSpace's AI image editor to apply that style?"},{"title":"Object removal from scene","prompt":"There's an unwanted person in the background of this vacation photo — can you use AiSpace to edit them out and fill in the background naturally?"}],"resultDescription":"Returns a JSON response with an 'ok' boolean indicating whether the image edit operation completed successfully, along with any resulting edited image data or reference.","failureModes":["Missing required 'input' field returns validation error","Invalid HTTP method (only GET, HEAD, DELETE accepted in schema) causes rejection","Payment not provided or insufficient USDC balance triggers 402 response","Malformed query parameters cause processing failure","Image source inaccessible or invalid returns error"],"whenToPreferThis":"Choose this endpoint when you need privacy-preserving AI image editing backed by Venice.ai, especially when data sovereignty matters and you want edits processed without storing data server-side. Prefer over generic image APIs when using the x402 micropayment protocol at low per-call cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:37:08.171Z","isFirstParty":false,"canonicalSlug":"aispace-image-edit-a3a2be01"}