This project is designed to automate the creation of quote videos based on a provided prompt. The agent leverages various services to generate and compile video content efficiently and effectively.
- Automated Video Generation: Create quote videos seamlessly from textual prompts.
- Customizable API Calls: Utilize the
HttpClientclass for flexible API interactions. - Modular Design: Organized codebase for easy maintenance and scalability.
app/- Contains the main application logic.
services/- Includes modules for API calls, LLM integration, and prompt handling.
data/- Placeholder for data storage.
-
Clone the repository:
git clone <repository-url>
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
- Copy
example.envto.envand update the values as needed.
- Copy
-
Run the application:
python app/main.py
- Open the project in VS Code.
- Ensure you have the Python extension installed.
- Configure the debugger:
- Open the
.vscode/launch.jsonfile. - Use the provided configuration for running the application with
uvicorn.
- Open the
- Start debugging:
- Press
F5or go to the Run and Debug panel and select "Python Debugger: FastAPI".
- Press
- Open the project in your preferred IDE.
- Ensure the IDE supports Python and has
uvicorninstalled. - Run the application using the following command:
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000 --log-level info
- Access the application at
http://127.0.0.1:8000in your browser.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.