Product photoshoot through AiSpace
Keep the product faithful; change only scene, light, and framing. Built on Create an image. All of these POSTs are paid (x402 USDC on Base at https://x402.aispace.bot).
| Shot | Path | Required fields |
|---|---|---|
| New scene, same product | POST /api/v1/image/edit | image, prompt (optional model from ?type=inpaint) |
| Product + style/scene refs | POST /api/v1/image/multi-edit | modelId, images (1–3), prompt |
| Transparent cutout | POST /api/v1/image/background-remove | image XOR image_url |
| Print / large | POST /api/v1/image/upscale | image; optional scale 2–4, enhance |
| Concept with no photo | POST /api/v1/image/generate | model, prompt |
Inputs
- Product photo: public
https://URL, or plain base64 on edit/upscale (this gateway unwrapsdata:URIs). Multi-editimagesaccept URLs or data URIs. - Edit models:
GET /api/v1/models?type=inpaint(example:qwen-image-2-edit). - Every prompt should say what must not change (label, logo, color, proportions).
Channel sizes
Pass an aspect_ratio the edit model lists (1:1 marketplace, 4:5 feed, 9:16 stories, 16:9 / 21:9 hero). If the model does not list it, omit it rather than guessing.
Defaults
Edit / multi-edit / upscale / cutout return a raw image file unless you send return_binary: false (JSON { id, images: [base64], format }). Upscale has no model in the Venice body. Background-remove prices an optional model then strips it.
Cost
Each edit, cutout, and upscale is one paid image call. Say how many shots you will run before the first 402. Upscale only the picks. ?priceOnly=1 on a representative body if you need the charge without settling.
Compare every result to the original at full size before presenting it as the real product.