by davide97l
AI agent to automatically generate and post short videos
# Add to your Claude Code skills
git clone https://github.com/davide97l/ai-video-generator
This AI-agent utilizes generative AI to automatically generate short videos and post them on social platforms. It integrates several AI domains such as script generation, image generation, music generation, speech generation, automatic captioning, special effects, automatic upload and video composition to create engaging and high-quality videos. The agent is hosted on Mindsflow.ai.
Script Generation: uses GPT4 to generate compelling scripts for your videos.
Image Generation: Based on the script, it generates relevant and visually appealing frames using StableDiffusionXL.
Music Generation: The system can create original, fitting background music to enhance the mood and tone of the video. It leverages a music generation model
Speech Generation: Using Azure-API, the agent can also generate human-like narrations for the scripts. It supports multiple languages.
Automatic Captioning: This feature ensures accessibility by providing accurate captions for the generated speech. Captions are generated with ffmpeg.
Special Effects: The agent includes the ability to apply various special effects to the video to make it more engaging using moviepy.
Video Composition: The agents is based on a flow-based programming model to assemble different AI and algorithmic components into a complete video. The flow is developed and hosted on Mindsflow.ai. All the blocks of the flow are available here.
Automatic upload: Once the video is ready, the agent can automatically upload it on your favourite social media platform.
Note: running this agent requires to have an OpenAI key, Replicate key, and Azure API key.
You can check out some sample videos at the following links:
These samples provide a glimpse of what the video-generator agent is capable of. Happy viewing!
| Part 1 | Part 2 | Part 3 |
|-------------------------------------|-------------------------------------|-------------------------------------|
|
|
|
|
For more details you see the full images here.
#...