cydermotion / README.md
Cydercoder's picture
Upload 2 files
635c454 verified
|
Raw
History Blame Contribute Delete
6.4 kB
---
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.