API Documentation

Integrate Loomix virtual try-on into your application with our REST API. Simple, fast, and well-documented.

Get Running in 3 Calls

Sign up, verify, and submit your first try-on job

1Sign Up
curl -X POST https://vton.botmartz.com/api/auth/signup \
  -H "Content-Type: application/json" \
  -d '{"username":"demo","email":"demo@example.com"}'
2Verify OTP
curl -X POST https://vton.botmartz.com/api/auth/verify-otp \
  -H "Content-Type: application/json" \
  -d '{"username":"demo","otp":"123456"}'

# Response: { "access_token": "eyJ...", "refresh_token": "..." }
3Try On
curl -X POST https://vton.botmartz.com/api/tryon \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -F "human_image=@person.jpg" \
  -F "garment_image=@shirt.jpg" \
  -F "garment_description=a blue t-shirt" \
  -F "category=upper_body"

Authentication

Pass your JWT token as a Bearer token in the Authorization header. Tokens expire after 30 minutes — use the refresh token to get a new one.

Base URL

https://vton.botmartz.com/api

Rate Limits

Free: 5 requests/day · Pro: 100/day · Enterprise: Unlimited. Exceeding limits returns 429.

Endpoints

Ready to Build?

Create your free account and start integrating virtual try-on today.

View Plans