Wiro - Text To Image Hidreamai I1
AI-generatedOverview
This node integrates with the Wiro AI API to generate images from text prompts using the HiDream AI I1 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. Users provide parameters like the prompt, negative prompt, model selection, inference steps, guidance scale, image dimensions, and other generation settings.
Use Case Examples
- Generating an image of a futuristic cityscape by providing a detailed text prompt.
- Creating multiple samples of an abstract painting by adjusting the number of samples and seed values.
- Excluding unwanted elements from the generated image using the negative prompt field.
Properties
| Name | Meaning |
|---|---|
| Select Model | The AI model to use for image generation. |
| Select Model Private | Private model selection for image generation. |
| Prompt | The main text prompt describing the image to generate. |
| Negativeprompt | Text specifying elements to exclude from the generated image. |
| Inferencesteps | Number of inference steps to run during image generation. |
| Guidancescale | Scale for classifier-free guidance to influence image quality and adherence to the prompt. |
| Flow Shift | Adjusts the timing or order of processing during generation. |
| Samples | Number of image samples to generate. |
| Seed | Random seed for reproducibility; leave empty or zero to randomize. |
| Width | Width of the generated image in pixels. |
| Height | Height of the generated 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 key and secret credentials 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.
- Network or authentication issues may cause HTTP request failures; ensure valid API credentials are provided.
- If the polling for task completion fails or returns error codes (-1 to -4), the task status is marked as 'failed'. Verify the prompt and parameters for correctness.