This app uses Gemini 1.5 Pro
to generate amazing script for Tiktok contents.
You can select:
- Target Country
- Audience Age Range
- Type
- Topic(s)
and it will generate scripts that you can immediately use.
Scene: A dimly lit bar, upbeat music playing in the background.
Characters:
- Bartender (20s, cool and collected)
- Customer (20s, visibly nervous)
(Video starts with a close-up shot of a cocktail shaker being shaken vigorously. The camera pans to the Bartender, who smoothly pours a bright pink drink into a martini glass.)
Bartender: (Smirking) First time ordering a drink?
(Camera cuts to the Customer, who's fidgeting with their phone and avoiding eye contact.)
Customer: (Stuttering) Uh... maybe. What gave it away? The fact that I'm reading the drink menu upside down?
(The Bartender raises an eyebrow playfully. Camera zooms in on the drink menu, which is indeed upside down.)
Bartender: Could be that. Or maybe it's the fact you're wearing noise-cancelling headphones... in a bar.
(The Customer sheepishly takes off their headphones. Upbeat music cuts out abruptly. Awkward silence.)
Customer: (Whispering) Is it too late to order a water?
(The Bartender bursts out laughing. Camera focuses on their reaction for a beat.)
Bartender: Tell you what, I'll make you something even better. Trust me?
(The Bartender winks at the camera. Video ends with a shot of the mysterious drink being prepared, overlaid with text: "What do you think's in it? 🤔 #bartenderlife #firsttimedrinker #awkwardmoments")
- Clone this repo
- Create an API to use Gemini at Google AI Studio
- Ensure you have Python, pip, node installed on your machine
- In your root folder, run
cd slicktok-backend
- Create a virtual environment and activate it
- Create an
.env
file and add yourGOOGLE_API_KEY
- Install dependencies running
pip install -r requirements.txt
- Finally run the server using
uvicorn main:app --host 0.0.0.0 --port 8000
At http://0.0.0.0/8000 you'll see the server running
- Go back to root folder running
cd ..
- Enter
slicktok-frontend
folder runningcd slicktok-frontend
- Run
npm i
- Finally, run
npm run dev
You'll see the app running at http://localhost:5173
Enter the following info:
- Audience Country: US, UK, Canada
- Audience Age Range: *# Could be 13-18, 18-23, 23-28, 28-33, 33-38, 38-43, Above 43
- Type of video: funny, educational, emotional, informative, alarming, romantic
- Video Topic(s): e.g. cats, couple, work, engineering, politics
Click on the Button Generate Script and wait... You'll see the script in a few seconds.