npm i vargai ai && vargai initimport { Render, Clip, Image, Video, render } from "vargai/react";
import { varg } from "vargai/ai";
const video = (
<Render width={720} height={720}>
<Clip duration={3}>
<Video
prompt={{
text: "robot waves hello, friendly gesture",
images: [
Image({
prompt: "a friendly robot waving hello, cartoon style",
model: varg.imageModel("flux-schnell"),
}),
],
}}
model={varg.videoModel("wan-2.5")}
/>
</Clip>
</Render>
);
await render(video, { output: "hello.mp4" });Installing skills
# 1. Install the varg skill
npx skills add vargHQ/skills
# 2. Set your API key (get one free at app.varg.ai)
export VARG_API_KEY=varg_live_xxx
# 3. Create your first video
claude "create a 10-second product video
for white sneakers, 9:16, UGC style,
with captions and background music"
# That's it. Agent writes JSX, picks models,
# renders in cloud, returns video URL.- sdk — TypeScript SDK with JSX video composition, CLI, and AI provider integrations
- app — Claude Code for Video Ads. Web dashboard with auth, billing, and AI chat agent
- docs — Documentation
- docs repo -- Documentation repo
- templates — Remotion-based video templates (talking head, slideshow, product showcase)
- skills — Agent Skills for AI media generation (Claude Code, Cursor, OpenCode)
Questions? Discord
P.S. Best contributors get swag from varg.ai :)