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
| Value | Use for |
|---|---|
tops | Shirts, tops, jackets, and similar upper-body garments |
bottoms | Pants, skirts, shorts, and similar lower-body garments |
one-pieces | Dresses, 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.