# video-from-code

> Build narrated videos, motion graphics, and documentaries entirely from code using ffmpeg, GSAP, and Skia.

video-from-code is a paid AI agent skill on Agensi by Sajid Khan, in Image & Video. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Sajid Khan](https://www.agensi.io/creators/sajid-khan)
- Category: [Image & Video](https://www.agensi.io/skills/image-video)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/video-from-code
- Tags: automation, python, ffmpeg, video-production, motion-graphics

## About this skill

Create a video entirely from code — no AI video generation, no paid keys, no camera. Pick the right code engine for the job (HyperFrames HTML-to-video, OpenFilm shot pages, cinematic-film Skia camera, or the built-in ffmpeg title/caption builder), script it, narrate it with a free local voice, burn captions, and verify the real length and every frame before delivery.

## Known limitations

No support for paid AI video/TTS APIs. Requires local rendering environment. Not suitable for photorealistic human character animation. Renders must avoid /tmp due to space constraints.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the video-from-code skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from standard AI video generation prompts?

Unlike generative AI video models that produce unpredictable artifacts, this skill uses a code-based approach (GSAP and Skia) to ensure your animations, charts, and captions match your script with frame-perfect accuracy.

### Do I need to pay for external API keys like OpenAI or ElevenLabs to use this?

No, this skill is designed to avoid the 'AI tax' by using free, local tools like Kokoro TTS and ffmpeg, meaning you can render videos without recurring API costs or expensive GPU subscriptions.

### What exactly is included in the purchase of this skill?

The skill comes as a pre-configured environment including the HyperFrames and OpenFilm engines, Python build scripts, and local voiceover models ready for deployment in your workspace.

### Are there any specific environment or storage requirements for rendering?

The skill is built to run on any AI agent platform that supports a Python/ffmpeg environment; however, renders must be performed within the '~/workspace/' directory to ensure optimal performance and storage management.

### Does the skill check the final video for errors or black frames automatically?

Yes, the 'Quality Verification' feature automatically runs post-render checks using ffprobe to validate audio continuity, resolution, and duration before the final MP4 is delivered.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
