Prompt template
Turn Any Image Into Animated Pixel Art — Interactive HTML with Video Export (Claude)
A Claude prompt that converts an attached image into a looping 12 FPS pixel-art animation on a single interactive HTML page, with motion sliders, pause/play and MP4/WebM export. Shared by @aimikoda.
Demo video
View caseStart from an example
Pick an example to load its exact settings, then make it yours.
Make it yours
Only the parts worth changing are shown. The prompt updates as you go.
Your prompt
Convert the attached image into highly detailed, animated pixel art. Build a single interactive HTML page. PIXEL ART - Maximum 512px grid, preserving the original aspect ratio. - ~100 colors sampled from the source image. - Crisp hard-edged pixels, no blur, anti-aliasing or gradients. - Preserve composition, subjects, perspective, lighting and atmosphere. Do not add or remove elements. ANIMATION - Seamless 12 FPS loop with rich, layered motion. - Analyze the image and automatically identify what should move. - Animate characters, animals, objects, environments, lighting and atmospheric details only when relevant. - Use natural motion, secondary animation, independent timing and environmental interactions. - Make the scene feel genuinely alive, not like a static image with generic particles. - Preserve anatomy, object consistency, depth and original framing. - Avoid unnecessary movement and repetitive effects. INTERACTIVE HTML - Pixel-perfect Canvas 2D animation. - Pause/Play button. - Three adaptive sliders: Motion Intensity, Environmental Motion and Ambient Effects. - Controls update the animation in real time. VIDEO EXPORT - Duration selector: 5, 10, 30, 60 seconds. - Download Video button with recording countdown. - MP4 if supported, otherwise WebM. - 12 FPS, 2x resolution (up to 1024px), original aspect ratio. - Nearest-neighbor scaling, no pixel smoothing. - Record only the animation, not the interface. Use HTML, CSS and JavaScript. Make everything functional in a single self-contained page. Prioritize meaningful, scene-specific animation, visual fidelity and seamless looping.
Click a highlighted part to change it.
When to use it
Use when you want a living pixel-art version of a photo or illustration you can tweak and export as video.
How to get the best result
- Attach your image with the prompt; adjust the grid size, palette or export durations as needed.
- Keep the 'do not add or remove elements' line so the composition stays faithful.
Watch-outs
- The model may animate everything generically; ask it to focus on the subjects that should move.
- Browser video export support varies; Safari often falls back to WebM or fails.
Related templates
- Claude Motion 20s Explainer BriefUse when you have a report, notes or chart and want Claude Motion to produce a short on-brand explainer for a specific audience and placement.
- 空想美術館 — Turn Any Word Into an Imaginary Museum Interior (ChatGPT)Use when you want a striking, gallery-quality fantasy interior from a single word, e.g. a season, food, emotion or place.
- International City Travel Art Print — Hand-Drawn Doodle Poster (GPT Image 2.6)Use when you want a collectible, screen-print style city poster for wall art, merch or a travel post.
- キャラクター×休日AM7:00 — What Your Character Does at 7 AM on a Day Off (ChatGPT)Use when you want a cosy, in-character morning snapshot of your original or fictional character instead of a posed portrait.
- Photo to Abstract Symbol Design Poster — Swiss / Risograph Style (GPT Image 2.6)Use when you want an art-institution style poster or brand-mark style artwork derived from a place, object or scene photo.
- Photo to Layered Paper-Cut Diorama Split Poster (GPT Image 2.5)Use when you want to turn a travel or landscape photo into a keepsake-style poster that pairs the real moment with a paper-art version.
Source and attribution
- Example cases by
- Kōda