Skip to main content

Using Omni Models and the Inline Editor

Feature Release: Introducing Omni image generation models and Omni Editing, facilitated by the new Inline Editor.

Susan Bhasme avatar
Written by Susan Bhasme
Updated this week


Introduction

What is an Omni Model?

Omni Models have greater contextual understanding of both image and text inputs, leading to more accurate, higher-quality results. Leonardo.Ai offers several powerful omni models, including a suite of Nano Banana, FLUX and GPT models.

These models are available to use as standalone image generation models and through the Omni Editing experience, giving you flexibility whether you're creating from scratch or refining something you've made.


Features

Omni Editing with the Inline Editor

Omni Editing is powered by the latest Omni models and facilitated by the Inline Editor, a prompt bar that appears when viewing a generated image.

The Inline Editor lets you effortlessly handle anything from small tweaks to whole vibe changes. Instantly add references and type out instructions for what you want to change, and the editor will follow.

  • Use natural language to make quick, precise changes to your images while keeping the details you care about intact.

  • Add and edit text while preserving font and respecting contextual placement.

  • Reference up to 6 images (depending on the model) and simply describe how they should come together, so you can mix, match and blend all in the one step (e.g the font and heading from one, the character from another, and the style or lighting from the next).


How to use Omni Models and the Inline Editor.

Generating Images with Omni Models

Currently supported Omni models on Leonardo.Ai are:

  • FLUX.1 Kontext

  • FLUX.1 Kontext Max

  • FLUX.2 Pro

  • GPT Image-1

  • GPT Image-1.5

  • Nano Banana

  • Nano Banana Pro

  • Seedream 4.0

  • Seedream 4.5

To generate with an Omni model;

  1. Head to the Image creation tool from the home page.

  2. Select one of the following from the Models menu in the left side bar.

  3. Enter your prompt, adjust any settings in the side bar, and click Generate.

  4. Optional: Click the Image Guidance button in the prompt bar to add up to 6 reference images (depending on the model). These can be various elements such as a setting, character, colour scheme or product that you wish to see in the image. For best results, include specific instructions on how the various references should come together or interact.

Editing Generated Images using the Inline Editor

You can use a powerful Omni model to edit images made with any model, from anywhere on the platform.

  1. Click on any generated image, or hover over the desired image and click Edit. This will open the Inline Editor (A).

  2. Optional: Click Add Image (B) to add reference images and further guide your edits. You can also upload your own image or choose an existing generation.

  3. Optional: Change the Omni model in use from the menu (C). The next button (D) lets you change the number of edited images to be generated.

  4. Type a descriptive change or edit you wish to see in the prompt box, and click Generate. Being more specific about the changes will give better results.


Prompt Guides & Tips

As Omni models behave differently from standard image generation models, it is important that prompts are optimized for them. While the models are intelligent and can contextually understand simpler instructions for simpler edits, here are some tips for getting the best results:

  • Be specific: Precise language gives better results. Use exact color names, detailed descriptions, and clear action verbs instead of vague terms.

  • Start simple: Begin with core changes before adding complexity. Test basic edits first, then build upon successful results.

  • Preserve intentionally: Explicitly state what should remain unchanged. Use phrases like "while maintaining the same [facial features/composition/lighting]" to retain important elements.

  • Iterate when needed: Complex transformations often require multiple steps. Break dramatic changes into sequential edits for better control.

  • Name subjects directly: Use "the woman with short black hair" or "the red car" instead of pronouns like “her”, "it," or "this" for clearer results.

  • Use quotation marks for text: Quote the specific text you want to change: "Replace 'Leonardo' with 'da Vinci'" works better than generalized text descriptions (eg. "Change text on the sign").

  • Control composition explicitly: When changing backgrounds or settings, specify "keep the exact camera angle, position, and framing" to prevent unwanted repositioning.

  • Choose verbs carefully: "Transform" might imply a complete change, while "change the clothes" or "replace the background" gives you more control over what actually changes.

Prompt Examples (For FLUX.1 Kontext)

Basic Editing
Simply stating changes usually works for simple edits.
Change the car to red

Reference Image
Image result using the prompt: ​Change the car to red

Controlled edit with style preservation
You may state what aspect / element of the image you would like to maintain.
Change to daytime while maintaining the same style of painting

Reference Image
Image result using the prompt: Change to daytime while maintaining the same style of the painting


Complex Edits
You may change multiple things in the input image as long as the prompt is not too overly complex

Change the setting to daytime, add a lot of people walking on the sidewalk while maintaining the same style of painting

Reference Image
Image result using the prompt: change the setting to daytime, add a lot of people walking on the sidewalk while maintaining the same style of the painting

Maintaining likeness of character

It is best to specify that the likeness of the character be maintained when making changes involving a character.

Reference Image


Transform the man into a viking warrior while preserving his exact facial features, eye color, and facial expression → This maintains the likeness while changing overall context.

Image Result with prompt: Transform the man into a viking warrior while preserving his exact facial features, eye color, and facial expression

Alternatively, Change the clothes to be a viking warrior → This maintains perfect identity and other elements while only modifying the specified element (in this case, the outfit of the character).

Image result with prompt: Change the clothes to be a viking warrior

💡 Tip: The usage of transform in a prompt will typically result in complete changes to the specified element. Alternative wording can be used if nuanced changes are desired.

Compositional control


This refers to editing backgrounds or changing scenes while maintaining the composition of the image. Simple prompts will typically change the composition somewhat. By specifying to maintain the placement / position, scale and pose of a character/ element, the composition can be better preserved.

Reference image


Put her on the beach is a vague prompt and will result in more overall (sometimes subtle) changes.

Result image with an simple prompt


With the prompt: ​Change the background and lighting to a beach. maintain exact composition, viewing angle, placement, pose, facial features and facial expression.

Result image with an longer prompt that includes specification for the preservation of pose and likeness.


This preserves the position and pose better.


FAQ

What is Omni Editing and the Inline Editor?

Omni Editing refers to the new way of editing generated images, powered by the new Omni models that have a strong contextual understanding of text and images. On Leonardo.Ai, Omni Editing is facilitated by the new Inline Editor, a prompt bar that appears when viewing a generated image, enabling effortless editing with chat-based instructions and Reference Images.

Can Omni Models and the Inline Editor edit my own photos or images?

Yes, you can upload Reference Images to guide your generations.

How does editing images with the Inline Editor work?

Simply click on a generated image to open the image viewer, where the Inline Editor will appear as a prompt box beneath it. From there, you can use simple instructional prompts or upload Reference Images to make the desired changes.

Did this answer your question?