How it works
Give Kinetry a lesson, guide or policy and a company website. A model decides what to say, how the brand looks and which look fits. Everything after that is plain code, so the same plan, brand and voice always give the same frames.
You can review and edit the plan (plain JSON) before rendering, or skip planning and render a plan you wrote. Every model output is recorded, so any run can be replayed without calling a model again.
Features
kinetry demo makes a video on your machine with no account, no keys and no model calls.Quick start
Needs Python 3.10+, Node.js 22+ and FFmpeg.
# install, then fetch the pinned renderer and browser
pip install "kinetry[llms,kokoro]"
kinetry setup
kinetry demo # a 40-second video, no keys needed
# a brand, a plan you can review, then the video
kinetry brand https://example.com --save brands/example
kinetry plan lesson.md --section 2 --out plan.json
kinetry run --plan plan.json --brand brands/example --out lesson.mp4
# or in one step, choosing the look yourself
kinetry run lesson.md --style warm --format 9:16 --captions --effects subtle --out shift.mp4
The first narration with the free local voice downloads its model (about 350 MB), so the first run takes a few minutes longer. Planning from your own content needs a model: set KINETRY_LLM and the provider's key, or pass --llm.
Optional extras: bedrock, anthropic, openai, google (or llms for all four), kokoro (free local voice), docs (Word, PowerPoint, PDF), service, mcp, or all.
Or describe the video in plain words and let the brief agent fill in the request:
kinetry brief "a 60-second vertical how-to for new nurses on hand hygiene, in Spanish, with captions"
LMS packages
A video becomes a lesson your learning platform can import, in one more step:
# a video and its LMS package (lesson.zip) in one run
kinetry run lesson.md --brand brands/acme --out lesson.mp4 --package scorm12
# or package a finished run: SCORM 2004, four questions, 75% to pass
kinetry package RUN_DIR --out lesson.zip --standard scorm2004 --quiz 4 --mastery 75
# a plain zip for any website, no quiz
kinetry package RUN_DIR --out lesson-web.zip --standard web --quiz off
- The package holds the video, captions (with speaker names in dialogues), chapters, a synced transcript and an optional knowledge check of 1 to 6 questions.
- Each question must quote its source word for word, or it's dropped. Bring your own questions with
--quiz-file. - Only what was actually watched counts: skipping ahead doesn't. The score, pass or fail, progress and session time go to the LMS, and learners resume where they left off.
Over HTTP, add "package": {"standard": "scorm12", "quiz": 3} to POST /v1/videos and download it from GET /v1/videos/{id}/package.
Many languages
A reviewed video becomes the same video in other languages, as one batch:
# languages the free local voice speaks need nothing more
kinetry localize plan.json --to es,fr,zh --brand brands/acme --out-dir out/i18n
# others take a cloud voice; add an LMS package per language
kinetry localize out/run --to de,ar --out-dir out/i18n --package scorm12 \
--voice de=inworld:<voice> --voice ar=inworld:<voice>
Only the words change: scenes, layouts, brand and order stay as reviewed, and each language gets its own voice and timing. Languages the local voice speaks need nothing more; others take a cloud voice, and every language is checked for one before anything runs. Add --translate-only to review the translated plans first.
Python API
For a Python service, a pipeline step or a batch worker:
from kinetry import Kinetry, load_source
tf = Kinetry(llm="anthropic:claude-sonnet-5-5") # or openai:..., bedrock:<model id>, ...
pack = tf.brand("https://example.com") # BrandPack: kit + logo; pack.save("brands/example")
plan = tf.plan(load_source("lesson.md", section=2), brand=pack,
design={"format": "9:16"}) # a VideoPlan: review, edit, store
tf.preview(plan, brand=pack, out_dir="storyboard") # one silent frame per scene, in seconds
result = tf.render(plan, brand=pack, out="lesson-2.mp4", music="bed.mp3")
print(result.status, result.video, result.qa_frames)
result.status is done, needs_review (text still didn't fit after the repair rounds), check_failed or error. report.json in the run folder says why.
HTTP service
For other languages, many callers or a queue: run kinetry serve or the Docker image. Jobs start, you poll or get a signed callback, and finished videos can be uploaded to S3-compatible storage.
| Endpoint | What it does |
|---|---|
POST /v1/brands | Read a brand from a website: {"url": "https://customer.example"} |
POST /v1/sources | Upload a .docx, .pptx or .pdf and get its sections (/v1/sources/url for a web page) |
POST /v1/briefs | Turn a chat message into a structured request |
POST /v1/plans | Write the plan from a source and a brand |
POST /v1/videos | Render a plan (add callback_url to be called back) |
GET /v1/videos/{id} | Job status, the video, and the model and voice used |
GET /v1/videos/{id}/package | The LMS package, when the request asked for one |
GET /v1/catalog, GET /v1/kinds | Every style, scene type, layout and video kind |
curl -X POST https://kinetry.your-company.internal/v1/videos \
-H "Authorization: Bearer $KINETRY_API_KEY" -H "Content-Type: application/json" \
-d '{"plan": {...}, "brand_id": "acme", "voice": "kokoro:af_heart",
"callback_url": "https://lms.example/hooks/video-ready"}'
Each request can bring its own model and key ("llm": {...}). Operators decide whether callers may choose models and voices.
Agents: MCP and LangChain
For an agent that should make videos as one of its tools:
# any MCP client (Claude, Cursor, ...)
kinetry mcp
# LangChain / LangGraph
from kinetry.integrations.langchain import make_tools
tools = make_tools() # list_design_options, create_brand, plan_video, start_video, video_status
| You have | Use |
|---|---|
| A Python service or pipeline | from kinetry import Kinetry |
| Services in other languages, or many callers | kinetry serve or the Docker image |
| A LangChain or LangGraph agent | make_tools() |
| An MCP-capable agent or IDE | kinetry mcp |
| A batch job, such as a course builder | The Python API in a worker, or the HTTP API from your queue |
Sources
| Source | Split into sections by |
|---|---|
| Markdown, text, saved HTML, JSON | ## headings |
| Word (.docx) | Heading 1; lists and tables kept as text |
| PowerPoint (.pptx) | One per slide, slide text and speaker notes |
| Bookmarks, else groups of five pages; headers and page numbers removed | |
| Web page | Its headings, main content only |
| Audio or video recording | Transcribed first (Inworld speech-to-text) |
Pictures appear only when you list them, each with a note on what it shows. Lottie animations come in the same way.
Models
Pick any provider and model, and bring your own key.
| Spec | Key |
|---|---|
anthropic:claude-sonnet-5-5 | ANTHROPIC_API_KEY |
openai:gpt-4.1 | OPENAI_API_KEY |
bedrock:<model id> | The AWS credential chain, or a Bedrock API key |
google:gemini-2.5-pro | GOOGLE_API_KEY |
azure:<deployment> | AZURE_OPENAI_API_KEY and your endpoint |
openai_compatible:<model> | OpenRouter, Groq, Together, vLLM, LiteLLM and others |
A second, cheaper model can handle copy rewrites (--llm-fast). Models without tool calling work through a JSON-schema fallback.
Cost: about $0.06–0.11 in model calls for a 90-second video with Claude Sonnet on Bedrock and the free local voice. Cloud voices cost extra. A render takes about 4–5 minutes on 2 vCPUs.
Voices and languages
| Spec | Voice |
|---|---|
kokoro:af_heart, … | Free and local on CPU: 54 voices |
inworld:<voice> | Inworld built-in or cloned voices |
openai:coral, … | OpenAI text to speech |
elevenlabs:<voice_id> | Any voice in your ElevenLabs library |
voicestudio:<profile> | A saved or designed voice on your own VoiceStudio server |
| Your own object | Anything with synthesize(text, out_path) |
The local voice narrates English, Spanish, French, Italian, Brazilian Portuguese, Hindi and Mandarin. Cloud voices cover Japanese, Farsi, Arabic, Hebrew, Urdu and more, and right-to-left scripts are laid out right to left. Voice cloning is off unless the operator turns it on, and always needs a consent recording from the speaker.
The look
| Layer | Options |
|---|---|
| Scene types | Title, steps, checklists, timelines, comparisons, do/don't, stats, charts, quotes, dialogues, chat threads, code, decisions, annotated screens and more: 29 in all |
| Styles | Editorial, technical, warm, bold, minimal, corporate, classic |
| Formats | 16:9, 9:16 and 1:1 (captions on by default for the last two) |
| Transitions | Exit, cut, fade, push, rise, iris, wipe, scan, scribble |
| Motion layers | Camera, kinetic type and ambient light, each off, subtle or rich; illustration and 3D depth when you ask for them |
Leave any choice to the creative director or pin it. A brand profile holds a company's standing choices: allowed styles, a format, voices per role, a music bed.
Brands and 3D
- Text colors are darkened until they pass WCAG AA on the video's background.
- Proprietary fonts are swapped for close open fonts, and every swap is logged.
- The logo is dropped, with a note, if it wouldn't stand out on the background.
- A brand's own 3D models (.glb, up to 25 MB) are checked, described and placed by an asset agent. The logo's symbol can be cut out and extruded in 3D for the opening and closing scenes.
kinetry assets3d brands/acme add scooter.glb --role hero
kinetry assets3d brands/acme mark # cut the symbol out of the logo
kinetry run lesson.md --brand brands/acme --depth subtle --out lesson.mp4
Use a company's logo, fonts and models only with its permission.
Configuration
| Variable | Purpose |
|---|---|
KINETRY_LLM, KINETRY_LLM_FAST | Default models, as provider:model |
KINETRY_API_KEY | Bearer token for the HTTP service |
KINETRY_QUALITY | draft, standard, high or a CRF number |
KINETRY_WORKERS | Renders at once per service process |
KINETRY_S3_BUCKET | Upload finished videos to S3-compatible storage |
KINETRY_CLIENT_LLM | Whether callers may pick models: off, byok or any |
KINETRY_VOICE_CLONING | Off unless set to 1 |
Limits
- Narration is written by a model. It sticks to the source's facts, but keep a human review step for anything learners see.
- A source is limited to about 12,000 words (25 pages). Longer documents become one video per section.
- Scanned PDFs, legacy .doc and .ppt, and course export zips (SCORM, Common Cartridge) aren't read as sources yet. Writing SCORM packages is supported.
- A render uses about 2 vCPUs for 4–5 minutes per 90 seconds of video. Scale out with more workers.