Predictions
Create a new prediction
Submit a prediction request for AI-powered fashion processing. Supports multiple model types including:
- Virtual try-on (tryon-v1.6)
- Model creation (model-create)
- Model variation (model-variation)
- Model swap (model-swap)
- Product to model (product-to-model)
- Face to model (face-to-model)
- Background operations (background-remove, background-change)
- Image reframing (reframe)
- Image to video (image-to-video)
- Image editing (edit)
All requests use the versioned format with model_name and inputs structure.
post/v1/run
Query parameters
webhook_urlstring uri
Example:https://example.com/webhook
Optional webhook URL to receive completion notifications
Request body
Example request
{
"inputs": {
"model_image": "https://example.com/model.jpg",
"garment_image": "https://example.com/garment.jpg"
}
}Response
Prediction created successfully
Example response
{
"id": "12345678-1234-5678-9012-123456789012"
}