프로젝트
GitHub에서 보기
unconv/shortrocity
소개
Generate YouTube Shorts with AI
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalShortrocity
Shortrocity is a tool for making AI generated short videos ("shorts" or "reels") with a ChatGPT generated script, narrated by ElevenLabs or OpenAI text-to-speech. DALL-E 3 generated background images are also added to the background. Captions with word highlighting are generated with Captacity, which uses OpenAI Whisper.
Quick Start
First, add your API-keys to the environment:
$ export OPENAI_API_KEY=YOUR_OPENAI_API_KEY
$ export ELEVEN_API_KEY=YOUR_ELEVENLABS_API_KEY
Then, put your source content in a file, for example source.txt and run the main.py:
$ ./main.py source.txt
Generating script...
Generating narration...
Generating images...
Generating video...
DONE! Here's your video: shorts/1701788183/short.avi
Caption styling
Optionally, you can specify a settings file to define settings for the caption styling:
$ ./main.py source.txt settings.json
The settings file can look like this, for example:
{
"font": "Bangers-Regular.ttf",
"font_size": 130,
"font_color": "yellow",
"stroke_width": 3,
"stroke_color": "black",
"highlight_current_word": true,
"word_highlight_color": "red",
"line_count": 2,
"padding": 50,
"shadow_strength": 1.0,
"shadow_blur": 0.1
}
관련 프로젝트 살펴보기
불러오는 중…