Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

make videos with code.mdx in, videos out.

AI media generation CLI and MDX video framework

egaki is in early release. The API and MDX interface will change as we make things more ergonomic and better. Check the changelog to stay up to date with breaking changes and migration steps.

CLI generation

One command to generate images, videos, or speech. Provider keys or an egaki subscription handle authentication.
bash
egaki image "a watercolor fox reading a map" -o fox.png egaki video "a paper boat drifting on a calm lake at sunrise" -o boat.mp4 egaki speech "Hello world" -o hello.mp3

MDX video framework

Write video scenes in MDX. Each heading becomes a timed section. Animation primitives like Opacity, TranslateX, and Scale handle motion. Export to MP4 via in-browser WebCodecs rendering.
mdx
--- fps: 30 bpm: 120 --- # Intro duration=3s <TranslateX from={-140} to={0} duration={0.7 * FPS}> <div style={{ fontSize: 72, fontWeight: 900, color: 'white' }}>Hello</div> </TranslateX> # Scene Two duration=5s <Opacity from={0} to={1} duration={1 * FPS}> <div style={{ fontSize: 48, color: '#818cf8' }}>Built with egaki</div> </Opacity>

Explore

Quickstart
Install and generate your first image in 2 minutes.
Image Generation
Generate, edit, and inpaint images with AI models.
Video Generation
Text-to-video, image-to-video, editing, and extension.
MDX Video Framework
Write video scenes in MDX, export as MP4.
Speech & Audio
TTS, voice cloning, and audio stem separation.
Models & Pricing
Full catalog of supported models with pricing.
CLI Reference
Every command and option documented.
Authentication
API keys, ChatGPT OAuth, subscriptions.