Wiro - P Image
AI-generatedOverview
This node integrates with the Wiro P-Image API to generate images from text prompts. It is useful for scenarios where users want to create images based on descriptive text inputs, such as generating artwork, visual content for marketing, or creative design elements. For example, a user can input a prompt describing a scene or object, specify the aspect ratio, and optionally set a random seed or disable the safety checker to customize the image generation process.
Use Case Examples
- Generating a 1:1 aspect ratio image of a sunset over mountains by providing a descriptive prompt.
- Creating a 16:9 aspect ratio image for a website banner using a specific seed for reproducibility.
- Disabling the safety checker to allow generation of images without content filtering.
Properties
| Name | Meaning |
|---|---|
| Prompt | Text input for the image generation prompt, describing what the image should depict. |
| Aspect Ratio | Selects the aspect ratio for the generated image, affecting its width-to-height ratio. |
| Seed | Random seed for image generation; leave empty or zero to randomize the seed. |
| Safety Checker | Option to disable the safety checker that filters generated images for inappropriate content. |
Output
JSON
taskid- The unique identifier for the image generation task.url- The URL of the generated image if the task completed successfully.status- The status of the image generation task, e.g., 'completed' or 'failed'.
Dependencies
- Wiro API credentials including an API key and secret for authentication.
Troubleshooting
- If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and that the API service is reachable.
- If the image generation task status is 'failed', check the prompt and parameters for validity and try again.
- Network or authentication errors may occur if the API key or secret are incorrect or expired; ensure credentials are up to date.
Links
- Wiro P-Image API Endpoint - The API endpoint used by the node to request image generation.