> ## Documentation Index
> Fetch the complete documentation index at: https://www.recraft.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Outpainting

Outpainting expands your image by generating new visual content beyond its original borders.

It’s especially useful for changing aspect ratios, extending compositions, or adapting existing images to new formats.

### How to use outpainting (two methods):

**Method 1**:

1. Double click on an image on the canvas.
2. A resizable frame will appear around the image. Click and drag the gray bars on any or all sides of the frame to your desired new size.
3. Click the **Expand** button.
4. Optionally, add a prompt in the box below to edit or enhance your image.

**Method 2**:

1. Add a **Frame** to your canvas.
2. Drag an existing image into the frame.
3. Leave the prompt unchanged, or add a short prompt if you want to influence the expansion.
4. Click the **generate button** in the prompt panel to generate new content around the original image.
5. Optionally, add additional elements (like text or overlays) inside the frame to include them in the final composition.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.