Wiro - Face Transfer Sd Lora icon

Wiro - Face Transfer Sd Lora

Uses LoRA with stable diffusion to generate new photos from a given photo by prompt, keeping th

Wiro - Face Transfer Sd Lora

AI-generated

Overview

This node uses LoRA with stable diffusion to generate new photos from a given input photo based on a text prompt, while preserving facial features. It is useful for creative image generation, face transfer, and photo manipulation scenarios where users want to apply AI-driven transformations to images using customizable models and parameters.

Use Case Examples

  1. Generating new images from an input photo by specifying a prompt and LoRA models to apply artistic or stylistic changes.
  2. Using private or public LoRA models to influence the image generation process with control over inference steps, guidance scale, and output dimensions.

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 Direct URL to a LoRA model file (.safetensors) to apply during generation.
Input Image URL URL of the input image to use as the base for face transfer.
Prompt Text prompt describing the desired image generation output.
Negativeprompt Text prompt describing elements to avoid in the generated image.
Numberofoutputs Number of images to generate.
Inferencesteps Number of inference steps for the generation process.
Guidancescale Guidance scale controlling adherence to the prompt.
Faceidscale Scale factor for face identity preservation during generation.
Seed Random seed for reproducibility of results.
Width Width of the generated image.
Height Height of the generated image.
Scheduler Scheduler algorithm to use during image generation.

Output

JSON

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

Dependencies

  • Wiro API with API key and secret for authentication

Troubleshooting

  • If the API response does not contain a valid task ID or socket access token, the node throws an error indicating an invalid response from the Wiro API.
  • Task status codes '-1', '-2', '-3', and '-4' indicate failure states; users should check input parameters and API credentials if these occur.
  • Ensure the input image URL and model selections are valid and accessible to avoid generation errors.

Discussion