Wiro - Text To Image Flux Lora icon

Wiro - Text To Image Flux Lora

Flux is a tool that generates images from text descriptions. With LoRA models, you can enhance

Wiro - Text To Image Flux Lora

AI-generated

Overview

This node integrates with the Wiro API to generate images from text prompts using Flux with LoRA models. It allows users to specify various parameters such as the base model, LoRA models (including private and URL-based models), prompt text, inference steps, guidance scale, number of samples, seed, and image dimensions. The node sends these parameters to the Wiro API, initiates the image generation task, and polls until the task completes, returning the status and URL of the generated image. This node is useful for automating image creation workflows based on textual descriptions, especially when enhanced with LoRA models for improved image quality or style.

Use Case Examples

  1. Generating an image from a descriptive prompt for creative projects.
  2. Automating the creation of multiple image samples with different seeds or parameters.
  3. Using private or URL-based LoRA models to customize image generation.

Properties

Name Meaning
Select Model The base model to use for image generation.
Select Model Private A private base model option for image generation.
Select Lora Model The LoRA model to enhance the image generation.
Select Lora Model Private A private LoRA model option for image generation.
Lo RA Model Url A direct URL to a LoRA model file (.safetensors) to apply during generation.
Prompt The text prompt describing the image to generate.
Inferencesteps The number of inference steps to perform during image generation.
Guidancescale The guidance scale parameter influencing image generation.
Samples The number of image samples to generate.
Seed The seed value for random number generation to ensure reproducibility.
Width The width of the generated image.
Height The height of the generated image.

Output

JSON

  • taskid - The unique identifier of 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 with API key and secret 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. Check API credentials and request parameters.
  • Task status codes '-1', '-2', '-3', or '-4' indicate failure states; ensure the prompt and model parameters are valid and the API service is operational.
  • Network or authentication issues may prevent successful polling of the task status; verify network connectivity and API key/secret validity.

Discussion