Skip to main content

Video Generation

TF Design has two distinct video paths, and choosing the wrong one is the most common mistake:

PathWhat it producesUse when
Video modelsDiffusion-generated footage (.mp4)You want invented footage — a whale breaching, a product in motion
HyperFrames (hyperframes-html)A locally rendered HTML/CSS composition (.mp4)You want graphics you can edit and re-render

For animated slides, explainers, kinetic type, and anything the user will want to tweak, use Motion instead of either.

Video models​

IdLabelCharacterMax lengthHonors --lengthCaps
sorcerer_motionSorcerer MotionCinematic camera motion — default5sNot2v, i2v
mystica_motionMystica MotionDynamic scenes5sNot2v, i2v
mystica_motion_proMystica Motion ProPremium motion control5sNot2v, i2v
mystica_video_sdMystica Video SDFlexible clip length6sYest2v, i2v
hyperframes-htmlHyperFrames (HTML)Local GSAP composition → MP4600sNohtml2mp4

t2v = text-to-video, i2v = accepts a reference image.

The duration ceiling is real​

Only mystica_video_sd honours a length parameter. The other three have a hardcoded 5-second render — the backend ignores the flag entirely. The registry encodes this as supportsLength: false and the dispatcher tells you when a request was clamped rather than pretending a 30-second clip worked.

Offered lengths are 3, 5, and 6 seconds. Anything longer is a sequence job, not a longer clip.

Multi-shot sequences​

media sequence renders several shots in order, using the last frame of each shot as the first frame of the next for visual continuity, then concatenates them with ffmpeg.

"$OD_NODE_BIN" "$OD_BIN" media sequence \
--project "$OD_PROJECT_ID" \
--model mystica_video_sd \
--segment "A ceramic cup rotates slowly on paper, warm side light" \
--segment "Camera drifts closer as steam rises" \
--segment "Pull back to reveal the full table setting" \
--aspect 16:9 --length 5
RuleDetail
Shot countMinimum 2, maximum 8
ModelMust advertise i2v — a non-i2v model has no continuity to chain
LengthPer shot, clamped to the model ceiling
OutputOne mp4; intermediate clip files are cleaned up
Requirementsffmpeg and ffprobe on PATH

Over MCP the same operation is media_sequence, which returns a taskId to drive with wait_media.

HyperFrames (local HTML → MP4)​

hyperframes-html is not a backend model. The agent scaffolds a composition directory in the project (hyperframes.json, meta.json, index.html) and the daemon runs npx hyperframes render against it.

It runs on the daemon rather than in the agent's shell on purpose: Claude Code wraps Bash in macOS sandbox-exec, under which Puppeteer's Chrome hangs mid-capture.

"$OD_NODE_BIN" "$OD_BIN" media generate \
--project "$OD_PROJECT_ID" \
--surface video \
--model hyperframes-html \
--composition-dir composition \
--output launch.mp4
ParameterMeaning
--composition-dirProject-relative directory holding the composition
Max duration600s — this renderer is not bound by the 5–6s model ceiling

Use this when the deliverable is graphics rather than footage but you want the media pipeline (task tracking, project file placement) rather than the motion skeleton.

Image-to-video​

Pass --image <project-relative path> (MCP: image) and the still becomes the first frame. The daemon reads the file from the project, base64-encodes it, and forwards it upstream.

"$OD_NODE_BIN" "$OD_BIN" media generate \
--surface video --model sorcerer_motion \
--image assets/hero.png \
--prompt "Slow parallax push into the scene"

Every video model supports i2v, which is also why they can all anchor a sequence.

Parameters​

ParameterValuesNotes
--aspect1:1 16:9 9:16 4:3 3:4
--length3 5 6Ignored by three of five models
--imageproject-relative pathImage-to-video
--prompt-influence0–1
--loopbooleanLooping output

Using video in artifacts​

<video src="assets/clip.mp4" autoplay loop muted playsinline></video>

As a background:

.hero-video { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }

Tips​

  • Be specific about camera language — movement, lens, lighting, mood.
  • Keep prompts tight. Very long prompts reduce adherence.
  • Plan the shot list before dispatching. Each shot is a full render; a wrong plan costs minutes.
  • Prefer a sequence over a single long clip. The ceiling is per model, and continuity is the point.

Routes​

EndpointMethodDescription
/api/projects/:id/media/generatePOSTSingle clip (surface: "video")
/api/projects/:id/media/sequencePOSTMulti-shot sequence → one mp4
/api/media/motion/modelsGETMotion renderer registry (distinct from video)
/api/media/tasks/:id/waitPOSTLong-poll

See Motion for the code-authored animation path.