The New Black AI

AI Fashion CLI for Claude Code, Codex and Cursor

AI coding agents cannot make images. The New Black AI gives them a command: tnb, published on npm as @thenewblack/cli, runs every workflow of the studio from a terminal, uploads your local product photos and writes the renders beside them, under readable names.

Updated 20 September 2026

  1. 1Install and sign in
  2. 2One line per render
  3. 3Let the agent loop
AI Fashion CLI for Claude Code, Codex and Cursor
Editorial fashion photograph generated with The New Black AI

How it works

1

Install and sign in

npx @thenewblack/cli --help runs it without installing; tnb login asks once for your API key, or TNB_API_KEY on a server.

2

One line per render

tnb generate product_to_model --product_images ./green-dress.jpg --prompt "AI model wearing the product" --ratio 4:5 --wait --out ./renders/

3

Let the agent loop

Open Claude Code, Codex or Cursor on a folder of photos and say what you want: one command per photo, a report beside the renders.

Why it matters

A folder of product photos and an agent that never opens a website: that is the scenario the CLI exists for. The upload, the wait and the download are handled; what is left is the instruction.

Read more in AI fashion images from the command line. Reference on the CLI page.

Frequently asked questions

Which agents?+

Claude Code, Codex, Cursor, and anything that can run a command.

Where do the renders go?+

Next to the originals, in the folder you name, with a readable file name per workflow.

Does it need Node?+

Node 18 or later.

Try it yourself

Everything on this page was made in the studio. Your first designs are minutes away.

Open the studio