Wiro - Text To Image Sd
AI-generatedOverview
This node integrates with the Wiro API to generate images from text prompts using a diffusion model. It is useful for scenarios where users want to create images based on descriptive text inputs, such as generating artwork, concept visuals, or creative content from textual descriptions. For example, a user can input a prompt describing a scene or object, and the node will produce corresponding images using the selected model and parameters.
Use Case Examples
- Generating artistic images from a text description for creative projects.
- Creating concept visuals for design or storytelling based on textual prompts.
Properties
| Name | Meaning |
|---|---|
| Select Model | The diffusion model to use for image generation. |
| Select Model Private | Private model selection for image generation. |
| Prompt | The text prompt describing the image to generate. |
| Negativeprompt | Text describing what should be excluded from the generated image. |
| Numberofoutputs | Number of images to generate. |
| Inferencesteps | Number of inference steps for the diffusion process. |
| Guidancescale | Guidance scale controlling the adherence to the prompt. |
| Seed | Seed value for random number generation to ensure reproducibility. |
| Clip Skip | Number of layers to skip in the CLIP model. |
| Width | Width of the generated image in pixels. |
| Height | Height of the generated image in pixels. |
| Scheduler | Scheduler algorithm used during the diffusion process. |
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 with API key and secret for authentication
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 from the Wiro API. Verify API credentials and request parameters.
- Task status codes '-1', '-2', '-3', and '-4' indicate failure states; ensure the prompt and parameters are valid and the API service is operational.
- Network or authentication issues may cause HTTP request failures; check API key, secret, and network connectivity.
Links
- Wiro API Documentation - Official documentation for the Wiro API used by this node.