Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lohiyah/vidcraft
VidCraft is an AI-driven backend application that generates videos from user-defined topics and backgrounds. It combines text, audio, and visuals using advanced AI services, making video creation accessible and efficient for developers and content creators alike.
https://github.com/lohiyah/vidcraft
ai elevenlabs fastapi ffmpgeg full-stack-web-development gemini-ai huggingface image-generation machine-learning reactjs subtitles text-to-speech typescript video-generation whisper
Last synced: about 20 hours ago
JSON representation
VidCraft is an AI-driven backend application that generates videos from user-defined topics and backgrounds. It combines text, audio, and visuals using advanced AI services, making video creation accessible and efficient for developers and content creators alike.
- Host: GitHub
- URL: https://github.com/lohiyah/vidcraft
- Owner: LohiyaH
- License: mit
- Created: 2025-01-17T19:04:11.000Z (1 day ago)
- Default Branch: main
- Last Pushed: 2025-01-17T19:15:59.000Z (1 day ago)
- Last Synced: 2025-01-17T20:23:45.940Z (1 day ago)
- Topics: ai, elevenlabs, fastapi, ffmpgeg, full-stack-web-development, gemini-ai, huggingface, image-generation, machine-learning, reactjs, subtitles, text-to-speech, typescript, video-generation, whisper
- Language: TypeScript
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VidCraft
## Description
This backend application is built using FastAPI and is designed to generate videos based on user-defined topics and backgrounds. It integrates multiple AI services for text generation, audio synthesis, image creation, and subtitle generation. The application handles various tasks, including cleaning text, formatting subtitles, and generating video files using FFmpeg.## Installation
1. Clone the repository:
```bash
git clone https://github.com/LohiyaH/VidCraft
cd shorty
```
2. Install the required dependencies:
```bash
pip install -r backend/requirements.txt
```
3. Set up environment variables in a `.env` file:
```
GEMINI_API_KEY=
ELEVENLABS_API_KEY=
HUGGINGFACE_API_KEY=
```## Usage
1. Run the FastAPI application:
```bash
uvicorn backend.main:app --reload
```
2. Access the API documentation at `http://localhost:8000/docs`.## API Endpoints
- **POST** `/api/generate-video`
- **Request Body**:
```json
{
"topic": "string",
"background": "string"
}
```
- **Response**:
```json
{
"videoUrl": "string"
}
```- **GET** `/api/test`
- Returns a simple test message.## Contributing
Contributions are welcome! Please open an issue or submit a pull request.## License
This project is licensed under the MIT License.