Wiro - Glm Image
AI-generatedOverview
This node integrates with the GLM Image API by ZAI on Wiro to process or generate images based on an input image URL and a text prompt. It allows users to specify parameters such as inference steps, guidance scale, number of samples, seed, and output image dimensions (width and height). The node sends a request to the API, waits for the task to complete by polling, and then outputs the task status and resulting image URL. This node is useful for scenarios involving AI-driven image generation or transformation, such as creating variations of an image or generating images from textual descriptions.
Use Case Examples
- Generating new images from a text prompt with specific style and dimensions.
- Transforming an input image by applying AI-based modifications using a prompt.
- Batch processing multiple samples of images with controlled randomness using seed and steps.
Properties
| Name | Meaning |
|---|---|
| Input Image URL | URL of the file for input image URL. |
| Prompt | Text prompt to guide the image generation or transformation process. |
| Inferencesteps | Number of inference steps to control the image generation process. |
| Guidancescale | Guidance scale parameter to influence the adherence to the prompt. |
| Samples | Number of image samples to process or generate. |
| Seed | Seed value to control randomness in image generation. |
| Width | Width of the output image. |
| Height | Height of the output image. |
Output
JSON
taskid- Identifier of the image generation task.url- URL of the generated or processed image.status- Status of the image generation task, e.g., 'completed' or 'failed'.
Dependencies
- Wiro API credentials (API key and secret) for authentication.
Troubleshooting
- If the node throws an error about 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 is 'failed', check the input parameters for correctness and ensure the API service is operational.
- Network issues or incorrect API keys can cause HTTP request failures; ensure network connectivity and valid credentials.
Links
- Wiro GLM Image API Documentation - Official API endpoint used by the node for image generation.