Wiro - Image To Image Sd
AI-generatedOverview
This node integrates with the Wiro API to perform image-to-image generation using a Stable Diffusion model. It takes an input image URL and a text prompt, along with various parameters such as negative prompt, number of outputs, inference steps, guidance scale, strength, seed, scheduler type, and output image dimensions. The node sends these parameters to the Wiro API, initiates the image generation task, and polls until the task is complete. It then outputs the status and the URL of the generated image. This node is useful for transforming existing images into AI-generated art based on textual prompts, suitable for creative projects, digital art generation, and image enhancement workflows.
Use Case Examples
- Transform an input image into a stylized AI art piece by providing a descriptive prompt and adjusting parameters like guidance scale and strength.
- Generate multiple variations of an input image by setting the number of outputs and using different seeds for randomness.
- Use the scheduler options to experiment with different diffusion schedulers for varied artistic effects.
Properties
| Name | Meaning |
|---|---|
| Select Model | The AI model to use for image-to-image generation. |
| Select Model Private | A private model option for image-to-image generation. |
| Input Image URL | URL of the input image to be transformed. |
| Prompt | Text prompt describing the desired transformation or style for the image. |
| Negativeprompt | Text prompt describing elements to avoid in the generated image. |
| Numberofoutputs | Number of output images to generate. |
| Inferencesteps | Number of inference steps for the diffusion process. |
| Guidancescale | Guidance scale controlling adherence to the prompt. |
| Strength | Strength of the transformation applied to the input image. |
| Seed | Seed value for random number generation to ensure reproducibility. |
| Scheduler | Diffusion scheduler algorithm to use during generation. |
| Width | Width of the output image in pixels. |
| Height | Height of the output image in pixels. |
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 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, such as valid image URL, prompt, and model selection.
- Network issues or API rate limits may cause polling to fail; ensure stable internet connection and valid API usage limits.
Links
- Wiro API Documentation - Official documentation for the Wiro API used by this node.