Higgsfield Code-Based Films — workflow skill for animation & motion graphics
For AI agents: find the right skill in one call —
curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the how-to page.
Short animated films drawn entirely by code and rendered by Higgsfield's own WebGPU path tracer on your GPU.
- Type: Workflow · Animation & motion graphics
- Slug:
higgsfield-code-based-films - Status: live
- Publisher: Higgsfield (vendor, verified)
- License: MIT
- Source: https://github.com/higgsfield-ai/higgsfield-video-engineer
- Works in: Claude Code, Codex, Cursor
- Requires: Node 22.12+, Google Chrome, FFmpeg, a WebGPU-capable GPU, Python 3.11+ (optional: textures, titles, sound)
- Cost: Free — MIT, renders locally on your GPU; renting Runpod GPUs for long finals is optional and paid
- Runtime: ~13 s per preview frame on an M4 Max; four rented RTX 4090s rendered the 20 s example in about 40 min
What it does
Higgsfield's open-source kit (MIT) for short films where every frame is a program: characters, set, motion and sound are code, and its own offline WebGPU path tracer renders them on your graphics card, with felt, paper, clay, glass, smoke, motion blur and depth of field built in. The code-based-films agent skill walks an agent from story, music and shot plan through concept images (a target only, never in the frame), assets, rough cut, look, final render, sound and QA to delivery. The repo ships a complete 20 s example, a felt-and-paper kids' film (Good Morning!), with its beat sheet, rigs, shots and synthesized sound. Renders run locally (about 13 s per preview frame on an M4 Max, 3 s on an RTX 5090) and can resume frame by frame.
Use when
- Make a 15–30 s animated film where every frame is drawn by code
- A felt, paper or clay craft-look kids' film without a video model
- Render path-traced frames locally on your own GPU, resumable frame by frame
- Let an agent run story, shot plan, render, sound and delivery for a code-made film
Not for
- Text- or image-to-video generation
- After Effects or Blender projects
- Real-time or game-engine renders
Install
- Claude Code:
npx skills add higgsfield-ai/higgsfield-video-engineer && bash ~/.claude/skills/code-based-films/setup.sh - Codex:
npx skills add higgsfield-ai/higgsfield-video-engineer - Cursor:
npx skills add higgsfield-ai/higgsfield-video-engineer
Example output
https://raw.githubusercontent.com/higgsfield-ai/higgsfield-video-engineer/main/docs/frame_S1.jpg — Frame S1 of the example film: the felt chick in its nest at night, made entirely from code, rendered in about 40 s on an M4 Max. (credit: Higgsfield, https://github.com/higgsfield-ai/higgsfield-video-engineer)
More animation & motion graphics skills
- Day in My Life: A 60–75 s hand-drawn ink film of your agent's day with you, built from local Claude Code history, scored for strings.
- p5 Paint Animation: Handwriting that writes itself, photos that paint themselves and clips repainted as living paintings, in p5.js code.
- Session Story: A 40–70 s watercolor film of a typical session with your agent, told in your real messages, with its own score.
- Remotion Markup: Write Remotion markup that animates well: timing, transitions, motion blur, effects, audio, fonts and 3D.
- Motion AI Kit: Write production-grade UI animation with Motion or CSS: best practices, docs search, springs, perf audits.
- Motion Design: Animate with intent: timing, easing, choreography and Disney principles for UI and motion graphics.
Run the generation on varg
varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg(skill + hosted MCP) - Codex, Cursor, Gemini CLI, OpenClaw:
npx skills add vargHQ/skills --skill varg-ai -a <agent> -y - Grok and any agent that reads SKILL.md:
npx skills add vargHQ/skills --skill varg-ai, or point it at the skill's SKILL.md - Claude.ai, ChatGPT, any MCP client: connect
https://mcp.varg.ai/mcp - API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt