Wiro - Portrait Transfer Sd Lora icon

Wiro - Portrait Transfer Sd Lora

Employs LoRA with stable diffusion to generate new portrait images from a photo based on prompt

Wiro - Portrait Transfer Sd Lora

AI-generated

Overview

This node, named 'Wiro - Portrait Transfer Sd Lora', uses LoRA with stable diffusion to generate new portrait images from an input photo based on a user-provided prompt. It is useful for transforming or enhancing portrait images by applying AI-driven image generation techniques. For example, users can input a portrait image URL and a descriptive prompt to create stylized or modified versions of the portrait.

Use Case Examples

  1. Generate a new portrait image from an existing photo by specifying a prompt and selecting a model.
  2. Apply a LoRA model to an input portrait image to create artistic variations.
  3. Use multiple input images and LoRA models to influence the portrait generation process.

Properties

Name Meaning
Select Model The main model to use for image generation.
Select Model Private A private model option for image generation.
Select Lora Model One or more LoRA models to apply during generation.
Select Lora Model Private Private LoRA models to apply during generation.
Lo RA Model Url A direct URL to a LoRA model file (.safetensors) to apply during generation.
Input Image URL URL of the primary input image for portrait transformation.
Input Image2 URL URL of a secondary input image for portrait transformation.
Input Image3 URL URL of a tertiary input image for portrait transformation.
Input Image4 URL URL of a fourth input image for portrait transformation.
Input Image5 URL URL of a fifth input image for portrait transformation.
Prompt The text prompt guiding the image generation process.
Negativeprompt Text prompt specifying what to avoid in the generated image.
Numberofoutputs Number of output images to generate.
Inferencesteps Number of inference steps for the generation process.
Guidancescale Guidance scale controlling the influence of the prompt.
Seed Seed value for random number generation to ensure reproducibility.
Width Width of the generated image.
Height Height of the generated image.
Scheduler Scheduler algorithm used during image generation.

Output

JSON

  • taskid - The unique identifier of the image generation task.
  • url - The URL of the generated portrait image if the task completed successfully.
  • status - The status of the image generation task, e.g., 'completed' or 'failed'.

Dependencies

  • An API key credential for the Wiro API

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 the API credentials are correct and the API service is operational.
  • If the task status returned from polling is '-1', '-2', '-3', or '-4', the node marks the task as 'failed'. These codes likely indicate different failure modes from the API. Check the API documentation or logs for more details on these error codes.
  • Network or authentication issues may cause the HTTP request to fail. Verify network connectivity and API key validity.

Discussion