Agent API (x402)Product photoshoot

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).

ShotPathRequired fields
New scene, same productPOST /api/v1/image/editimage, prompt (optional model from ?type=inpaint)
Product + style/scene refsPOST /api/v1/image/multi-editmodelId, images (1–3), prompt
Transparent cutoutPOST /api/v1/image/background-removeimage XOR image_url
Print / largePOST /api/v1/image/upscaleimage; optional scale 2–4, enhance
Concept with no photoPOST /api/v1/image/generatemodel, prompt

Inputs

  • Product photo: public https:// URL, or plain base64 on edit/upscale (this gateway unwraps data: URIs). Multi-edit images accept 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.