Current project: a platform where all the videos are generated...

@flngr
Julian Bilcke@flngr
19 views Dec 10, 2023 ~3 min read
Advertisement
1
Current project: a platform where all the videos are generated using open-source AI models πŸ‘¨β€πŸ”¬

From a single text prompt it generates the story, snippets, waveforms, merges everything into a single mp4 then pushes it to a Hugging Face dataset

Why? Well, because it's fun!πŸ˜„
Media image
2
More seriously, this type of platform can be a great sandbox to experiment, showcase and compare AI models with low effort πŸ‘€

Currently audio is speech only, but I'm going to add MusicGen to turn the platform into an infinite music video generator, lofi beats etcπŸ€—
Media image
3
This is also social experiment!

I'm curious to see what the community will make of it, as I add more and more open-source models πŸ€—
Media image
4
I will officially share the link later once I tweak it a bit more to fix the various issues (eg .on mobile πŸ˜…)

So stay tuned!

Today this platform is partially deployed actually, but rough on the edges (eg. broken audio commentary)
5
Some technical details:

AI channel are actually Hugging Face datasets

that way people or robots can control their channel using various ways:

Through the HF website, by coding a script, api client..

I’m also working on a dedicated UI to avoid mistakes in the expected format
6
A robot regularly checks the HF platform to see if there are any new channels and videos to generate

It reads the prompt files (which are just markdown files with title, prompt etc) and process them, using whatever video model is defined in the prompt file or the channel config
7
Videos are stored in one big dataset, but that’s fine!

HF datasets are designed to support big collections of binary files πŸ€—

This architecture may evolve in the future to scale and support other features (comments, views, likes..)
8
If you have a desktop computer (mobile support coming soon! In the next days probably) you can see this demo video

It’s one of the first generated, using HotshotXL. The audio is pretty simple, with a few silences

there is also support for SVD and LaVie

huggingface.co/spaces/jbilcke…
9
Under the hood πŸ‘€
Media image
10
Working on some Musicgen prompts for a lofi beats channel on AI Tube 🫢

[this static video isn't generated by the platform - I'm just prototyping some ideas and audio prompts]
1:03
11
AI Tube generated a music video during the night.. except I hear no music πŸ™ˆ

Guess I still have some debugging to do 😭

huggingface.co/spaces/jbilcke…
12
Why it failed:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.03 GiB (GPU 0; 21.99 GiB total capacity; 20.54 GiB already allocated; 611.00 MiB free; 21.04 GiB reserved in total by PyTorch) If reserved memory is >> allocated

I guess I will need a bigger boat
13
Project update! -> x.com/flngr/status/1…
14
New demo, generated during the night:
15
@0xInuarashi Regarding the link to the platform itself, right now it looks like this (see the link in the tweet: )

it’s designed for desktop but I’m going to make some fixes for mobile (I also wanted a layout for smart TVs, so we will see how this goes!)
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement