The edits endpoint is /v1/images/edits, sent as a form. A request takes up to 16 reference images of up to 20 MB each, in PNG, JPEG or WebP.
curl https://api.cheapestimagen.com/v1/images/edits \
-H "Authorization: Bearer YOUR_KEY" \
-F model=nano-banana-2.1 \
-F size=2048x2048 \
-F prompt="Place this exact product on a light oak table by a window, soft morning light, keep the label unchanged" \
-F "image[]=@sneaker-front.png" \
-F "image[]=@sneaker-side.png" \
-F response_format=url- Send more than one angle. A front and a side shot keep the product more consistent than one photo.
- Say what must not change. For example “keep the label unchanged” or “do not change the colour”.
- No masks yet. You cannot repaint one area only; the whole image is generated.