Generate 360° Virtual Try-On Videos for Clothing with Kling API (Unofficial)
### What's the workflow used for? Leverage this Kling API (unofficial) provided by [**PiAPI**](https://piapi.ai) workflow to streamline virtual try-on video creation. This tool is designed for **e-commerce platforms**, **fashion brands**, **content creators**, and **content influencers**. By uploading model and clothing images and linking PiAPI account, users can swiftly generate a realistic video of the model sporting the outfit with a 360° turn, offering an immersive viewing experience. ### Step-by-step Instruction For basic settings of virtual try-on, check [API doc](https://piapi.ai/docs/kling-api/virtual-try-on-api) to get the best practice. 1. Fill in your X-API-Key of your PiAPI account in Preset Parameters node.  2. Upload the model photo and provide target clothing image URLs. 3. Click **Test Workflow** to generate the virtual try-on image. 4. Get the video output in the final node. ### Param Settings 1. If you want to change into a dress, input the `model_input` URL and the `dress_input` URL in the parameters. 2. If you want to change into separates, input `model_input` URL, `upper_input` URL, and `lower_input` URL in **Preset Parameters**.  ### Use Case Input images:   **Output Video** <video src=https://static.piapi.ai/n8n-instruction/virtual-try-on/example1.mp4 controls /> The output demonstrates that the model is wearing the clothing from the specified image and showcases a rotating runway-style view. This workflow enables you to efficiently test garment-on-model presentation effects while reducing business model validation costs to a certain extent.
What's the workflow used for?
Leverage this Kling API (unofficial) provided by PiAPI workflow to streamline virtual try-on video creation. This tool is designed for e-commerce platforms, fashion brands, content creators, and content influencers. By uploading model and clothing images and linking PiAPI account, users can swiftly generate a realistic video of the model sporting the outfit with a 360° turn, offering an immersive viewing experience.
Step-by-step Instruction
For basic settings of virtual try-on, check API doc to get the best practice.
- Fill in your X-API-Key of your PiAPI account in Preset Parameters node.

- Upload the model photo and provide target clothing image URLs.
- Click Test Workflow to generate the virtual try-on image.
- Get the video output in the final node.
Param Settings
- If you want to change into a dress, input the
model_inputURL and thedress_inputURL in the parameters. - If you want to change into separates, input
model_inputURL,upper_inputURL, andlower_inputURL in Preset Parameters.
Use Case
Input images:

Output Video <video src=https://static.piapi.ai/n8n-instruction/virtual-try-on/example1.mp4 controls />
The output demonstrates that the model is wearing the clothing from the specified image and showcases a rotating runway-style view.
This workflow enables you to efficiently test garment-on-model presentation effects while reducing business model validation costs to a certain extent.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
E-commerce Store Automation Suite
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related E-commerce workflows
- Automate AI-Generated Virtual Try-On Images for WooCommerce$14.99
- Automate E-commerce Visual Content Creation with AI$19.99
- Automate Multilingual Shopify Product Descriptions with AI Vision Analysis$4.99
- Automate Shopify SEO Content Creation with GPT-4 & Claude Multi-Agent System$24.99
- Automate 3D Product Video Creation from 2D Images for E-Commerce$14.99
- Create a Smart Shopping Assistant with Persistent Memory Using Zep, GPT-4, and Google Sheets$4.99
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.