AI Fashion Video API
A short fashion video from a prompt alone, from a start image you animate — with an optional end image the clip lands on — or from up to three reference pictures (a person, a garment, a place) put into a scene you describe. Billing is per second.
From $0.12 per second of video · 2.2 credits on the standard tier
How it works
1. Create an API key
Sign up and create a key in your profile, under API. It starts with
tnb_live_and goes in theAuthorizationheader. Creating a key needs no plan.2. Send the request
One
POST /v1/generatewith the workflowfreeform_video-v1and your pictures as public HTTPS URLs. Every value below is one this endpoint accepts.curl -X POST https://thenewblack.ai/api/v1/generate \ -H "Authorization: Bearer tnb_live_XXXXXXXXXXXX" \ -H "Content-Type: application/json" \ --data-binary @- <<'JSON' { "workflow": "freeform_video-v1", "prompt": "The model walks toward the camera, fabric flowing", "start_image": "https://example.com/start-frame.jpg", "fields": { "audio": "No music, natural environment sounds.", "speed": "Real speed" }, "duration": "5", "tier": "standard" } JSONconst res = await fetch("https://thenewblack.ai/api/v1/generate", { method: "POST", headers: { Authorization: `Bearer ${process.env.TNB_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "workflow": "freeform_video-v1", "prompt": "The model walks toward the camera, fabric flowing", "start_image": "https://example.com/start-frame.jpg", "fields": { "audio": "No music, natural environment sounds.", "speed": "Real speed" }, "duration": "5", "tier": "standard" }), }); const { generation_id, poll } = await res.json();import os, requests res = requests.post( "https://thenewblack.ai/api/v1/generate", headers={"Authorization": f"Bearer {os.environ['TNB_API_KEY']}"}, json={ "workflow": "freeform_video-v1", "prompt": "The model walks toward the camera, fabric flowing", "start_image": "https://example.com/start-frame.jpg", "fields": { "audio": "No music, natural environment sounds.", "speed": "Real speed", }, "duration": "5", "tier": "standard", }, ) generation_id = res.json()["generation_id"]npx @thenewblack/cli generate freeform_video \ --start_image ./start-frame.jpg \ --prompt 'The model walks toward the camera, fabric flowing' \ --audio 'No music, natural environment sounds.' \ --speed 'Real speed' \ --duration 5 \ --tier standard \ --wait --out results/
3. Get the result
The call answers at once with a
generation_id. PollGET /v1/generations/{id}until the status settles, or send awebhook_urland we POST the outcome to it.// 202 Accepted { "generation_id": "3f1c9a6e-...", "status": "running", "poll": "/api/v1/generations/3f1c9a6e-..." } // GET /v1/generations/3f1c9a6e-... → 200 OK { "generation_id": "3f1c9a6e-...", "workflow": "freeform_video", "status": "succeeded", "result": { "type": "video", "url": "https://.../result.mp4", "thumbnail": "https://.../thumb.webp" } }Results stay 48 hours on our URL: copy them to your own storage. Authentication, errors and webhooks are documented in the full API reference.
Parameters
/v1/generateworkflow: freeform_video-v1One endpoint serves every workflow; this page documents freeform_video-v1, the current version. Earlier versions, if any, keep being served under their own names.
| Parameter | Value for this workflow |
|---|---|
| workflow | "freeform_video-v1" required |
| prompt | Describe the creation or the change — English works best. |
| start_image | Start frame — one public HTTPS URL. |
| 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.”. |
| fields.speed | Speed. The pace of the clip: "Real speed" (the default) for natural, normal-speed movement; "Slow motion" for slowed-down movement.Real speed · Slow motionDefaults to “Real speed”. |
| duration | 5 · 10 · 15 (seconds) |
| end_image | Optional closing frame — one public HTTPS URL. |
| references | Optional, one to three public HTTPS URLs — a person, a garment, a place — put into a scene the prompt describes (name them Image 1, Image 2, Image 3). Replaces the start and end frames; never sent with them. |
| sound | Optional — "on" (default) keeps the clip's own sound, "off" makes it silent. |
| 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. |
Pricing
| Tier | Credits | What it makes | From |
|---|---|---|---|
| standard | 2.2 cr/s | 720p resolution video + fast generation | $0.12 |
| pro | 4.4 cr/s | 1080p resolution video + thinking process before generating | $0.24 |
| ultra | 23 cr/s | 1080p resolution video + deep thinking process before generating | $1.25 |
Credits are debited when the request is accepted, the seconds asked × the rate, rounded up to a whole credit; at most 1000; a failed generation is refunded automatically. Dollar prices are at the best credit price, $0.054 a credit (Enterprise, billed yearly). Credits come with plans and packs; new accounts start with free credits.
From Claude and from the terminal
The same workflow is the freeform_video tool of our MCP server for Claude, and tnb generate freeform_video in our command line (the CLI tab above), with the same parameters and the same prices.
Frequently asked questions
What does the video endpoint need?
A prompt and a duration from the allowed list. A start image is optional: with one, the clip animates it and keeps its aspect ratio; without one, you choose the format.
Can I use pictures as references instead of a start frame?
Yes — send references, one to three URLs, and name them in the prompt as Image 1, Image 2, Image 3: the video puts that person, that garment, that place into a new scene, in the format you choose. References replace start_image and end_image; a call with both is refused.
How is video billed?
Per second of output — see the per-second standard and pro prices in the catalogue.
How much does it cost?
2.2 credits per second of output on the standard tier, 4.4 on pro, 23 on ultra: the seconds asked × the rate, rounded up to a whole credit; at most 1000. At $0.054 a credit (Enterprise, billed yearly), that is $0.12 per second of video on standard. 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