.memstack/skills/varg-video-generation/SKILL.md
Generate AI videos using varg SDK React engine. Use when creating videos, animations, talking characters, slideshows, or social media content. Always run onboarding first to check API keys.
npx skillsauth add s1366560/agi-demos varg-video-generationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate AI videos using declarative JSX syntax with automatic caching and parallel generation.
Run the setup script to initialize a project:
bun scripts/setup.ts
Or manually check API keys:
cat .env 2>/dev/null | grep -E "^(FAL_API_KEY|ELEVENLABS_API_KEY)=" || echo "No API keys found"
| Detail | Value | |--------|-------| | Provider | Fal.ai | | Get it | https://fal.ai/dashboard/keys | | Free tier | Yes (limited credits) | | Used for | Image generation (Flux), Video generation (Wan 2.5, Kling) |
If user doesn't have FAL_API_KEY:
.env file: FAL_API_KEY=fal_xxxxx| Feature | Key | Provider | URL |
|---------|-----|----------|-----|
| Music/Voice | ELEVENLABS_API_KEY | ElevenLabs | https://elevenlabs.io/app/settings/api-keys |
| Lipsync | REPLICATE_API_TOKEN | Replicate | https://replicate.com/account/api-tokens |
| Transcription | GROQ_API_KEY | Groq | https://console.groq.com/keys |
Warn user about missing optional keys but continue with available features.
FAL_API_KEY only:
FAL + ELEVENLABS:
All keys:
import { render, Render, Clip, Image } from "vargai/react";
const SCENES = ["sunset over ocean", "mountain peaks", "city at night"];
await render(
<Render width={1080} height={1920}>
{SCENES.map((prompt, i) => (
<Clip key={i} duration={3} transition={{ name: "fade", duration: 0.5 }}>
<Image prompt={prompt} zoom="in" />
</Clip>
))}
</Render>,
{ output: "output/slideshow.mp4" }
);
import { render, Render, Clip, Image, Animate, Music } from "vargai/react";
import { fal, elevenlabs } from "vargai/ai";
await render(
<Render width={1080} height={1920}>
<Music prompt="upbeat electronic" model={elevenlabs.musicModel()} duration={10} />
<Clip duration={5}>
<Animate
image={Image({ prompt: "cute cat on windowsill" })}
motion="cat turns head, blinks slowly"
model={fal.videoModel("wan-2.5")}
duration={5}
/>
</Clip>
</Render>,
{ output: "output/video.mp4" }
);
import { render, Render, Clip, Image, Animate, Speech } from "vargai/react";
import { fal, elevenlabs } from "vargai/ai";
await render(
<Render width={1080} height={1920}>
<Clip duration="auto">
<Animate
image={Image({ prompt: "friendly robot, blue metallic", aspectRatio: "9:16" })}
motion="robot talking, subtle head movements"
model={fal.videoModel("wan-2.5")}
/>
<Speech voice="adam" model={elevenlabs.speechModel("turbo")}>
Hello! I'm your AI assistant. Let's create something amazing!
</Speech>
</Clip>
</Render>,
{ output: "output/talking-robot.mp4" }
);
See references/templates.md for more templates.
bun run your-video.tsx
| Component | Purpose | Required Key |
|-----------|---------|--------------|
| <Render> | Root container | - |
| <Clip> | Sequential segment | - |
| <Image> | AI image | FAL |
| <Animate> | Image-to-video | FAL |
| <Music> | Background music | ElevenLabs |
| <Speech> | Text-to-speech | ElevenLabs |
const character = Image({ prompt: "blue robot" });
// Reuse same reference = same generated image
<Animate image={character} motion="waving" />
<Animate image={character} motion="dancing" />
<Clip transition={{ name: "fade", duration: 0.5 }}>
// Options: fade, crossfade, wipeleft, cube, slideup, etc.
9:16 - TikTok, Reels, Shorts (vertical)16:9 - YouTube (horizontal)1:1 - Instagram (square)<Image prompt="landscape" zoom="in" /> // Zoom in
<Image prompt="landscape" zoom="out" /> // Zoom out
<Image prompt="landscape" zoom="left" /> // Pan left
.env file exists in project root= signbun scripts/setup.ts to initialize project.envbun run examples/my-first-video.tsxtools
Sandbox MCP Server 是一个隔离的代码执行环境,提供完整的文件系统操作、命令执行、 代码分析、测试运行和远程桌面能力。当你需要执行代码、操作文件、运行测试、 分析代码结构、或需要图形界面操作时使用此技能。支持 Python、Node.js、Java 等多语言环境。
tools
Replace with description of the skill and when Claude should use it.
development
Generate high-quality images using ModelScope's Z-Image API. Use this skill when the user wants to generate images using the specific Z-Image model or ModelScope API they provided. Trigger words: 'Zimage', 'ModelScope', 'generate zimage'.
tools
No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity ...