Wiro - Virtual Try-on
AI-generatedOverview
This node integrates with the Wiro Virtual Try-On API to create hyper-realistic images or videos of apparel fitting on a person. It allows users to upload a photo of a person and images of garments or accessories, then generates a virtual try-on output based on selected photography style, posture, shot type, and output format. This is useful for fashion retailers, designers, or marketing teams who want to showcase how clothing looks on a model without physical trials.
Use Case Examples
- A fashion e-commerce site uses this node to generate images of customers virtually trying on clothes before purchase.
- A designer creates promotional videos showing different outfits on a model using the virtual try-on technology.
Properties
| Name | Meaning |
|---|---|
| Human Image URL | URL of the photo of the person who will model the outfit, required input. |
| Garment Images URL | URL(s) of garment and accessory images to try on, up to 2 images allowed. |
| Photography Style | Selects the photography style and environment for the output image. |
| Posture | Selects the body posture for the model in the output. |
| Shot Type | Selects the framing/composition type of the output image. |
| Output Type | Selects the output format type. |
Output
JSON
taskid- The unique identifier of the virtual try-on task.url- The URL of the generated image or video output.status- The status of the task, either 'completed' or 'failed'.
Dependencies
- Wiro API key and secret credentials for authentication
Troubleshooting
- If the API response does not include a valid task ID or socket access token, the node throws an error indicating invalid response from Wiro API.
- Network or authentication issues may cause HTTP request failures; ensure API credentials are correct and network connectivity is stable.
- If the polling for task completion returns error codes (-1, -2, -3, -4), the task status is marked as 'failed'. Check the input parameters and API limits.
Links
- Wiro Virtual Try-On API - Official website and API documentation for Wiro Virtual Try-On service.