baz.studio API

baz template

Browse and apply templates

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

baz template list

List available templates

baz template list [options]
OptionDescription
--catalog <catalog>Catalog scope: curated or all Default: curated.
--include-multisceneInclude multi-scene templates
--category <category>Filter by category
--format <format>Filter by format: landscape, portrait, square
--search <query>Search templates by name/description
--limit <n>Max results Default: 20.
-h, --helpdisplay help for command

baz template recommend

Recommend templates for a prompt

baz template recommend [options] <prompt>
OptionDescription
--catalog <catalog>Catalog scope: curated or all Default: curated.
--include-multisceneInclude multi-scene templates
--limit <n>Max recommendations Default: 5.
-h, --helpdisplay help for command

baz template show

Show template details

baz template show [options] <template-id>
OptionDescription
--codeInclude TSX template code
--output <path>Write TSX code to file (implies --code)
-h, --helpdisplay help for command

baz template apply

Add template scene(s) to a project

baz template apply [options] <template-id>
OptionDescription
--project-id <id>Override active project
-h, --helpdisplay help for command

baz template publish

Enterprise / service accounts. Used by managed content pipelines; requires a service account on a Business plan.

Publish a project as a community template (admin beta)

baz template publish [options]
OptionDescription
--name <name>Template name
--project-id <id>Override active project
--scene-ids <ids>Comma-separated scene UUIDs (defaults to all active project scenes)
--description <description>Template description
--category <category>Template category
--tags <tags>Comma-separated tags
--formats <formats>Comma-separated formats: landscape, portrait, square
--preview-url <url>Preview video URL
--var <key=value>Declare editable variable (repeatable)
--dry-runValidate and score publish payload without writing
-h, --helpdisplay help for command