API Integration
Learn how to integrate Vtryon directly into your custom platform or application using our powerful API.
API Modules
Explore detailed documentation for each Vtryon API service.
How Vtryon API Works
Follow these steps to get your integration running.
How to Generate an API Token
Log in to your Vtryon web account and navigate to the API section to generate your unique x-api-key.
Navigate to Settings
Go to your dashboard and open the Settings page.
Access API Tokens
Click on the API Tokens tab from the settings menu.
Configure Your Token
Enter a meaningful Token Name. Set Expiration (preset durations, Custom calendar, or 'Never expire').
Generate the Token
Click the Generate API Token button.
Securely Copy Your Token
A pop-up will display your token. Click Copy Key and store it securely. For security, it won't be shown again.
Manage Tokens
Your new token will appear in the 'Your existing tokens' list, where you can view details or revoke it if needed.

Use API Externally
Incorporate the API key into your external applications, websites, or tools to access Vtryon services programmatically.
// Initialize with API Key
const apiKey = 'vtryon_key_***';
await fetch('https://api.vtryon.legresca.ai/v2/tryon/tasks/', {
method: 'POST',
headers: {
'x-api-key': apiKey,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
});
Authentication
All API requests must include your API key in the request header as shown below:
Required Request Header
Usage & Credits
Automatic Deduction
Credits are automatically deducted from your account for each successful API request.
Zero Balance Protocol
If your credit balance reaches zero, the API will stop processing requests until more credits are added.
Postman Collection
Download our complete Postman collection for hands-on testing.
Base URL
All API endpoints are relative to the following base URL:
Build custom fashion experiences
Our API is designed for scale. From e-commerce giants to boutique startups, Vtryon provides the infrastructure for next-gen digital retail.
What's Next?
Master the Vtryon API to build your own custom fashion applications.