Build cohesive brand & keyframe pipelines
See the full methodology behind Star-Branching and packaging fidelity in Guide 05: Consistent Characters, Product Placement & Brand Assets and Workflow 07: High-Contrast YouTube Thumbnail & Brand Kit System.
SKILL.md Install into .claude/skills/, .cursor/skills/, or .agents/skills/ below so your coding agent routes every visual asset to the cheapest right-fit image/vector API and enforces crisp production file hygiene.
Installable SKILL.md teaching Claude Code, Cursor, and Codex how to generate, verify, and optimize opening keyframes (Black Forest Labs FLUX 3 Image / Nano Banana 2.1), transparent PNG cutouts (Ideogram 4.6 / Seedream 5.5 / OpenAI GPT-Image-2.6), and editable SVG vectors (Recraft V4.1) with Star-Branch naming, SVGO cleanup, WebP conversion, and zero layout shift.
Pick Claude Code, Cursor, or Codex below and download the pure raw SKILL.md file.
Your agent picks the right API (Recraft V4.1 for SVGs, Ideogram 4.6 / Seedream 5.5 for alpha PNGs, FLUX 3 / Nano Banana 2.1 for stills).
Outputs follow Star-Branch Depth-1 naming, pass sharp/SVGO optimization, and carry exact dimensions.
Pick the app you use below for the exact verified command or config—zero manual guessing.
.claude/skills/keyframe-and-svg-assets/SKILL.md for image API & asset pipeline hygiene. mkdir -p .claude/skills/keyframe-and-svg-assets
curl -fsSL https://framesfield.com/raw/skills/image-keyframe-and-svg-asset-skill -o .claude/skills/keyframe-and-svg-assets/SKILL.md .cursor/skills/ directory. mkdir -p .cursor/skills/keyframe-and-svg-assets
curl -fsSL https://framesfield.com/raw/skills/image-keyframe-and-svg-asset-skill -o .cursor/skills/keyframe-and-svg-assets/SKILL.md .agents/skills/ across all compatible agents. mkdir -p .agents/skills/keyframe-and-svg-assets
curl -fsSL https://framesfield.com/raw/skills/image-keyframe-and-svg-asset-skill -o .agents/skills/keyframe-and-svg-assets/SKILL.md
This is the exact raw file served at /raw/skills/image-keyframe-and-svg-asset-skill.
---
name: keyframe-and-svg-assets
description: Route, generate, optimize, and verify visual production assets across Black Forest Labs FLUX 3 Image, Google Nano Banana 2.1, ByteDance Seedream 5.5, Recraft V4.1 (native SVG), and Ideogram 4.6 with Star-Branch naming, SVGO cleanup, WebP encoding, and exact dimension checks.
---
# Keyframe Still, Cutout & Vector SVG Asset Protocol
Whenever asked to generate or process visual assets for AI video keyframes, thumbnails, or web landing sections, enforce this deterministic routing and file-hygiene standard:
## 1. Strict Tool Routing by Asset Type
- **Editable Icons, Logos & Diagrams (`.svg`) -> `Recraft V4.1` (`$0.08/SVG`, `$0.035/raster`):** Pass explicit RGB/hex color arrays (`controls.colors`) and save raw XML `.svg`. Never trace raster PNGs when native SVG is needed. (Legacy `Recraft V3` remains available at `$0.08/SVG` only if a workflow specifically requires V3's curated `vector_illustration` preset.)
- **Transparent Foreground Cutouts & Layer Kits (`.png`) -> `ByteDance Seedream 5.5` (`$0.020–$0.035` BytePlus / `$0.03–$0.0405` fal.ai up to 2K; native RGBA PNGs + `/layerize` up to 99 layers), `Ideogram 4.6` (`background: "transparent"` up to 4K), or `OpenAI GPT-Image-2.6` (`background: "transparent"`, token-billed at `$30`/1M output tokens):** Use whenever subjects or products need true alpha transparency for Figma, Remotion, or Resolve overlays.
- **Character / Product Keyframe Editing (`.png`) -> `FLUX 3 Image` (`/v1/flux-3-image`, `$0.048/1K`, `$0.10/2K`, up to 10 free reference images; `/v1/flux-3-image-klein` `$0.009/1K`) or `Nano Banana 2.1` (`$0.0336` at 1K):** Always branch Shot 01..N directly off `level0_anchor.png` (Depth 1)—never chain edit-of-edit.
- **High-Contrast Typographic Covers (`.png`) -> `Ideogram 4.6` (`/v2/image/generate/ideogram-4-6`, `$0.008` Very Low 2K draft -> `$0.06` Medium 2K -> `$0.12` Medium 4K / `$0.20` High 4K, plus masked `/v2/image/precise-edit/ideogram-4-6`):** Always reserve bottom-right `220x80px` empty on `16:9` YouTube covers.
## 2. Video Keyframe Dimension Hygiene
- Save video opening frames as **lossless PNG** (`keyframes/shot_01_16x9.png`)—never JPEG-compress opening frames before Image-to-Video.
- Match target aspect ratio upfront (`16:9` vs `9:16`), and ensure local ComfyUI keyframes divide cleanly by `32` (`1344x768` or `768x1344`) so Wan 2.2 and LTX-2 never crash on tensor shape errors.
## 3. Web Asset Optimization & Zero-CLS Contract
- Convert raster web assets to `.webp` via `sharp` (`quality: 90–92`) and optimize `.svg` outputs cleanly (strip redundant editor metadata, preserve explicit `viewBox`).
- Whenever embedding any asset in HTML/Astro/React, read exact pixel dimensions and write explicit numeric `width`, `height`, and descriptive `alt` text (`CLS = 0`).
## 4. Mandatory Visual Inspection Step
Never commit or feed a generated keyframe or SVG blindly into a paid video render. Open/inspect every generated file first to verify exact text spelling, clean edges, and lighting direction match. "Generate 3 minimalist SVG icons matching our #111111 / #E04420 palette via Recraft V4.1 API, clean them up, and embed them in src/components/FeatureGrid.astro with explicit dimensions."
- Calls Recraft V4.1 vector SVG endpoint (`$0.24` total for 3 SVGs) passing exact RGB arrays `[17,17,17]` and `[224,68,32]`. - Validates clean XML `<svg viewBox=...>` output, saves descriptive slugs inside `public/images/icons/`, visually verifies stroke weights, and wires explicit `width`/`height`/`alt` attributes into the component.
BFL_API_KEY, GEMINI_API_KEY, IDEOGRAM_API_KEY, FAL_KEY, or RECRAFT_API_KEY)sharp (for WebP conversion) if optimizing web assetsSee the full methodology behind Star-Branching and packaging fidelity in Guide 05: Consistent Characters, Product Placement & Brand Assets and Workflow 07: High-Contrast YouTube Thumbnail & Brand Kit System.
baseURL to https://external.api.recraft.ai/v1 with your RECRAFT_API_KEY and call Recraft V4.1 (the current API default) for editable SVGs.