Wiro - Controlnet Sd icon

Wiro - Controlnet Sd

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

Wiro - Controlnet Sd

AI-generated

Overview

This node integrates with the Wiro ControlNet Stable Diffusion API to generate images based on user-defined parameters such as model selection, prompts, controlnet models, and image generation settings. It is useful for automating image generation workflows where users want to control diffusion models with additional conditions, such as specific prompts, negative prompts, and controlnet preprocessing options. Practical examples include generating AI art, enhancing images with controlnet models, or experimenting with different diffusion schedulers and seeds.

Use Case Examples

  1. Generate multiple images from a text prompt with specific controlnet models enabled.
  2. Use a private model with custom scheduler and seed to produce consistent image outputs.
  3. Enable controlnet preprocessing to refine image generation based on additional controlnet inputs.

Properties

Name Meaning
Select Model The primary model to be used for image generation.
Select Model Private A private model option for image generation, if available.
Select Controlnet Model One or more controlnet models to apply additional conditions to the diffusion process.
Controlnet Preprocess Boolean flag to enable or disable controlnet preprocessing.
Prompt The main text prompt guiding the image generation.
Negativeprompt Text prompt specifying what should be excluded or minimized in the generated image.
Numberofoutputs The number of image samples to generate.
Inferencesteps The number of inference steps to run during image generation.
Guidancescale The guidance scale controlling the influence of the prompt on the image generation.
Seed Seed value for random number generation to ensure reproducibility.
Scheduler The scheduler algorithm to use for the diffusion process.
Width Width of the generated image in pixels.
Height Height of the generated image in pixels.

Output

JSON

  • taskid - The unique identifier for the image generation task.
  • url - The URL of the generated image once the task is completed.
  • status - The status of the image generation task, e.g., 'completed' or 'failed'.

Dependencies

  • Wiro API key and secret credentials for authentication

Troubleshooting

  • If the API response does not include a valid task ID or socket access token, the node throws an error indicating an invalid response from the Wiro API. Ensure that the API credentials are correct and the API endpoint is reachable.
  • Task status codes '-1', '-2', '-3', and '-4' indicate failure states. Users should verify input parameters and network connectivity.
  • If the polling for task completion fails or times out, check the socket access token validity and network stability.

Discussion