Image-to-Image (I2I)

Image-to-image (I2I) is an AI technique that transforms an existing image using a text prompt and reference images. Learn how it works and when to use it.

Open the full generator

Image-to-image (I2I) is a generative AI technique that transforms an existing image into a new one, guided by a text prompt and optionally more reference images. Instead of starting from a blank canvas, the model starts from your picture — keeping what you want kept and changing what you ask it to change.

("I2I" is simply shorthand for image-to-image — you'll also see it written as image2image, img2img, or image 2 image.)

How it works

The model conditions its diffusion process on your input image as well as your prompt: the source provides structure, identity, and layout, while the prompt steers what should change. Modern instruction-tuned editors take this further — they accept plain-language edit commands ("replace the background with a rainy street, keep the subject unchanged") and multiple reference images at once, so a face, product, or art style stays consistent across every output.

T2I vs I2I at a glance

ModeYour inputThe model treats it asBest for
Text-to-image (T2I)a written prompt onlythe full briefnet-new visuals from nothing
Image-to-image (I2I)one or more source images plus a promptstructure and identity to preserveediting, restyling, series consistency

What it's best at

Image-to-image is the workhorse of AI-assisted editing:

  • Editing without masks — swap backgrounds, change outfits, remove objects, or relight a scene with a sentence instead of a selection tool.
  • Style transfer — rerender a photo as watercolor, anime, oil paint, or blueprint while preserving the composition.
  • Consistency across a series — feed the same reference images to keep a character or product identical across campaign shots.
  • Upgrading rough inputs — turn a sketch, screenshot, or low-effort render into a polished visual.

What a good input looks like

Start with a clean, well-lit source image, then write the prompt in two halves: what must stay (the subject, the pose, the brand colors) and what should change (the background, the style, the season). The more reference images you provide, the more faithfully identity survives the transformation.

Image-to-image on Molyin

Image-to-image is a standard mode across Molyin's image lineup rather than a single-model feature. What varies is how many references one generation accepts:

ModelReference images per generation
GPT Image 2 / GPT Image 2.5up to 16
Nano Banana 2up to 14
Nano Banana 2 Lite, Seedream 5.0 (Lite & Pro)up to 10
Nano Banana Pro, FLUX.2 Pro & Maxup to 8
FLUX.2 Dev, Grok Imagine 2.0up to 5

Upload the source, describe the change in one specific instruction, and the generator shows the limit for the selected model plus any per-image surcharge before you generate.

Questions about Image-to-Image (I2I)

What can I change with image-to-image?

Style, background, objects, lighting, or text — while keeping everything you do not mention. Upload the source, describe the change in one specific instruction, and let the model keep the rest.

How many reference images can I add?

It varies by model, from a single source image to more than ten references. The generator shows the limit for the selected model and any per-image surcharge before you generate; prices start at 3 credits per image.

Go deeper

What is Image-to-Image (I2I)? | Molyin