Wiro - Text To Image Flux icon

Wiro - Text To Image Flux

Flux is a tool that generates images from text descriptions.

Wiro - Text To Image Flux

AI-generated

Overview

This node integrates with the Wiro API to generate images from text descriptions using a model called 'Text To Image Flux'. It is useful for scenarios where users want to create images based on textual prompts, such as generating artwork, visual content for marketing, or creative design mockups. The node sends parameters like the selected model, prompt text, inference steps, guidance scale, sample count, seed, and image dimensions to the API, then polls the task status until completion, returning the generated image URL or failure status.

Use Case Examples

  1. Generate an image of a futuristic cityscape by providing a descriptive prompt and adjusting inference steps and guidance scale for quality.
  2. Create multiple samples of a character design by setting the samples parameter to generate variations.
  3. Use a specific seed to reproduce a previously generated image with the same parameters.

Properties

Name Meaning
Select Model The model to be used for image generation.
Select Model Private A private model option for image generation, if available.
Prompt The text description used to generate the image.
Inferencesteps The number of inference steps to run during image generation.
Guidancescale The guidance scale parameter influencing image generation quality.
Samples The number of image samples to generate.
Seed The seed value for random number generation to reproduce results.
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

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.
  • Task status codes '-1', '-2', '-3', and '-4' indicate failure states; users should verify input parameters and API credentials.
  • Network or authentication errors may occur if API credentials are incorrect or expired.

Discussion