baz.studio API

baz.studio API

The baz CLI is the Bazaar API — programmatic motion-graphics video generation from your terminal, scripts, and agents.

Bazaar turns brand + skill + context + goal into rendered motion-graphics videos. There is no separate REST surface to learn: the baz CLI is the API. Everything the product can do — projects, prompting the autonomous agent, scene-level code edits, media generation, voiceovers, exports — is exposed as a command, with JSON output for programmatic use.

Install

npm install -g bazaar.it

Authenticate

baz auth login
baz auth status

Quickstart

# Create a project and generate a video with the autonomous agent
baz project create "Product launch teaser"
baz prompt "30s launch teaser for our analytics dashboard, dark theme, bold typography"

# Check progress and export
baz status
baz export

Agent mode

Set BAZ_AGENT=1 to make every command emit compact JSON — built for scripts, CI, and AI agents:

BAZ_AGENT=1 baz scenes list
baz prompt --stream-json --events-only "Add a pricing scene"

For machine-readable capability discovery, use baz capabilities --json.

Reference

The CLI reference documents every command with options, defaults, and examples. It is generated directly from the CLI's own help system, so it always matches the published version.

For LLMs and agents: /llms.txt is an index of these docs, and /llms-full.txt contains the complete reference in one file.