Wiro - Flux Kontext Dev icon

Wiro - Flux Kontext Dev

Flux Kontext is a tool for editing images based on text instructions

Wiro - Flux Kontext Dev

AI-generated

Overview

This node integrates with the Wiro Flux Kontext Dev API to edit images based on text instructions. It takes an input image URL and a prompt describing the desired modifications, along with optional parameters like inference steps, guidance scale, number of output samples, and a seed for randomness control. The node sends these inputs to the API, waits for the image processing task to complete by polling the task status, and then outputs the result status and URL of the processed image. This node is useful for automated image editing workflows where users want to generate or modify images using AI-driven text prompts.

Use Case Examples

  1. A user provides an image URL and a prompt to enhance or alter the image style, then receives the edited image URL after processing.
  2. Generating multiple variations of an input image by specifying the number of samples and guidance scale to control creativity and adherence to the prompt.

Properties

Name Meaning
Input Image URL URL of the image to be edited or processed.
Prompt Text instructions describing how the image should be edited or transformed.
Inferencesteps Number of inference steps to control the detail and quality of the image generation process.
Guidancescale Guidance scale to balance between prompt adherence and creativity in the output image.
Samples Number of output images to generate.
Seed Seed value for random number generation to ensure reproducibility of results.

Output

JSON

  • taskid - Identifier of the image processing task.
  • url - URL of the processed or generated image.
  • status - Status of the image processing task, e.g., 'completed' or 'failed'.

Dependencies

  • Wiro API credentials (API key and secret)

Troubleshooting

  • If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and that the API endpoint is reachable.
  • If the task status returns 'failed', check the input parameters for correctness and ensure the input image URL is accessible.
  • Network or authentication errors may occur if the API key or secret is invalid or expired; re-authenticate or update credentials as needed.

Links

Discussion