CoolFace
Apppublic

hussainwajid390/animation_vidoes

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
App README

๐ŸŽฅ 3D Cartoon Animation Generator (Text โ†’ 3D Cartoon Video)

This Hugging Face Space generates 3D cartoon-style animations from a user-provided script.

  • โ€”Input: A text script (50s โ€“ 1 min)
  • โ€”Output: Animated 3D cartoon video (.mp4)
  • โ€”If well-known personalities are mentioned, the AI automatically fetches their image and integrates it into the video.

๐Ÿš€ How to Use

  1. 1.Type or paste your script into the text box.
  2. 2.Click Generate Cartoon Animation.
  3. 3.Wait while the model processes (can take a few minutes).
  4. 4.Preview and download your generated cartoon video.

๐Ÿ› ๏ธ Technical Details

  • โ€”Frontend: Streamlit
  • โ€”Backend Models:
  • โ€”Text-to-video: Zeroscope V2
  • โ€”Cartoon-style rendering: post-processing with ffmpeg + cartoon filters
  • โ€”Personality images: fetched using Hugging Face APIs (if available)
  • โ€”Files in this repo:
  • โ€”app.py โ†’ Main Streamlit application
  • โ€”utils.py โ†’ Helper functions (cartoon filters, image fetching)
  • โ€”requirements.txt โ†’ Dependencies list
  • โ€”Dockerfile โ†’ Containerization setup for Hugging Face deployment
  • โ€”README.md โ†’ This documentation

๐Ÿ“ฆ Installation (Local Development)

Clone the repository:

bash
git clone https://huggingface.co/spaces/username/cartoon-animation
cd cartoon-animation