The New Black AI

Colour Drop API

Colour Drop — workflow

A big word, then each look slides in on its own colour: the band, the tags and the line at the bottom take it. For a range in several colourways. Cut-out photos or clips (transparent background).

POST/v1/generateworkflow: motion_colour_drop-v1

One endpoint serves every workflow — this page documents motion_colour_drop-v1, the current version. Credits are debited at submission (1 cr/s standard, 1 cr/s pro); 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"motion_colour_drop-v1" required
slot_1Look 1 — one public HTTPS URL.required
slot_2Look 2 — one public HTTPS URL.required
slot_3Look 3 — one public HTTPS URL.
slot_4Look 4 — one public HTTPS URL.
fields.titleTitle. Defaults to “ESSENTIALS”.
fields.subtitleSubtitle. Defaults to “THE CORE COLLECTION”.
fields.tag_1Tag 1. Defaults to “HEAVYWEIGHT”.
fields.tag_2Tag 2. Defaults to “100% COTTON”.
fields.tag_3Tag 3. Defaults to “480 GSM”.
fields.tag_4Tag 4. Defaults to “OVERSIZED FIT”.
fields.footerBottom line. Defaults to “BUY 2 OR MORE — 15% OFF”.
fields.backgroundBackground. Defaults to “#EDEDE6”.
fields.colour_1Look 1 colour. Defaults to “#D9A3A8”.
fields.colour_2Look 2 colour. Defaults to “#C9A58A”.
fields.colour_3Look 3 colour. Defaults to “#8FAF9A”.
fields.colour_4Look 4 colour. Defaults to “#B8A98E”.
duration10 (seconds)
tier"standard" (1 cr/s), "pro" (1 cr/s)
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": "motion_colour_drop-v1",
    "slot_1": "https://example.com/image.jpg",
    "slot_2": "https://example.com/image.jpg",
    "slot_3": "https://example.com/image.jpg",
    "slot_4": "https://example.com/image.jpg",
    "fields": {
      "title": "ESSENTIALS",
      "subtitle": "THE CORE COLLECTION",
      "tag_1": "HEAVYWEIGHT",
      "tag_2": "100% COTTON",
      "tag_3": "480 GSM",
      "tag_4": "OVERSIZED FIT",
      "footer": "BUY 2 OR MORE — 15% OFF",
      "background": "#EDEDE6",
      "colour_1": "#D9A3A8",
      "colour_2": "#C9A58A",
      "colour_3": "#8FAF9A",
      "colour_4": "#B8A98E"
    },
    "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": "motion_colour_drop",
  "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 Colour Drop endpoint need?

slot_1 (Look 1), slot_2 (Look 2), slot_3 (Look 3, optional), slot_4 (Look 4, optional), fields.title (Title, optional), fields.subtitle (Subtitle, optional), fields.tag_1 (Tag 1, optional), fields.tag_2 (Tag 2, optional), fields.tag_3 (Tag 3, optional), fields.tag_4 (Tag 4, optional), fields.footer (Bottom line, optional), fields.background (Background, optional), fields.colour_1 (Look 1 colour, optional), fields.colour_2 (Look 2 colour, optional), fields.colour_3 (Look 3 colour, optional), fields.colour_4 (Look 4 colour, 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; a failed generation is refunded.

How much does it cost?

1 credit per second on the standard tier, 1 per second on pro. 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