Virtual Try-On Video API
Your model wears your garment and moves: two photos in, a short try-on clip out.
/v1/generateworkflow: tryon_video-v1One endpoint serves every workflow — this page documents tryon_video-v1, the current version. Credits are debited at submission (2.2 cr/s standard, 4.4 cr/s pro, 23 cr/s ultra); a failed generation is refunded automatically. Earlier versions of this endpoint, if any, keep being served under their own names.
| Parameter | Value for this workflow |
|---|---|
| workflow | "tryon_video-v1" required |
| model_image | Model — one public HTTPS URL.required |
| garment_image | Product — one public HTTPS URL.required |
| fields.movement | Movement. What the model does — turns slowly, walks a few steps, poses.Defaults to “turns slowly and looks at the camera”. |
| fields.audio | Audio. The sound of the clip — music, voices, ambience. Leave the default for the natural sounds of the scene.Defaults to “No music, natural environment sounds.”. |
| duration | 5 · 10 · 15 · 20 · 30 (seconds) |
| tier | "standard" (2.2 cr/s), "pro" (4.4 cr/s) or "ultra" (23 cr/s) — 1080p on our top video model |
| webhook_url | Optional — we POST the outcome here when the generation settles. Without it, poll the URL returned in the response until the status settles. |
Example request
curl -X POST https://thenewblack.ai/api/v1/generate \
-H "Authorization: Bearer tnb_live_XXXXXXXXXXXX" \
-H "Content-Type: application/json" \
-d '{
"workflow": "tryon_video-v1",
"model_image": "https://example.com/model.jpg",
"garment_image": "https://example.com/garment.jpg",
"fields": {
"movement": "turns slowly on the spot, a full 360 turn",
"audio": "No music, natural environment sounds."
},
"duration": "5",
"tier": "standard"
}'// 202 Accepted
{
"generation_id": "3f1c9a6e-...",
"status": "running",
"poll": "/api/v1/generations/3f1c9a6e-..."
}Example response
Poll /v1/generations/{id} (or receive the webhook) until the generation settles:
// 200 OK
{
"generation_id": "3f1c9a6e-...",
"workflow": "tryon_video",
"status": "succeeded",
"result": {
"type": "video",
"url": "https://.../result.mp4",
"thumbnail": "https://.../thumb.webp"
}
}Results are stored for 48 hours — copy them to your own storage. Authentication, errors and webhooks are documented in the full API reference.
Frequently asked questions
How is this different from the image try-on?
The image endpoint returns one still of the model wearing the garment; this one returns a clip where the dressed model moves as you describe.
What are the two images?
The model photo first, then the garment photo — a flat-lay or ghost-mannequin shot works best.
How much does it cost?
2.2 credits per second on the standard tier, 4.4 per second on pro, 23 per second on ultra. Credits come with plans and packs; a failed generation is always refunded.
Other endpoints: Virtual Try-On API · AI Fashion Models API · Fashion Design API · Reimagine Model API · Swap Model API · AI Stylist API · all endpoints