Skip to main content
This node modifies specific areas of an image based on a text prompt and a mask. It uses the Recraft API to intelligently edit only the masked regions while keeping the rest of the image unchanged.

Inputs

Note: The image and mask must be provided together for the inpainting operation to work. The mask will be automatically resized to match the image dimensions. The prompt is validated and has a maximum length of 1000 characters. If a style_id from the Infinite Style Library is used, ensure it is not a Vector art style, as this may cause the API to return SVG data instead of an image.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 64493a418224f4a01c6b6511581d31f92189852a32b41d9748629e57782bd511