Detail Zoom Rush API
A fast detail reel: the camera rushes in on one detail of the look, pulls back and rushes in on the next, in one move. From a photo of your model in the outfit.
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 workflowdetail_zoom_rush-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": "detail_zoom_rush-v1", "source_image": "https://example.com/image.jpg", "fields": { "focus": "the collar, the buttons, the fabric texture, the accessories and the face", "audio": "No music, natural environment sounds." }, "duration": "10", "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": "detail_zoom_rush-v1", "source_image": "https://example.com/image.jpg", "fields": { "focus": "the collar, the buttons, the fabric texture, the accessories and the face", "audio": "No music, natural environment sounds." }, "duration": "10", "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": "detail_zoom_rush-v1", "source_image": "https://example.com/image.jpg", "fields": { "focus": "the collar, the buttons, the fabric texture, the accessories and the face", "audio": "No music, natural environment sounds.", }, "duration": "10", "tier": "standard", }, ) generation_id = res.json()["generation_id"]npx @thenewblack/cli generate detail_zoom_rush \ --source_image ./image.jpg \ --focus 'the collar, the buttons, the fabric texture, the accessories and the face' \ --audio 'No music, natural environment sounds.' \ --duration 10 \ --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": "detail_zoom_rush", "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: detail_zoom_rush-v1One endpoint serves every workflow; this page documents detail_zoom_rush-v1, the current version. Earlier versions, if any, keep being served under their own names.
| Parameter | Value for this workflow |
|---|---|
| workflow | "detail_zoom_rush-v1" required |
| source_image | Photo — one public HTTPS URL.required |
| fields.focus | Details to show. What the camera rushes to — collar, buttons, fabric, accessories, face.Defaults to “the collar, the buttons, the fabric texture, the accessories and the face”. |
| 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.details | Add details. Anything to add or change, in a sentence — it is added at the very end of the prompt. |
| duration | 10 (seconds) |
| 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 detail_zoom_rush tool of our MCP server for Claude, and tnb generate detail_zoom_rush in our command line (the CLI tab above), with the same parameters and the same prices.
Frequently asked questions
What does the Detail Zoom Rush endpoint need?
source_image (Photo), fields.focus (Details to show, optional), fields.audio (Audio, optional), fields.details (Add details, optional) — all as listed in the parameter table above, and in GET /v1/catalog.
How is it billed?
Per second of output, at the standard, pro or ultra rate shown above — the seconds asked × the rate, rounded up to a whole credit; at most 1000. A failed generation is refunded.
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