Image editing (instruction-based)

Instruction-based image editing changes an existing picture from a written instruction, such as swapping an outfit or a background, while the rest of the image is meant to stay as it was.

A good edit instruction has two halves: what changes and what must stay. Vendors of very different models give the same advice, because a model that is told only the change is free to alter everything else.

With several input images, each one needs a job. "Dress the person in image 1 in the jacket from image 2" is the typical form: images are addressed by their order.

On SomaLabs

Models with image editing accept your pictures as references and apply the instruction in your prompt. The model pages list which models edit, and how many images one request can carry.

Guides that go deeper

Related terms