baz.studio API

baz resource

Compile external resources into Bazaar video context and run them through the existing generator

baz resource [options] [command]
OptionDescription
-h, --helpdisplay help for command

baz resource compile

Compile a URL or file into a resource-video spec

baz resource compile [options] <source>
OptionDescription
--archetype <type>auto, one-page-infographic, article-to-editorial-data-story, research-report, product-announcement Default: auto.
--format <format>auto, landscape, portrait, square Default: auto.
--brand <ref>Brand reference to record in the spec
--skill <ref>Skill reference to record in the spec
--gold-briefEmit panel-map, layout-shell, scene-briefs, voiceover-script, timing-plan, verification criteria, and quality-bar
--output <path>Write spec JSON to a file
-h, --helpdisplay help for command

baz resource run

Create a normal Bazaar project from a resource-video spec and optionally generate

baz resource run [options] <spec>
OptionDescription
--project-name <name>Project name
--project-id <id>Use an existing project instead of creating a new one
--brand-file <path>Add this brand.md as brand + brand-preset context
--brand-profileUse saved profile brand.md as brand + brand-preset context
--skill <ref>Activate an existing saved skill by slug or context ID
--skill-file <path>Save and activate this local skill markdown
--runGenerate the video after context setup
--generateAlias for --run
--prompt <text>Override the generation prompt used with --run
--mode <mode>Generation mode: agent or agent-max Default: agent.
--budget <dollars>Max budget per run in USD
--allow-low-balanceStart generation even if balance is below the estimated budget for a complete resource video
--model <model>Agent model alias or full ID
-h, --helpdisplay help for command