Skip to main content
Some image models support editing or transforming an existing image. The parameter you use depends on the model:
reference_images is recommended for FLUX.2 and Google models because it supports multiple input images. FLUX.2 [pro] and [flex] also accept image_url for single-image edits, but FLUX.2 [dev], Gemini 3 Pro Image, and Flash Image 2.5 only support reference_images.

Use image_url (Kontext models)

Example output: Reference image: reference_image.png

Use reference_images (FLUX.2 and Google models)

For more details on multi-image editing, image indexing, and color control with FLUX.2, see the FLUX.2 Quickstart.