Developer platform

A secure virtual try-on API for fashion ecommerce

Integrate clothing, saree, jewellery, and accessory virtual try-on with authenticated uploads, asynchronous jobs, webhooks, and protected results.

TryRobe AI virtual try-on workflow showing person and fashion product inputs with a generated result
Person image + product reference → protected virtual try-on result
Direct answer

What is a virtual try-on API?

A virtual try-on API lets a merchant backend submit a person image and wearable product image to a generation service through a documented interface. TryRobe returns an asynchronous job ID, protects credit operations with database transactions, supports idempotent retries, and provides completion through status polling or signed webhooks and protected result links.

TryRobe's Business API is designed for backend-to-backend use. License keys must never be embedded in storefront JavaScript or mobile binaries. URL validation, upload limits, image checks, rate limits, capacity controls, short-lived delivery URLs, and merchant-scoped authorization protect the workflow.

What this workflow provides

Two submission modes

Use HTTPS image URLs or multipart upload depending on the merchant architecture.

Reliable async jobs

Submit once, retry safely with idempotency keys, and recover from interrupted workers or delayed callbacks.

Signed completion

Validate webhook signatures or poll the authenticated job endpoint before presenting a result.

How it works

  1. 1Keep the Business license key in a secure server environment.
  2. 2Send person and product inputs with a unique idempotency key.
  3. 3Persist the returned job ID.
  4. 4Validate webhook signatures or poll job status.
  5. 5Use the protected output URL before it expires.

Supported context

POST /v1/tryon
POST /v1/tryon/upload
GET /v1/tryon/:jobId
GET /v1/credits/balance
Signed webhooks
Idempotent requests
Authentication
Server-side license key
Transport
HTTPS
Processing
Asynchronous
Retry safety
Idempotency-Key

Questions and factual answers

Can I call the API directly from browser JavaScript?

No. A Business license key is a secret and should be used only from a merchant-controlled backend or protected serverless function.

How should production completion be handled?

Use signed webhooks for event-driven completion and retain status polling as a recovery path. Handlers should be idempotent.

How much does one Business generation cost?

A standard Business generation uses 10 credits. Business credits are priced at ₹2 each in INR; advanced multi-image generation uses the configured higher credit cost.

Continue exploring TryRobe

Choose the TryRobe path that matches your workflow.

Start with one complimentary standard generation or create a Business workspace for API access.

Get API access