Wiro - Imagen V4 Fast
AI-generatedOverview
This node integrates with the Wiro API to generate images based on a text prompt using the Imagen V4 Fast model. It is designed for scenarios where users want to create images quickly and cost-effectively from descriptive prompts, such as generating visual content for marketing, creative projects, or prototyping. The node supports customization of output count, seed for watermarking, prompt enhancement, aspect ratio, person generation settings, language, and safety filtering.
Use Case Examples
- Generate a single image from a creative prompt with default settings.
- Create multiple images (up to 4) from a prompt to choose the best one.
- Use the seed parameter to add an invisible watermark to generated images.
- Enhance the prompt using an LLM-based feature for higher quality image generation.
Properties
| Name | Meaning |
|---|---|
| Prompt | The text prompt used to generate the image. |
| Numberofoutputs | The number of images to generate (1 to 4). |
| Seed | Seed value for image generation; set to 0 to add an invisible watermark. |
| Enhance Prompt | Option to use an LLM-based prompt rewriting feature to improve image quality. |
| Add Watermark | Option to add an invisible watermark to generated images; automatically disabled if seed is not 0. |
| Aspect Ratio | Aspect ratio of the generated image. |
| Person Generation | Controls whether the model can generate people in images and their age groups. |
| Language | Language code corresponding to the prompt's language for better interpretation. |
| Safety Setting | Level of content filtering to block inappropriate prompts. |
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 (completed or failed).
Dependencies
- Wiro API with API key and secret for authentication
Troubleshooting
- If the API response lacks a valid task ID or socket access token, the node throws an error indicating an invalid response from the Wiro API.
- Task status codes -1, -2, -3, -4 indicate failure states; users should verify prompt content and API credentials if failures occur.
- Ensure the seed and watermark settings are consistent; watermark is only added if seed is 0.
Links
- Wiro API Documentation - Official documentation for the Wiro API used by this node.