The New Black AI

Outfit Morph API

Outfit Morph workflow

A fixed shot on your model as one look morphs into the next, with no cut. From a photo of your model and three garments.

From $0.12 per second of video · 2.2 credits on the standard tier

How it works

  1. 1. Create an API key

    Sign up and create a key in your profile, under API. It starts with tnb_live_ and goes in the Authorization header. Creating a key needs no plan.

  2. 2. Send the request

    One POST /v1/generate with the workflow outfit_morph-v1 and 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": "outfit_morph-v1",
      "model_image": "https://example.com/model.jpg",
      "garment_image_1": "https://example.com/image.jpg",
      "garment_image_2": "https://example.com/image.jpg",
      "garment_image_3": "https://example.com/image.jpg",
      "fields": {
        "decor": "a dark studio wall",
        "audio": "No music, natural environment sounds.",
        "speed": "Real speed"
      },
      "duration": "10",
      "tier": "standard"
    }
    JSON
  3. 3. Get the result

    The call answers at once with a generation_id. Poll GET /v1/generations/{id} until the status settles, or send a webhook_url and 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": "outfit_morph",
      "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

POST/v1/generateworkflow: outfit_morph-v1

One endpoint serves every workflow; this page documents outfit_morph-v1, the current version. Earlier versions, if any, keep being served under their own names.

ParameterValue for this workflow
workflow"outfit_morph-v1" required
model_imageModel — one public HTTPS URL.required
garment_image_1Look 1 — one public HTTPS URL.required
garment_image_2Look 2 — one public HTTPS URL.required
garment_image_3Look 3 — one public HTTPS URL.required
fields.decorSetting. What is behind them — a studio wall, a street, a room.Defaults to “a dark studio wall”.
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.”.
fields.detailsAdd details. Anything to add or change, in a sentence — it is added at the very end of the prompt.
fields.speedSpeed. 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”.
duration10 (seconds)
soundOptional — "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_urlOptional — we POST the outcome here when the generation settles. Without it, poll the URL returned in the response until the status settles.

Pricing

TierCreditsWhat it makesFrom
standard2.2 cr/s720p resolution video + fast generation$0.12
pro4.4 cr/s1080p resolution video + thinking process before generating$0.24
ultra23 cr/s1080p 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 outfit_morph tool of our MCP server for Claude, and tnb generate outfit_morph in our command line (the CLI tab above), with the same parameters and the same prices.

Frequently asked questions

What does the Outfit Morph endpoint need?

model_image (Model), garment_image_1 (Look 1), garment_image_2 (Look 2), garment_image_3 (Look 3), fields.decor (Setting, optional), fields.audio (Audio, optional), fields.details (Add details, optional), fields.speed (Speed, 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