branded-graphics
Create finished static branded images with original logos, exact copy and verified dimensions. Use for banners, covers, ads and…
Build a Three.js character selector with fal-generated 3D characters, companions, textures and video backgrounds. Use for an interactive 3D roster experience.
Claude Code
$ npx -y skills add fal-ai-community/skills --skill fal-regenerate-3d --agent claude-code
Codex
$ npx skills add fal-ai-community/skills --skill fal-regenerate-3d -a codex -y
Cursor
$ npx skills add fal-ai-community/skills --skill fal-regenerate-3d -a cursor -y
Gemini CLI
$ npx skills add fal-ai-community/skills --skill fal-regenerate-3d -a gemini-cli -y
GitHub Copilot
$ npx skills add fal-ai-community/skills --skill fal-regenerate-3d -a github-copilot -y
OpenCode
$ npx skills add fal-ai-community/skills --skill fal-regenerate-3d -a opencode -y
Windsurf
$ npx skills add fal-ai-community/skills --skill fal-regenerate-3d -a windsurf -y
name: fal-regenerate-3d description: "Build a Three.js character selector with fal-generated 3D characters, companions, textures and video backgrounds. Use for an interactive 3D roster experience."
> **Runtime:** Asset generation steps run via the [genmedia CLI](https://github.com/fal-ai-community/genmedia-cli) (FLUX.2 / GPT-Image-2 / Meshy v6 / Seedance / etc.). The final deliverable is a static HTML page with Three.js, generated assets are bundled into it. See the `genmedia` skill for command syntax; run `genmedia init` once if not yet installed.
End-to-end recipe to ship a polished, multi-character 3D web experience using fal.ai models. This is the recipe that powers **[fal-roster.vercel.app](https://fal-roster.vercel.app)**: a cyberpunk character selector with 10 unique operatives, each with a matching companion creature, environment-themed floor texture, animated background and color palette.
For each character you get:
All packaged into a single static HTML page with a Three.js scene. ~25–35 MB of GLBs total after compression.
1. GPT-Image-2 → 1024x1536 character full-body T-pose (per character)
2. Meshy v6 → image-to-3d, enable_rigging=true, animation_action_id={chosen}
→ animated GLB (idle, dance, alert, etc.)
3. GPT-Image-2/edit → companion creature image, color-locked to character palette
4. Meshy v6 → image-to-3d, enable_rigging=false → static creature GLB
5. PATINA → fal-ai/patina/material/extract on the character image,
returns basecolor + normal + roughness + metalness for the floor
6. Seedance 2.0 → bytedance/seedance-2.0/fast/image-to-video, 8s loop
7. gltf-transform CLI → resize 1024 → webp q80 → draco
(typically 95–96% size reduction, ~400–800 KB final)
8. Three.js scene → MeshStandardMaterial floor with alphaMap circular cutout,
mirrored reflection (refl.y = root.y, scale.y = -1),
breathing animation on companions,
per-character palette via CSS custom properties (--c1/--c2/--c3),
per-character floor texture swap on character click,
transition lines + radial flash on swapVisitors with a FAL key can generate their own character + companion live, in-browser:
flux-2 klein 9b (text-to-image) └─ character full-body image ├─ Meshy v6 (rigged + animated) → character GLB └─ flux-2 klein 9b/edit → companion image └─ Meshy v6 (no rig) → companion GLB
Cost: ~$2–3 per generation (4 fal calls). Runs in background, modal closes on Generate so the user can keep using the experience while the gen runs. The `CREATE YOUR OWN` tile transforms into a loading state, then becomes the new character card with a `↻ re-create` button.
| Step | Endpoint | |------|----------| | Character image (curated) | `openai/gpt-image-2` | | Character image (live) | `fal-ai/flux-2/klein/9b` | | Companion image | `fal-ai/gpt-image-2/edit` or `fal-ai/flux-2/klein/9b/edit` | | 3D character/companion | `fal-ai/meshy/v6/image-to-3d` | | Per-character floor PBR | `fal-ai/patina/material/extract` | | Background video | `bytedance/seedance-2.0/fast/image-to-video` | | Logo / icon cleanup | `fal-ai/bria/background/remove` |
Curated dance / idle action IDs (full list at https://docs.meshy.ai/en/api/animation-library):
| ID | Animation | |----|-----------| | 0 | Idle (default) | | 2 | Alert | | 36 | Confused (scratch) | | 48 | Mirror viewing | | 64 | All_Night_Dance | | 405 | Joyful_Dance_with_Hand_Sway | | 591 | Hip_Hop_Dance | | 64–83 | Various Pop_Dance variants |
For one full character:
| Step | Approx. cost | |------|-------------:| | 1 GPT-Image-2 (character) | $0.04 | | 1 Meshy v6 rigged + animated | $0.80 | | 1 GPT-Image-2/edit (companion) | $0.04 | | 1 Meshy v6 static (companion) | $0.20 | | 1 PATINA floor (4 maps) | $0.04 | | 1 Seedance fast (bg video) | $0.08 | | **Total per character** | **~$1.20** | | **10 characters** | **~$12** |
Runtime parallelizes well, the original 10-character set was generated in ~10 minutes wall-clock with 9 concurrent jobs per stage.
Agent skills for fal.ai. The default execution path is the genmedia CLI: discover an endpoint, inspect its schema, run it, poll status when needed, and download outputs.
Create finished static branded images with original logos, exact copy and verified dimensions. Use for banners, covers, ads and…
Build consistent character designs and character media with genmedia. Use this for original characters, reference sheets,…
Create one character turnaround or expression reference sheet in a single image. Use for front, side and back design views; scene…
Design cinematic image and video prompts for genmedia. Use this for shot language, camera movement, lighting, lens choices, color…
Direct individual commercial product images or clips on fal. Use for product placement, reveal shots and product fidelity; use…
Create a consistent fal e-commerce product photo set from real SKU references. Deliver verified hero, detail and lifestyle images…
Choose GPT-Image2 / gpt-image-2 visual styles and industrial prompt templates from the awesome-gpt-image-2 style library. Use…
Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to…
Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures,…
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference…