MooseAI · Code to video
Code to video: AI motion videos, written as code
Describe the video you want and an AI model, your pick of Claude Opus 5.5, Gemini 4 Neon, GPT-6.2 Sol and DeepSeek V4.1 Flash, writes it as code: HTML, CSS and JavaScript animation, with sound made in code too. It plays live in your browser, you change it by chatting, and MooseAI renders it frame by frame into a 30 fps MP4. Because it is code, text stays sharp, numbers are exact and every change is precise.
How it works
- Open Create, which starts in Motion, and sign in with Apple or Google.
- Describe the video: what it says, the numbers, the brand, the mood. Add up to 8 photos or a logo if you like.
- Pick a skill for the kind of video, such as Sale Promo, Kinetic Type or Data Chart, then the shape and length.
- Press Generate. The AI writes the video as code and it plays in your browser in a minute or two.
- Ask for changes in the chat, such as “slower”, “bigger title” or “use our blue”. Every change is a new version you can go back to.
- Export the MP4 and download it.
Why code instead of pixels
- Text you can read. Titles, prices, captions and quotes are real type, not letters a model guesses at, so they are spelled right and stay sharp.
- Exact numbers. Charts, counters and countdowns animate to the values you give, not approximations.
- Precise changes. “Make the logo bigger” changes the logo and nothing else. Every version is kept, so you can compare and go back.
- Your brand. Name your colours and fonts, add your logo and photos, and they are used as they are.
- Lower cost. Writing code takes a few credits a change, and exporting the MP4 is included.
What you can make
Each skill gives the AI a playbook for one kind of video: its pacing, layout, type and signature moves. Pick one, or none and just describe it. Links open the studio with an example.
Social & stories
- TikTok / Reels: A hook in the first second, a new beat every few seconds, and a loop. e.g. “3 tips to fall asleep faster”
- Captions: Bold word-by-word captions that tell your message, one word lit at a time. e.g. “3 reasons you're always tired, told in captions”
- Text Story: A chat thread that types itself out, bubble by bubble. e.g. “Mia texts Leo that she got the job”
- Beat Cut: Your photos cut to the beat, faster and faster up to the drop. e.g. “A hype montage of my trip photos, cut to the beat”
- Photo Slideshow: Your photos with slow pans, zooms and clean transitions. e.g. “A slideshow of our trip to Japan”
- Kinetic Type: Words that move: line, word and letter reveals for quotes and lyrics. e.g. “Lyric video: “We were young and the night was ours”
- Year Wrapped: Your stats as a story that builds to one big number. e.g. “My 2026 running: 1,240 km, 182 runs, longest 32 km”
- Testimonial: A customer quote, star rating and name, revealed with care. e.g. “Best coffee in town” — 5 stars, Anna K.”
Promote & brand
- Sale Promo: Was → now prices, the discount and a code, with honest urgency. e.g. “Sneakers from $120 to $79, code BF30, ends Sunday”
- Ad: Hook, benefit, proof and a call to action in about 15 seconds. e.g. “A 15-second ad for a cold brew subscription”
- App Demo: Your screenshots with a moving cursor, taps, zooms and callouts. e.g. “Show how to book a table in my app”
- Launch Film: Hook, tease, a reveal that lands on the drop, fast features and an end card. e.g. “A launch film for Hydra, our new smart water bottle”
- Glass: Frosted glass cards over moving color, for premium app and product promos. e.g. “Show 3 features of my budgeting app on glass cards”
- Logo Reveal: A logo that draws on, builds or snaps in, with a sound hit. e.g. “Reveal my logo with the tagline “Fresh every day”
- YouTube Intro: A short channel sting, or an end screen in YouTube's zones. e.g. “A 5-second intro for my channel Cook with Sam”
- Lower Third: Name and title bars that slide in clean, for interviews and talks. e.g. “Name titles for Anna Lee, CEO, and Tom Park, Head of Design”
- Countdown: An exact timer with rolling digits and a big final moment. e.g. “10-second countdown to New Year 2027”
Explain & data
- Explainer: One idea in clear scenes, carried by one analogy. e.g. “How a vaccine teaches your body”
- Whiteboard: Drawn line by line on a white board as the idea builds. e.g. “How compound interest works”
- Slides: Your outline as animated slides that play on their own, one point each. e.g. “A 5-slide pitch for my dog-walking startup”
- Diagram: Flowcharts and how-it-works diagrams that build step by step. e.g. “How an order goes from the app to the kitchen to the driver”
- Infographic: Key facts, numbers and icons revealed in order of importance. e.g. “5 surprising facts about the ocean”
- Data Chart: Bars, lines and counters that grow to the real numbers. e.g. “Monthly users: Jan 1.2k, Feb 2.8k, Mar 5.1k, Apr 9.4k”
- Math: Equations, graphs and proofs that draw themselves, 3Blue1Brown style. e.g. “Why the area of a circle is πr², step by step”
Art & loops
- Particles: Confetti, snow, sparks, fireworks, or a word that forms out of dust. e.g. “Fireworks that burst into the words Happy Birthday Mia”
- Ambient Loop: A slow, seamless loop: soft gradients, auroras or drifting dots. e.g. “A calm purple aurora loop for my phone wallpaper”
- Shader Art: Liquid color, plasma and glitch, generated pixel by pixel. e.g. “A liquid chrome loop with the word FLOW glitching in”
- Line Art: Line drawings that draw themselves, morphing icons and paths. e.g. “One line that draws a coffee cup, then morphs into a heart”
- Isometric: A 2.5D scene that builds itself layer by layer, like a tiny model world. e.g. “An isometric city block that builds itself, floor by floor”
- ASCII / Terminal: Retro text-character art and terminal scenes, typed line by line. e.g. “A hacker-style terminal that types my name, then turns it into ASCII art”
- Drawn Film: A hand-drawn short story or explainer, every frame drawn in code. e.g. “A short story about a cat who is afraid of the rain”
The video you get
- Shapes: 9:16 (1080×1920), 16:9 (1920×1080), 1:1 (1080×1080) and 4:5 (1080×1350), for TikTok, Reels and Shorts, YouTube, feeds and presentations.
- Up to 60 seconds at 30 fps, as an MP4 with its sound.
- Up to 8 of your photos, logos or screenshots in one video.
- Written by Claude Opus 5.5, Gemini 4 Neon, GPT-6.2 Sol and DeepSeek V4.1 Flash: pick per change, from fast and low-cost to the most capable.
For footage of real scenes, such as people, places and products in motion, use text to video or image to video with Veo, Kling or Seedance instead. See also the AI motion graphics generator.
Questions
What is code to video?
Instead of generating pixels, an AI model writes the video as a small web animation in HTML, CSS and JavaScript. It plays in the browser like a web page, and MooseAI records it frame by frame into an MP4. It suits anything made of text, shapes, charts, icons and photos.
Do I need to know how to code?
No. You describe the video in plain words and ask for changes the same way. The code is written and run for you.
Which AI models write the videos?
Claude Opus 5.5, Gemini 4 Neon, GPT-6.2 Sol and DeepSeek V4.1 Flash. The fast ones cost a few credits a change; the most capable write more ambitious animation.
How much does it cost?
Each change uses credits for the AI’s work, shown before you send it; you pay for what it actually used. Exporting the MP4 uses no extra credits.
Can I use my own photos and logo?
Yes, up to 8 per video: add them when you start or with a change.
Can I use the videos commercially?
Yes. As far as the law allows, you may use the videos made for you for any lawful purpose, including commercial use, as the Terms say.
Also in MooseAI
- AI motion graphics generator
- Text to video AI generator
- Image to video AI: animate a photo
- AI image generator
- AI GIF maker: animated GIFs from text or a photo
- AI SVG generator: vector icons, logos and illustrations
- AI video upscaler: up to 4K at 60 fps
- AI image upscaler: up to 128 megapixels
- AI video editor: change a video with a prompt