Skip to main content
Version: v2.1.x (v2.1.1)

Overview

Tubematic turns a topic into a finished vertical video. An AI agent writes the script, voices it, generates images and writes the animation as code. A renderer turns that code into an mp4. You approve the work at three points, on a web dashboard.

It runs on your own Linux machine, in Docker.


What it makes​

A 1080×1920 mp4 at 30 frames a second, in YouTube Shorts format, usually 90 to 180 seconds long. It has a synthesised voiceover, word-timed captions, generated images and animated diagrams.

Three frames from one Short: a title card, a numbered diagram with one step lit, and a closing figure. Each has a caption line and the Tubematic mark in the top corner

The agent writes each scene as a React component for that one video, and Remotion renders it. Because the output is code, the agent can change one scene when you ask for a revision, and you can read what produced any frame.

How a video moves​

  1. A topic arrives. You type it in, or Tubematic's research proposes it.
  2. You approve the topic, and the agent writes the script.
  3. You approve the script. This is the approval that starts spending: the agent voices the script with ElevenLabs, generates images with OpenAI, and writes the scenes.
  4. The renderer renders the video. If you turned AI review on, Gemini watches the result and can send it back to the agent, once by default.
  5. You watch the video and approve it.
  6. If you set up publishing, you post it from the dashboard. Otherwise you take the mp4 and post it yourself.

At each approval you can ask for a revision instead. You write what to change, and the agent reworks the topic, the script or the video and brings it back.

Auto Pilot can make all three approvals for you and post the result. It is off by default.

Statuses​

Every video has a status. The dashboard shows it as a column on the Pipeline page.

StatusWhat is happeningWho acts next
Topic ProposedA topic is waiting for your decisionYou
Topic ApprovedThe topic is waiting for the agent to write its scriptThe agent
Script ReadyThe script is written and waiting for your decisionYou
VoicingThe agent is voicing the scriptThe agent
Voice ReadyThe voice is done. The agent generates images and writes the scenesThe agent
RenderingThe video is waiting for a renderer, or renderingThe renderer
Video ReadyThe video is rendered and waiting for your decisionYou
Video ApprovedThe video is finishedYou, if you publish
ScheduledA post is waiting for its timeTubematic
PublishingA post is going outTubematic
Partially PublishedSome accounts have the post and some failedYou
PublishedEvery account has the postNobody
Revision RequestedThe video is back with the agent for changesThe agent
RejectedYou rejected the topicNobody
FailedThe video could not be rendered or publishedYou

The developer docs and the logs write statuses as constants, such as SCRIPT_READY. A video waiting for a renderer has the status RENDER_QUEUED, which the dashboard shows under Rendering. A Partially Published video is shown under Published, with a PARTIAL tag.

What it costs and how long it takes​

Tubematic is free. The services it calls charge you:

ServiceCharged forWhen
ElevenLabsThe voiceover, by script length, from your plan's creditsAfter you approve a script
OpenAIEach scene image, and each character pose in the Illustrated styleWhile the agent writes scenes
Your agent's providerEach agent session: a script, a set of scenes, a revision, a research runWhenever the agent works
Gemini, if you add a keyFinding topics in YouTube videos, and AI reviewDuring research, and after each render

The dashboard records what each call cost. A video's window shows its own total, and Analytics → Spend shows the whole install. See Settings.

Most of the waiting is in two places. Writing the scenes is the longest agent session. Rendering comes second: on one test machine, 5 seconds of an ordinary scene took about 2 minutes to render on a 6-core CPU and 35 seconds on an NVIDIA GTX 1650. See GPU Rendering.

What runs on your machine​

PartWhat it does
The dashboardThe web page where you create, approve and publish videos. Port 3000
The agentClaude Code, Codex or OpenCode, with Tubematic's skills installed. It writes scripts and scenes
The pollerA scheduled job that starts the agent when there is work. It runs from your crontab
The rendererRenders videos. One runs on this machine, and other machines can render too
The workerRuns the AI review, sends scheduled posts, and runs Auto Pilot
The API and the tool serverWhat the other parts talk to. You do not use them directly

Everything Tubematic stores is under ~/.tubematic-data/: the database, which also holds your API keys, each video's working files, and the rendered videos. That directory is outside the install directory, so deleting the install does not delete your videos.

How the parts fit together is in Architecture.


Glossary​

TermMeaning
AgentThe AI coding tool that writes scripts and scenes. See Agents
ApprovalOne of the three points where a video waits for you: the topic, the script and the finished video
Auto PilotA mode that makes the approvals and posts videos for the domains you select
DomainA subject area that videos are filed under, such as "Python Internals". The dashboard's Projects page lists your domains
MascotAn optional character that reacts on screen. See Visual Styles and Mascots
Poll intervalHow often the poller checks for work while idle. 30 minutes by default
postformeThe service Tubematic publishes through. It holds the connections to your social accounts
ResearchThe agent looking for topics on a schedule
Research modeA way research finds topics: curriculum, trending or mining. See Using Tubematic
RevisionA request for changes, with a comment saying what to change
ScoreHow well a topic suits a short explainer video, from 1 to 10. Research files only topics that score 5 or more
Script profileA writing style learned from YouTube videos you choose
SessionOne run of the agent on one video and one stage
Visual styleHow a video looks. See Visual Styles and Mascots
VoiceAn ElevenLabs voice, with the model it speaks with