Communitygithub.com

videoia-styles

Draw and animate vector SVG video scenes in 24 visual styles (dark 2D drawing, anime, pixel art, low-poly 3D, paper cutout, silhouette, children's book, stickers, notebook, 3D animation, claymation, building blocks, 2000s video game, miniature, comics, 90s anime, vintage poster, watercolor, isometric, hologram, neon cyberpunk, blueprint, thermal camera, green code). Use when asked to "animate a scene in SVG in style X", pick a "visual style for an animated Short", draw 9:16 or 16:9 shots with keyframe-animated groups, or produce safe SVG (no script, style, image or external links). Includes a keyframe-track JSON format, a zero-dependency validator and an HTML preview player.

videoia-styles 是什么?

videoia-styles is a Claude Code agent skill that draw and animate vector SVG video scenes in 24 visual styles (dark 2D drawing, anime, pixel art, low-poly 3D, paper cutout, silhouette, children's book, stickers, notebook, 3D animation, claymation, building blocks, 2000s video game, miniature, comics, 90s anime, vintage poster, watercolor, isometric, hologram, neon cyberpunk, blueprint, thermal camera, green code). Use when asked to "animate a scene in SVG in style X", pick a "visual style for an animated Short", draw 9:16 or 16:9 shots with keyframe-animated groups, or produce safe SVG (no script, style, image or external links). Includes a keyframe-track JSON format, a zero-dependency validator and an HTML preview player.

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/lcspaiva87/videoia-styles/tree/HEAD/videoia-styles

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

SVG animation styles

This skill teaches how to draw and animate a video shot as vector SVG + keyframe tracks, in 24 visual styles. The result is a small JSON (drawing + numbers, no code) that any player can play and that passes a safety validator. The catalog comes from VídeoIA (a SaaS that turns ideas into animated Shorts), but the skill does not depend on it: the format and the scripts here work on their own. Repository: https://github.com/lcspaiva87/videoia-styles

How to work

  1. Pick the style (table below) and read only its file, styles/<id>.md.
  2. Read references/format.md (the JSON, tracks and validator rules) before the first scene. For full-body characters, walking, jumping and actions, also read references/motion.md.
  3. Build the scene: background, the drawing in svg (only the elements inside <svg>), and tracks that move <g id="..."> groups of the drawing. One main action per shot; everything else is ambient motion.
  4. Check it: node scripts/validate.mjs scene.json (Node 18+, no dependencies). Fix until there are no errors.
  5. Look at it, writing the preview outside the skill folder (use --out with a scratch folder):
    • node scripts/preview.mjs scene.json --out /tmp/scene.html: a player with play and a time slider, for the browser.
    • node scripts/preview.mjs scene.json --t 1.2 --out /tmp/f.svg: one still frame. To view it as an image, convert with rsvg-convert -w 360 /tmp/f.svg -o /tmp/f.png (if available) or open the SVG in a browser.
    • Check 3 or 4 moments (before, during and after the action) and fix proportions, overlaps and anything that leaves the frame.

Complete scenes made only with this skill (a cat jumping between rooftops in comics, watercolor and pixel art) are in examples/.

Without Node (claude.ai), follow the rules in references/format.md strictly and show the frame as a complete SVG (<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 1920"> + background + svg).

Rules for every style

  • viewBox 0 0 1080 1920 for vertical (9:16) and 0 0 1920 1080 for horizontal (16:9); (0,0) is the top-left corner.
  • Drawing elements only (g, path, rect, circle, ellipse, polygon, polyline, line, text, tspan, textPath, defs, symbol, use, marker, gradients, pattern, clipPath, mask, filter and fe* except feImage; exact list in references/format.md). Never: script, style, image, foreignObject, a, animate/set, on… attributes, an href that isn't #id, a url() that isn't url(#id), <!-- --> comments, ids starting with __.
  • Each track moves a <g id> that appears exactly once and has no transform or opacity of its own.
  • Well-formed XML: every attribute quoted, &amp;, &lt;, &gt; in text. Use single quotes for attributes (<rect fill='#123456'/>) so nothing needs escaping inside the JSON.
  • In vertical video, keep the bottom band (y > 1450) free of anything important: captions usually go there.
  • Same character = same colors, hair, clothes and proportions in every scene.

Which style to use

idStyleGood for
desenho2d2D Drawing (default)Stories, mystery, light horror; flat, dark vector
animeAnimeEmotion, drama, action; big eyes, dramatic light
pixelPixel artGames, nostalgia, tech; 8 px grid
lowpolyLow-poly 3DPlaces, travel, explainers with a moving camera
recortePaper cutoutLegends, fables, history; collage stop-motion
silhuetaSilhouetteHorror, drama, epic moments; black against a strong sky
livroChildren's bookKids' stories, fables, lessons; pastel and soft
adesivosStickersExplainers, lists, tips; sticker and sticky-note collage
cadernoNotebookLessons, explanations, reasoning; pen doodles
animacao3d3D animationStories with cute characters; volume and soft light
massinhaClaymationHumor, short stories; clay stop-motion
blocosBuilding blocksKids, construction, processes; plastic bricks
retro3d2000s video gameGames, nostalgia, early internet; old 3D and fog
maqueteMiniatureCities, routines, logistics; tilt-shift miniature
quadrinhosComicsAction, humor, heroes; black ink, halftone, BAM!
anime9090s animeNostalgia, drama, sci-fi; cels and film grain
cartazVintage posterHistory, propaganda, events; 3 or 4 inks
aquarelaWatercolorPoetry, nature, memories; transparent brushwork
isometricoIsometricCities, processes, systems; game-map look
hologramaHologramScience fiction, technology, data
neonNeon cyberpunkFuture, city, crime, night
plantaBlueprintHow things work, engineering, inventions
termicaThermal cameraMystery, survival, science, animals
codigoGreen codeHackers, programming, simulation, AI

The style ids are the ones VídeoIA uses, so scenes stay compatible with it. Sample images of every style are in the samples/ folder of the GitHub repository (outside the skill folder).

相关技能