The New Black AI

Fashion Ad Video API

Fashion Ad — workflow

A short cinematic spot around your product, with music and a voice-over line: send the product image and the message.

POST/v1/generateworkflow: fashion_ad-v1

One endpoint serves every workflow — this page documents fashion_ad-v1, the current version. Credits are debited at submission (2.2 cr/s standard, 4.4 cr/s pro); a failed generation is refunded automatically. Earlier versions of this endpoint, if any, keep being served under their own names. This workflow needs an active plan.

ParameterValue for this workflow
workflow"fashion_ad-v1" required
product_imageProduct — one public HTTPS URL.required
fields.messageVoice-over line. The one sentence the ad says about the piece, in the brand's voice.
duration15 · 20 · 30 (seconds)
tier"standard" (2.2 cr/s) or "pro" (4.4 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": "fashion_ad-v1",
    "product_image": "https://example.com/image.jpg",
    "fields": {
      "message": "Made to be worn every day, for years"
    },
    "duration": "15",
    "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": "fashion_ad",
  "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 fashion ad endpoint return?

A 15, 20 or 30 second clip built around your product — camera moves, music and your line spoken over it — ready for paid social.

Can I write the voice-over?

Yes — the message field is the line spoken in the spot, word for word.

How much does it cost?

2.2 credits per second on the standard tier, 4.4 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