Spaces:
Running on Zero
Running on Zero
File size: 6,399 Bytes
b0fbf54 590e6fe b0fbf54 590e6fe b0fbf54 590e6fe afa8596 590e6fe 635c454 590e6fe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | ---
title: My Motion Video AI
emoji: π¬
colorFrom: purple
colorTo: blue
sdk: gradio
app_file: app.py
pinned: false
models:
- Lightricks/LTX-Video-0.9.5
---
# π¬ My Motion Video AI
Your own AI video generator β **runs 100% in the cloud** on Hugging Face GPUs.
Your old laptop only needs a browser. No local install, no local GPU, no cost
to deploy.
- **Model:** [LTX-Video 0.9.5 (2B)](https://huggingface.co/Lightricks/LTX-Video-0.9.5) (open source, by Lightricks)
- **Stack:** Gradio web UI + Diffusers
- **Hosting:** Hugging Face Space with **ZeroGPU** (free GPU in the cloud)
- **Features:** Text-to-Video and Image-to-Video (animate a logo or title card)
---
## How to deploy it (free, ~20 minutes)
1. **Create a Hugging Face account** β https://huggingface.co/join
(verify your email so you're in "good standing" and can host ZeroGPU Spaces)
2. **Create a new Space:**
- Go to https://huggingface.co/new-space
- Name it e.g. `my-motion-video-ai`
- License: any (Apache 2.0 is fine)
- SDK: **Gradio**
- Click **Create Space**, then in **Settings β Hardware** select
**ZeroGPU** β οΈ (free GPU). The README also requests it via
`hardware: {accelerator: zero-gpu}` when you push these files.
> Note: ZeroGPU hosting needs an account in good standing β verified email
> and account older than 30 days. If you just created the account, it may
> take a few weeks before you can host a ZeroGPU Space; until then you can
> still use *other* public ZeroGPU Spaces, or ask me to point you at ready-made ones.
3. **Upload these files.** Either:
- Use the **Files** tab β "Add file" β upload `app.py`, `requirements.txt`,
`README.md` (replace the auto-generated README), or
- Push from your laptop with git:
```bash
git init
git add .
git commit -m "initial"
git remote add origin https://huggingface.co/spaces/<your-username>/<space-name>
git push --force
```
4. **Wait for the build** (the model is downloaded automatically at build time
thanks to the `models:` key in this README). Then open the app β it's live
at `https://huggingface.co/spaces/<your-username>/<space-name>`.
That's it. The app is **your** AI, hosted on their GPU, reachable from any
browser, on any device, forever (as long as the Space stays public/free).
---
## β οΈ The real limits (read this β it saves disappointment)
| Account | Free GPU per day | Note |
|---|---|---|
| No account | 2 minutes | Low queue priority |
| Free account | **5 minutes** | Resets 24h after first use each day |
| PRO ($9/mo) | 40 minutes + credits | Highest queue priority |
(Data from the official [ZeroGPU docs](https://huggingface.co/docs/hub/en/spaces-zerogpu),
Aug 2026. Free accounts can host up to 2 ZeroGPU Spaces.)
- ZeroGPU bills each request by its **reserved duration** (x1.5 on current
hardware), not the exact seconds used. The app reserves just enough for one
clip, so a free account realistically gets **~2β4 videos per day** (short,
low-resolution clips cost less and stretch it further).
- Queue priority is based on remaining quota β use your quota early in the day.
- There is **no unlimited free tier anywhere** for video generation. GPUs are
expensive; that's physics, not a scam.
---
## How to use it well
### Prompting tips (motion graphics)
- Describe the scene **and** the motion: *"glossy chrome sphere rotating slowly,
volumetric lighting, dark studio"*.
- Clip length: the model's max is **~10s** (257 frames). Drag the **Frames**
slider up for longer clips (more frames = more GPU quota per clip).
- Need a *longer* video? Generate several short clips with matching prompts
(reuse the **seed** for visual consistency) and stitch them with any free
video editor β far more reliable than forcing one long generation.
- More inference steps (40β50) = better quality but slower and more quota.
- Reuse a **seed** to reproduce a video and iterate on it.
### Kinetic typography / logos (the pro move)
Text rendering in video models is unreliable. Instead:
1. Generate the title/logo as an **image** (free tools: Stable Diffusion in a
free Space, or Google AI Studio for images).
2. Switch the app to **Image to Video**, upload it, and prompt for motion:
*"logo rotating in 3D, smooth, reflective floor, cinematic lighting"*.
### Sample prompts
- **3D-style:** `Cinematic 3D render, glossy chrome sphere rotating on a dark studio background, volumetric lighting, smooth slow motion, octane render, 8k`
- **Abstract loop:** `Seamless abstract loop, flowing liquid metal, iridescent gradient colors, dark background, smooth hypnotic motion`
- **Kinetic typography:** `Kinetic typography, the word MOTION exploding into view letter by letter, bold neon glowing letters, dark background, energetic dynamic camera`
---
## Phase 2: training it on YOUR style (optional, later)
"Training your own" realistically means **fine-tuning / LoRA** on top of an
existing open model. For LTX-Video, the official trainer is
[`ltx-video` (ltx-trainer)](https://github.com/Lightricks/ltx-video).
- **What you need:** ~10β50 of your own motion-graphics clips, a few hours of
rented GPU, and some patience.
- **Cheapest real path:** rent a GPU for a few hours (~$0.5β2/hr at providers
like RunPod/Vast.ai; Google Colab free is too slow/limited for this).
- **Cost honesty:** fine-tuning a video model from *scratch* costs tens of
thousands of dollars β nobody does that. Fine-tuning on top of LTX-Video or
Wan 2.2 is the legitimate, achievable version.
- **Do Phase 1 first.** The base model already handles 3D-style shots, abstract
loops, and kinetic typography β you may never need Phase 2.
---
## FAQ
**My laptop is old / low spec. Does that matter?**
No. The app runs on Hugging Face's GPU. Your laptop just opens a web page.
**Is this really free?**
Deploying and running the Space is free. Generation is limited by the 5
min/day free GPU quota above.
**I want "unlimited".**
Then you'll pay eventually β the cheapest legit path is HF PRO ($9/mo, 40 min
GPU/day + credits) or renting a GPU for batch jobs. Anyone promising unlimited
free video AI is either lying or harvesting your data.
**Can others use my app?**
Yes β if the Space is public, anyone with the link can use it (consuming your
daily quota). Make it private if it's just for you.
|