Wiro - Flux Kontext Dev With 2 Image icon

Wiro - Flux Kontext Dev With 2 Image

Flux Kontext is an AI tool that allows you to edit images using simple text instructions. Descr

Wiro - Flux Kontext Dev With 2 Image

AI-generated

Overview

This node integrates with the Wiro AI service to edit images using text instructions and two input images. It sends a request to the Wiro API with parameters including two image URLs, a prompt, inference steps, guidance scale, number of samples, and a seed. The node then polls the task status until completion and outputs the result, which includes the task ID, status, and the URL of the processed image. This node is useful for scenarios where users want to generate or modify images based on textual prompts and two reference images, such as creative image editing or AI-assisted design.

Use Case Examples

  1. A user provides two image URLs and a descriptive prompt to generate a new image that combines elements from both images according to the prompt.
  2. A designer uses the node to create variations of an image by adjusting inference steps, guidance scale, and seed values.

Properties

Name Meaning
Input Image URL The URL of the first input image used for editing or reference.
Input Image URL The URL of the second input image used for editing or reference.
Prompt The text instruction describing how to edit or generate the image. This is a required field.
Inferencesteps The number of inference steps to run during image generation or editing.
Guidancescale The guidance scale parameter influencing the strength of adherence to the prompt during generation.
Samples The number of output images to generate.
Seed The seed value for random number generation to ensure reproducibility of results.

Output

JSON

  • taskid - The unique identifier of the image processing task.
  • url - The URL of the generated or edited image after task completion.
  • status - The status of the task, indicating whether it completed successfully or failed.

Dependencies

  • Wiro API credentials including an API key and secret for authentication.

Troubleshooting

  • If the node throws an error stating that the Wiro API did not return a valid task ID or socket access token, verify that the API credentials are correct and that the API endpoint is reachable.
  • If the task status returns as failed (-1, -2, -3, or -4), check the input parameters for correctness and ensure the images are accessible via the provided URLs.
  • Network issues or invalid authentication headers may cause the HTTP request to fail; ensure network connectivity and valid credentials.

Links

Discussion