DrapeItOnDrapeItOn
Concepts

Categories

Garment categories required on every generation request.

Categories

Every generation requires a category so the try-on model can treat the garment correctly.

Allowed values

ValueUse for
topsShirts, tops, jackets, and similar upper-body garments
bottomsPants, skirts, shorts, and similar lower-body garments
one-piecesDresses, jumpsuits, and similar full-body garments

These are the only accepted values on POST /v1/generations. Other strings fail validation.

Why it matters

Passing the wrong category can degrade visual quality. Choose the category that best matches how the garment is worn on the body, not the product department name alone.

On this page