Ideogram
  • Welcome to Ideogram
  • Using Ideogram
    • Frequently Asked Questions
    • Getting Started
      • Signup and registration
      • User Management
      • Generating Images
      • The Basics, step-by-step
      • Downloading Images
    • Prompting Tips
      • Text and Typography
      • Importance of Precision
      • Using Magic Prompt
    • Ideogram Features
      • Aspect Ratios & Resolutions
      • Available Models
      • Replace/Remove Background
      • Batch Generation
      • Canvas
        • Extend
        • Generate & Remix
        • Magic Fill
        • Text tool
      • Color Palette
      • Creator Titles
      • Describe
      • Editor
      • Image Upload
      • Magic Prompt
      • Muting Other Users
      • Negative Prompt
      • Private Generations
      • Remix
      • Render Speed
      • Search
      • Seed Number
      • Style
      • Tile
      • Upscale
    • Ideogram API (beta)
  • Plans and Pricing
    • Plans & Pricing
      • Team Plan
    • Managing Your Subscription
  • About Ideogram
    • Company
    • Support
    • Blog Posts
    • Website
    • Discord
    • Twitter
    • Instagram
    • Ideogram Creators Club
    • Careers
    • Privacy Policy
    • Terms of Service
Powered by GitBook
On this page
  • How to use Extend
  • Extending an image
  • Refining while extending an image
  • Advanced and creative examples
  • Generate context around an object
  • Same subject in another image style
  • Tips and tricks for best results
  1. Using Ideogram
  2. Ideogram Features
  3. Canvas

Extend

PreviousCanvasNextGenerate & Remix

Last updated 17 days ago

Extend, also known as outpainting, lets you expand your image beyond its original edges. It can also modify existing parts of the image, similar to Magic Fill.

How to use Extend

It is best to review the page beforehand to gain a better understanding of its interface and various elements. This will help you more easily follow the steps in the examples shown below.

Extending an image

In the example below, the Extend function is used to generate a visual extension and add context that seamlessly blends around the main image.

Here's how to do it:

  1. Open or import the image in Canvas.

  2. Click the Extend button on the left-side panel.

  3. Reposition and resize the Extend generation window around the original image, leaving empty space around it where you want to add to the original image.

  1. Write a detailed prompt containing all visual aspect of the final image you want.

Here's the prompt used: A photo of a young boy holding a chocolate chip cookie beside a rustic kitchen table with a cookie jar full of cookies, a plate with two cookies and a glass of milk. He is wearing a white t-shirt and green overalls. The background is blurred, but it appears to be an indoor setting with a neutral color palette.

  1. Adjust any additional options, like Style and Magic Prompt, as desired.

  2. Click Extend to generate the images.

  3. Once the process is complete, you can cycle through the four generated images by selecting the generated image and clicking the left or right arrow in the menu at the bottom of the image.

Here's one of the four images that was generated:

Here's another example. This time, an image was extended in a panorama style format:


Refining while extending an image

In this example, two modifications will be done at the same time:

  • A man cutting vegetables will be added to the left side of the image.

  • The glass of water will be changed into a cup of coffee.

Here's how to do it:

  1. Click the Extend button on the left-side panel.

  2. Reposition and resize the Extend generation window to your liking, trying to keep the generation window as small as possible while keeping visual context for the AI to work with.

  1. Enter a prompt that describes:

    1. The part overlapping the original image.

    2. What should be generated where the image will be extended.

    3. The changes to be made to the masked areas.

Prompt used: A photo of a middle-aged woman with short hair holding a cup of hot coffee in a modern, white kitchen with wooden countertops. She is wearing a blue shirt and a necklace. A man is chopping vegetables on the counter beside her.

  1. Adjust any additional options as desired.

  2. Click Extend to generate the images.

  3. Select the image and use the arrows at the bottom to view all four generated options and choose the one you like.


Advanced and creative examples

The Extend tool can be used creatively to achieve impressive results. The examples below demonstrate how using the tool in creative ways can lead to surprising outcomes. For example, you can take an image of an object and create a whole environment around it.

The advanced techniques presented below sometimes push the tool to its limits. They are more about creative exploration and achieving good results can be challenging at times. Indeed, many factors influence the final rendering of the image like the prompt, the original image, the options used, etc.

Generate context around an object

In this example, a whole environment will be created around the image of a wine bottle.

Here's how to do it:

  1. Upload or copy/paste your image in Canvas.

  2. If possible, use the remove background tool to get a transparent background.

    1. Alternatively, you can mask out the areas around the object manually using the mask tools that will be available in the Extend tool after the next step.

  3. Click the Extend tool on the left-side panel.

  4. Reposition and resize the Extend generation window to your liking with the object inside the generation window.

  1. Write a detailed prompt that describe the image to be generated in details. Prompt used: A bottle of red wine labeled 'CASTLE CELLARS' is in a dimly lit room, featuring a wooden table and a candle. A glass of wine is near the bottle, and a cork is on the wooden surface. In the background, there are red and blue grapes. The label is embossed with intricate designs and the castle logo is prominently displayed in the center.

  2. Select the image and use the arrows at the bottom to view all four generated images and choose the one you like.

Same subject in another image style

In the example below, a woman in a photo will be transformed into a caricature.

Here's how:

  1. Open, upload or copy/paste your image in Canvas.

    1. It might be a good idea to have a good description of that image. If a prompt or description isn't already available, use the Describe feature to get one provided by the AI. It will be used later.

  1. Click Extend then resize an position the generation window in a way where the original image will be on one side and the other side will be about the same size as the original image.

  1. Write a detailed prompt that describe both the original image and the image you want to generate.

Prompt used: On the left, a woman with long, wavy, light brown hair and glasses. On the right, a hand drawn funny caricature portraying the same woman.

Style used: General

  1. Select the image and use the arrows at the bottom to view all four generated images and choose the one you like.

Here are other examples that were generated with the same technique, simply by changing the last part of the prompt and using appropriate style options.


Tips and tricks for best results

Achieving great results with Magic Fill and Extend, especially with advanced techniques, takes a mix of creativity, experimentation, and a bit of patience. Here are some key factors that can impact the final outcome:

  • Craft precise and detailed prompts – Clarity in wording helps the AI understand what to generate.

  • Experiment with synonyms and rephrase - Changing a few words or testing different ways of expressing the same idea in a prompt can make big difference.

  • Start with a high-quality image – The better the input, the better the output.

  • Consider the complexity of the image – Simpler modifications often yield more accurate results.

  • Optimize the generation window size – Keeping it as small as possible while including enough context leads to sharper and more realistic outcomes.

  • Manage your expectations – AI-generated results can vary, so refining your approach and testing different options is key to success.

By experimenting with different approaches, adjusting prompts, and fine-tuning generation settings, you can push the boundaries of what's possible and create stunning images.

Mask the glass of water with the to indicate it should be replaced in the generated image.

Experimenting with prompts and different options is often essential, but even then, results may vary. If you encounter difficulties, you can ask for help in the channel on our Discord server. Simply share your prompt, the generated image, and a brief description of the issue. Other users may be able to help you achieve better results.

#prompt-w-friend
Canvas
Masking Tools
Original image.
Placement of the original image within the frame and the empty space left around it.
Image selection in the bottom menu.
Final image.
Original image.
The generation window is resized horizontally into a banner-like format, with the image strategically placed for a well-balanced composition.
The final image.
The original image to be modified.
The resulting image after extending it on the left and changing a part of the original image.
The original wine bottle image.
Background removed and bottle placed in the generation window.
The final image of the bottle integrated into the decor.
Original image.
The generation window adjusted to overlap the original image and extend on the right side.
Final image as caricature.
... a cartoon character showing the same woman as if she was a schoolgirl. Style used: General
... a 3D character depicting the same woman as a chibi character. Style used: 3D
... a kid's coloring book page showing the same woman as if she was a mermaid. Style used: Realistic
... a pop art poster depicting the same woman as a pop art comic character. Style used: Design