Create a video from code and source materials
The outcome is a reproducible composition and video export in the required format. Prepare your own images, text, and audio; connect generative services only when needed. A renderer, an agent skill, and a video generation model serve different roles and do not replace one another.
Steps
Define the script, duration, and materials
Describe the format, messages, and scene order. HTML Animation helps prepare a motion composition; PYNK Ad Director supports an advertising storyboard if that is the genre you need. Secure rights to input images, fonts, and audio before building the video.
Choose one main renderer
Motion Canvas suits diagrams and explanatory TypeScript animation; Remotion suits React compositions with data and media; HTML Animation suits HTML motion graphics. HyperFrames offers an alternative HTML/CSS approach. Test a short scene and export; Motion Canvas JSX is not React, and its base frames need a separate video assembly step.
Prepare additional AI scenes As needed
Awesome Seedance provides a template catalog; PYNK Paper-Cut and Vox help describe stylized or explanatory formats. If you need generated images, ComfyUI organizes workflows for the chosen models. These materials do not include paid inference or guarantee that any model can reproduce the example.
Prepare speech and subtitles As needed
If the source contains speech, Whisper helps transcribe it. Check names, numbers, pauses, and timing manually, then place the text in the composition. Voice generation and music licensing need a separate assessment; Whisper does not replace checking the audio track.
Consider a short noncommercial format As needed
onetake is a separate approach for a product or skill video made from an HTML composition. Use it only when the task qualifies under PolyForm Noncommercial and requires this workflow. It is not an extra dependency of the chosen renderer and is not suitable for a commercial video under the stated license.
Render and check the final file
Check resolution, duration, frame rate, first and last frames, caption readability, and audio synchronization. Watch the exported file itself, then repeat the render from saved sources. Use the exporter and encoding tools for your chosen approach.
Conditions and limitations
- Remotion has a special license: eligibility depends on organization type and size; a large commercial organization needs a Company License, and terms for a new major version must be checked separately.
- onetake permits only noncommercial use under PolyForm Noncommercial.
- Free PYNK ZIP files do not include image/video/voice generation or confirm rights to republish the skill files themselves.
- ComfyUI models, AI services, music, and media have separate rights and pricing.
- Local rendering uses CPU/GPU and memory; free code does not include cloud rendering.
How to check the result
- One renderer is chosen and its corresponding export workflow is set up.
- Rights to source and generated materials fit the video's purpose.
- The exported file has been watched in full, and audio and captions checked.
- The composition and source files are retained for rerendering.
- The renderer license fits the organization and the commercial or noncommercial use case.
Other approaches
- Motion Canvas
An MIT approach for explanatory videos without organization-size restrictions; video is assembled with the chosen exporter.
- HyperFrames
An alternative way to build MP4 from HTML/CSS instead of a React composition.