Skip to main content
All templates

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.

Made for GPT ImageVideo templateRevision 2

Demo video

View case

Start from an example

Pick an example to load its exact settings, then make it yours.

  • View case

Make it yours

Only the parts worth changing are shown. The prompt updates as you go.

Pixel grid limit.

Color count.

Your prompt

Convert the attached image into highly detailed, animated pixel art. Build a single interactive HTML page. PIXEL ART - , preserving the original aspect ratio. - . - 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: . - 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.

Source and attribution

Example cases by
Kōda

Browse more