Wiro - Kolors Txt2Img
AI-generatedOverview
This node integrates with the Wiro Kolors text-to-image API to generate images based on a text prompt. It is useful for scenarios where users want to create images from descriptive text inputs, such as generating artwork, concept visuals, or creative content automatically. For example, a user can input a prompt describing a scene or object, specify parameters like image size and number of outputs, and receive generated images from the API.
Use Case Examples
- Generating multiple images of a fantasy landscape by providing a detailed prompt and setting the number of outputs.
- Creating variations of a product design by adjusting the prompt and seed values to explore different styles.
Properties
| Name | Meaning |
|---|---|
| Prompt | The text prompt describing the image to generate. |
| Negativeprompt | Text describing elements to exclude from the image generation. |
| Inferencesteps | Number of inference steps to control the quality and detail of the generated image. |
| Numberofoutputs | Number of images to generate. |
| Width | Width of the generated image in pixels. |
| Height | Height of the generated image in pixels. |
| Guidancescale | Guidance scale to influence how closely the image generation follows the prompt. |
| Seed | Seed value for random number generation to allow reproducible outputs. |
Output
JSON
taskid- Identifier of the image generation task.url- URL of the generated image if the task completed successfully.status- Status of the image generation task, e.g., 'completed' or 'failed'.
Dependencies
- Wiro API key and secret credentials for authentication
Troubleshooting
- If the API does not return 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 network connectivity.
- If the task status is '-1', '-2', '-3', or '-4', the task is marked as failed. Users should verify input parameters and API service status.
- Ensure that the prompt and other parameters are correctly set to avoid generation errors.