Wiro - Controlnet Inpainting Sd icon

Wiro - Controlnet Inpainting Sd

ControlNet is a neural network structure to control diffusion models by adding extra conditions

Wiro - Controlnet Inpainting Sd

AI-generated

Overview

This node integrates with the Wiro API to perform ControlNet inpainting using Stable Diffusion models. It allows users to input an image and a mask, specify various parameters such as model selection, prompts, inference steps, guidance scale, and output dimensions, and then processes the image to generate inpainted results. This node is useful for scenarios where precise image editing or enhancement is needed by controlling diffusion models with additional conditions, such as removing or modifying parts of an image based on a mask.

Use Case Examples

  1. A user wants to remove an object from a photo and fill the area realistically using AI inpainting.
  2. An artist needs to generate variations of an image with specific prompts and controlnet models to guide the output.
  3. A developer integrates this node in an automation workflow to batch process images for content creation or restoration.

Properties

Name Meaning
Select Model The primary model selected for the inpainting task.
Select Model Private A private model option for inpainting, if available.
Input Image URL URL of the input image to be inpainted.
Input Image Mask URL URL of the mask image defining areas to be inpainted.
Select Controlnet Model One or more ControlNet models to guide the inpainting process.
Controlnet Preprocess Boolean flag to enable or disable ControlNet preprocessing.
Prompt Text prompt guiding the inpainting generation.
Negativeprompt Text prompt specifying what to avoid in the output.
Numberofoutputs Number of output images to generate.
Inferencesteps Number of inference steps for the diffusion process.
Guidancescale Guidance scale controlling the influence of the prompt.
Strength Strength parameter affecting the inpainting effect.
Seed Seed value for random number generation to ensure reproducibility.
Scheduler Scheduler algorithm used for the diffusion process.
Width Width of the output image.
Height Height of the output image.

Output

JSON

  • taskid - Identifier of the inpainting task assigned by the Wiro API.
  • url - URL of the generated inpainted image after task completion.
  • status - Status of the inpainting task, e.g., 'completed' or 'failed'.

Dependencies

  • Wiro API with API key and secret for authentication

Troubleshooting

  • If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and the API endpoint is reachable.
  • If the task status returns 'failed', check the input parameters such as image URLs, model selections, and prompt validity.
  • Network issues or API rate limits may cause polling to fail; ensure stable internet connection and valid API usage limits.

Discussion