A WaytoAGI creator demonstrated two directions for working with MAGI-2 and Google’s Gemini 4 Neon. A video can communicate color, pace, and motion to a coding model. Code can also define timed motion that becomes a reference for a generated video. Each direction ends with a different artifact and calls for a different review.

Video to code for a motion prototype

Generate a short motion study with a distinct beginning, transition, and resting position. A cut-paper map folding into a set of cards is enough to demonstrate scale, layering, and pacing. Save a few representative stills. Then ask Neon to describe the observed layers, colors, and transition points before writing any code.

Give the coding model the target viewport sizes and the interaction you want. For a scroll-based page, describe what happens at the top, midpoint, and end of the section. Ask for a reduced-motion version and check it independently from the animated version. Confirm that the resulting page keeps text readable and keyboard focus visible while a transition plays.

Code to video for precise motion references

Build a plain browser animation with a few rectangles or simple shapes. Set the path and key poses against a known timebase. For example, show a small package moving along a conveyor, pausing at a gate, and turning right. Adjust the timing in code, then export a short screen recording. A still image can provide the desired visual style, and the recording can provide the motion.

In the video prompt, ask the generator to preserve the package path, the pause at the gate, and the final direction. Confirm the interface accepts video references and list any audio separately. A clear motion reference is easier to score than a long description asking for several movements at once.

Review each handoff against its source

For code, compare the prototype with the motion study at several scroll positions, including on a narrow screen. For video, compare the generated clip against the reference at the three moments you planned. Google documents video input for Gemini, while Sand documents the supported video-reference format for MAGI-2. The community workflow offers one way to connect those capabilities through the files you pass between them.

Editorial illustrations

The cover and the examples below are AI-assisted editorial illustrations inspired by the source material. Use them as visual guides when planning your own tests.

Preparing your references

An icon sequence showing media input and scripted motion
An icon sequence showing media input and scripted motion.
Ribbon movement study in a warm painted scene
Ribbon movement study in a warm painted scene.
A moving performer in a moody backlight study
A moving performer in a moody backlight study.
A mountain portrait with an abstract palette study
A mountain portrait with an abstract palette study.

Lighting and shot concepts

A film still of a blank paper receipt in an unbranded printer
A film still of a blank paper receipt in an unbranded printer.
A mechanical motion reference with a ball and glass basin
A mechanical motion reference with a ball and glass basin.
An editorial storyboard about motion-driven web design
An editorial storyboard about motion-driven web design.
Alternating campaign frames for testing visual transitions
Alternating campaign frames for testing visual transitions.

Planning the handoff

A reference board of unbranded drink visuals and palette
A reference board of unbranded drink visuals and palette.
Reference frames arranged for a code-to-video handoff
Reference frames arranged for a code-to-video handoff.
An illustration of the handoff from a film clip to editable code
An illustration of the handoff from a film clip to editable code.