AI product video orchestrator — add image, video, and sound generation to any AI tool
pip install brandly-cli==0.14.0 Copy PIP instructions
AI product video orchestrator — plan, generate, and publish professional product videos with AI. Works from the terminal, or from any AI assistant (OpenCode, Codex, Qwen Code, Claude Code, Cursor, …) through agent tools and an MCP server.
Brandly turns a product idea into a finished video. You describe the product; Brandly plans the shots, generates the footage, checks the quality, and exports it for the platforms you want — TikTok, Instagram, YouTube, or a plain MP4.
Everything runs from one command, brandly, with 83 commands behind it. You never have to use all of them: the quick start below uses five.
pip install brandly-cli 2. Get an API key Sign up at Agnes AI Copy your API key Set it as an environment variable: export AGNES_API_KEY="your_key_here" # add to ~/.bashrc or ~/.zshrc to make it permanent Or let Brandly sync your existing AI-tool configs automatically:
brandly sync 3. Create your first project brandly init -n "My Product" -i "A sleek wireless charger that doubles as a desk lamp" That's it — one command, one idea. Add -s cinematic for a cinematic style or -b 200 to set a credit budget when you're ready for more control.
# let the pipeline run phase by phase (stops for your approval at human gates) brandly run --execute --until publish Or run it one phase at a time — script writes the shot list, asset generates the shots, validate checks quality, publish exports.
brandly timeline # visual timeline editor in your browser brandly status # text status: what exists, what's next How it works Brandly runs your project through a fixed sequence of phases. Each phase has a clear job, and each one refuses to continue on failure — so a broken step never quietly produces bad footage downstream.
init → trends → concept → script → asset → audio → re_edit → validate → publish Phase What it does What you get init Records your product, style, and budget A project folder on disk trends Researches current video formats for your style docs/plan/trends.md concept Derives the creative concept from your brief docs/plan/concept.md script Breaks the concept into shots with beat structure shots.json — the shot list asset Generates each shot (reference image first, then clips) Clips on disk, one file per shot audio Generates background music sized to the film production/ /audio/music.mp3 re_edit Mixes the music into the final cut final.mp4 validate Scores the finished video for virality A validation report publish Exports per platform and schedules posts Platform-ready files + scheduled posts You approve at the gates (brandly approve ); Brandly handles the rest. Everything it does is visible: brandly plan --json shows each phase's inputs and outputs, brandly cost shows what was spent, brandly scenes shows the shot manifest.
brandly init -n "Product Name" -i "Brief description" -s cinematic brandly status # review the plan brandly approve script # approve the shot list brandly run --execute --until asset # generate shots (resumable) brandly gate --all-scenes # quality check brandly run --execute --until publish # assemble & export Driving brandly from an AI tool Brandly exposes 22 agent-callable tools through its MCP server — the same operations as the CLI, packaged for AI tools:
brandly mcp serve # start the MCP server brandly tools --json # list all 22 tools with read-only flags brandly tools call produce --project_id --shots 5 Ten tools are read-only (safe for an agent to call without asking): list_projects, get_project, list_jobs, list_models, get_timeline, run_gate, plan, status, progress, estimate. Twelve write state — including approve, which stays a human gate on purpose: an AI can ask for approval, but a person decides.
For a full walkthrough of driving Brandly from an AI tool:
brandly director # print the Director prompt for your AI tool Command cheat sheet 83 commands, grouped by what you're trying to do. Run brandly --help for any of them.
brandly init -n "Name" -i "Idea" -s cinematic -b 500 # new project brandly list # all projects brandly status # what exists, what's next brandly pause / brandly resume # pause and resume brandly cancel # cancel a project brandly template / brandly template-list # reusable project templates The pipeline brandly run --execute --until produce # run phase by phase brandly run --execute --only shot-03 shot-07 # regenerate specific shots brandly approve # human gate approval brandly plan --json # phase contracts: inputs/outputs brandly scenes --json # the shot manifest brandly script # validate beat completeness brandly produce --shots shots.json --interval 60 # manual shot-by-shot run Generation brandly video -p "prompt" --style commercial # single video clip brandly image -p "prompt" # single image brandly reference # the primary reference image brandly music # background music brandly tts # voiceover brandly batch # variants of a base prompt brandly storyboard # keyframes for each shot brandly ark-video / minimax-video # other providers Quality brandly gate --all-scenes # all scenes, checked brandly gate --element ./clip.mp4 --ref ./ref.png # one element vs its reference brandly gate-drift # cross-shot prompt drift check brandly validate # virality scoring brandly analyze / brandly analyze-project # performance prediction Post-production brandly assemble # assemble the final film brandly stitch c1.mp4 c2.mp4 --output final.mp4 # stitch clips brandly captions # burned-in subtitles brandly beat-sync # cut to the beat brandly voice-match --target es # dub to another language brandly mux # mix narration/music into a video brandly thumbnail --style cinematic # thumbnails Export & publish brandly export --platforms tiktok,instagram,youtube # platform renders brandly export-platforms # 9:16 / 1:1 / 16:9 formats brandly publish --dry-run # preview the posts brandly publish --platforms tiktok,instagram # schedule them brandly config set tiktok # store credentials brandly share # upload to cloud for sharing Money & limits brandly estimate --style cinematic --shots 8 # cost before you start brandly estimate --target-duration 120 # quota-aware plan (warns + multi-day split) brandly cost --breakdown # what each phase spent brandly record-cost --phase asset --credits 40 # record actual spend brandly rate-limits # provider rate limits brandly models / brandly model # what models are available Media utilities brandly probe # video metadata brandly resize # resize / change aspect ratio brandly speed # playback speed brandly edit # trim to a segment brandly concat a.mp4 b.mp4 # concatenate brandly audio # extract the audio track brandly optimize-refs # split a large reference into small + HQ pair Tools & integration brandly mcp serve # MCP server for AI tools brandly tools --json # the 22-tool agent surface brandly director # the Director prompt brandly capabilities # capability map per persona brandly sync # auto-detect AI-tool configs brandly webhook # webhook server for CI/CD brandly team # multi-user collaboration brandly report # report a bug or request a feature Built-in safety Brandly is designed to fail loudly and spend carefully:
Register your character and product references once, and every shot stays consistent:
brandly reference --image char.png --subject-type character brandly reference --image prop.png --subject-type prop For keyframe-controlled clips (start and end frames fixed):
brandly video -p "transition" --mode keyframe --first-frame start.png --last-frame end.png Monitoring & debugging brandly status # project dashboard brandly progress # detailed phase progress brandly cost --breakdown # spending brandly rate-limits # provider rate limits & daily quota brandly jobs # recent API jobs brandly job-resume # recover a crashed job brandly job-poll # poll a job to completion brandly timeline --port 8765 # visual editor brandly metrics # platform metrics ingest brandly brand # brand-kit enforcement (logo/colour/claim lock) Configuration brandly config show # view current config brandly config set tiktok "access_token=..." brandly config set instagram "access_token=..." brandly config set youtube "client_id=... client_secret=..." brandly memory show # your preferences (budget, defaults) Environment variables:
export AGNES_API_KEY="..." # required for Agnes video/image export BRANDLY_IMAGE_CONVERT=off # disable automatic image compression export BRANDLY_WEB_PORT=8765 # timeline editor port For developers Architecture, pipeline internals, and the provider seam State model All state lives in .brandly/ / on disk — disk is the only shared state, so runs are resumable and inspectable:
.brandly/ / ├── project.json # product, style, budget, phase state ├── shots.json # canonical shot list (produce + gate-drift resolve this) ├── cost.json # per-phase spend ├── scenes.json # scene manifest with beats and durations ├── docs/plan/ # trends.md, concept.md ├── pre-production/ # reference plates, storyboards └── production/ # clips, audio, final.mp4 Pipeline guarantees Each phase is fail-closed: failure freezes current_phase and exits non-zero. Phase handoffs are explicit contracts — brandly plan --json lists every phase's inputs, outputs, and gate command (PHASE_HANDOFF_SPECS). Shot generation is rate-limited (1 request/minute by default) with durable job polling. Key modules Module Responsibility agnes_client.py Agnes AI HTTP client (retry, backoff, 503 handling) shot_runner.py Resumable shot-by-shot generation, clip measurement, continuation takes scenes.py Scene manifest + beat validation (REQUIRED_BEATS, BEAT_DURATIONS) quality_gate.py Deterministic + AI-vision verification (UNVERIFIED is never PASS) director.py Director prompt + orchestration plan stitch.py FFmpeg assembly (transitions, ratio, color) export_platforms.py Platform-specific renders (9:16, 1:1, 16:9) cost_tracker.py Per-phase budgeting + daily quota tracking agent_surface.py The 22-tool MCP surface (tool surface = CLI surface) video_backend.py VideoBackend protocol — pluggable video providers Provider seam Video generation depends on a VideoBackend protocol, not a concrete client — Agnes is one implementation. Adding another provider:
from brandly_cli.video_backend import VideoBackend, VideoBackendCapabilities class MyBackend(VideoBackend): def capabilities(self) -> VideoBackendCapabilities: ... async def submit(self, ...) -> ...: ... async def poll(self, ...) -> ...: ... async def fetch(self, ...) -> ...: ... Then pass video_backend=MyBackend() in RunnerConfig.
pip install -e ".[dev]" # dev dependencies make test # full suite (Python + web contracts) make lint # ruff + oxlint + mypy + import-linter cd web && npm run dev # web UI development pip wheel . -w dist/ # build the wheel Pipeline governance: AUDIT-AGENTIC-PIPELINE.md is the single source of truth for open gaps.
If Brandly helps you create better product videos, please consider starring the repository on GitHub — it helps others discover the project and motivates continued development.
agent agentic ai ai blender 3d brandly cli content creation creative ai director agent generation image keyframe video marketing video multi-agent orchestrator pipeline orchestration product video reference video social media spatial reference video video production
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.




