The New Black AI

Detail Close-up Video API

Detail Close-up — workflow

The camera glides over your product's fabric, seams and details: one photo in, a macro clip out.

POST/v1/generateworkflow: detail_closeup-v1

One endpoint serves every workflow — this page documents detail_closeup-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.

ParameterValue for this workflow
workflow"detail_closeup-v1" required
product_imageProduct — one public HTTPS URL.required
fields.focusDetails to show. What the camera lingers on — the stitching, the buttons, the fabric texture.Defaults to “the stitching, the buttons and the fabric texture”.
fields.audioAudio. 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.”.
duration10 · 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_urlOptional — 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": "detail_closeup-v1",
    "product_image": "https://example.com/image.jpg",
    "fields": {
      "focus": "the stitching, the buttons and the fabric texture",
      "audio": "No music, natural environment sounds."
    },
    "duration": "10",
    "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": "detail_closeup",
  "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

What does the close-up endpoint need?

One product photo and the details to show — stitching, hardware, print, weave. The camera moves over them.

What is it for?

Product pages that need to show quality up close, without a macro shoot.

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