Wiro - Professional Headshot
AI-generatedOverview
This node integrates with the Wiro API to create polished professional headshots from a reference image. It is useful for users who want to enhance or refine their photos automatically, such as professionals needing high-quality headshots for resumes, social media profiles, or corporate websites. The node accepts an image URL and customization options like background, safety tolerance, aspect ratio, seed, and output format, then processes the image through the Wiro API and returns the resulting image URL and status.
Use Case Examples
- A user provides a URL of a casual photo and selects a white background with a 1:1 aspect ratio to generate a professional headshot for LinkedIn.
- A photographer uses the node to batch process client images, setting different backgrounds and output formats for various client needs.
Properties
| Name | Meaning |
|---|---|
| Image URL | URL of the image to use as a reference for generating the professional headshot. Must be jpeg or png format. |
| Background | Background option for the generated headshot image. Choices include Black, Gray, Neutral, Office, and White. |
| Safety Tolerance | Tolerance level for input and output moderation, ranging from 0 (most strict) to 6 (least strict). Default is 2. |
| Aspect Ratio | Aspect ratio of the generated image. Options include common ratios like 1:1, 16:9, 4:3, and an option to match the input image's aspect ratio. |
| Seed | Seed value to influence the image generation randomness or style. |
| Output Format | Format of the generated image output, either jpeg or png. |
Output
JSON
taskid- Identifier of the image generation task.url- URL of the generated professional headshot image.status- Status of the image generation task, e.g., 'completed' or 'failed'.
Dependencies
- Wiro API with 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 operational.
- Network or HTTP request failures can occur; ensure the node has internet access and the Wiro API endpoint is reachable.
- If the output status is 'failed', check the input image URL and parameters for correctness and compliance with Wiro API requirements.
Links
- Wiro API Documentation - Official documentation for the Wiro API used by this node.