Wiro - Generate icon

Wiro - Generate

Reve Generate API docs with examples, integration tutorials, authentication details, and pricin

Wiro - Generate

AI-generated

Overview

This node integrates with the Wiro AI image generation API to create images based on a user-provided text prompt and specified aspect ratio. It is useful for automating image creation workflows where visual content is generated dynamically from descriptive text inputs. For example, it can be used in marketing automation to generate custom images for social media posts or in creative projects to visualize concepts from textual descriptions.

Use Case Examples

  1. Generating an image with a prompt 'sunset over mountains' and aspect ratio 16:9.
  2. Creating a square image (1:1) from a prompt describing a product design.

Properties

Name Meaning
Prompt The text prompt used to generate the image. This is a required input that describes what the image should depict.
Aspect Ratio The aspect ratio of the generated image, controlling its width-to-height ratio. Options include common ratios like 1:1, 16:9, 2:3, etc.

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, indicating if it is 'completed' or 'failed'.

Dependencies

  • Wiro API with API key and secret for authentication

Troubleshooting

  • If the node throws an error about missing task ID or socket access token, it means the Wiro API response was invalid or incomplete. Check API credentials and request parameters.
  • If the task status is 'failed', the image generation did not succeed. Review the prompt and aspect ratio inputs for correctness.
  • Network or authentication errors may occur if API keys are incorrect or expired. Verify credentials and network connectivity.

Links

  • Wiro API Documentation - Official documentation for the Wiro API including authentication and usage details.

Discussion