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

# Generative Fill (Node)

> Fill, replace, or extend a masked area of an image from a prompt, inside a workflow.

## Summary

The Generative Fill Node fills, replaces, or extends part of an image using AI, based on a masked region and a prompt. It's the workflow-canvas equivalent of the Generative Fill tool available elsewhere in the app's image editing surfaces (for example, in the Photoshop and Figma plugin panels) — brush a mask, describe what should appear there, and the node generates content that blends into the rest of the image.

## How to Use

**1. Add the Node**

Click the Add (+) button and select **Generative Fill** from the Image node category.

**2. Connect an image and define a mask**

Link an image from another node or upload one, then mark the region you want to fill, replace, or extend.

**3. Describe the fill**

Write a prompt describing what should appear in the masked area.

**4. Run**

Click Run. The node outputs the image with the masked region filled according to your prompt.

## Sample Use Cases

> [accordion] Removing or replacing an object
>
> Mask an unwanted object in a generated or uploaded image and describe what should replace it.

> [accordion] Extending an image beyond its frame
>
> Mask the edge of an image and describe what should continue into the newly added space.


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