ScriptCraft is a web application that simplifies the creation of testimonial video ads using the power of OpenAI's GPT-3 API. Built with Flask and designed for ease of use, ScriptCraft provides users with a user-friendly interface to input product information. Leveraging the capabilities of OpenAI's GPT-3, the application dynamically generates three script ideas for a testimonial video ad based on the provided product details.
-
User-Friendly Interface: The app features a clean and intuitive interface that allows users to easily input product information through a form.
-
Dynamic Script Generation: Upon form submission, the app sends the product details to the OpenAI GPT-3 API, which dynamically generates three script ideas for a testimonial video ad.
-
Responsive Design: The app is designed to be responsive, ensuring a seamless experience across various devices, including desktops, tablets, and mobile phones.
-
Separation of Concerns: The code follows best practices, with separation of concerns between the Flask application, HTML templates, and static CSS files for easy maintenance and scalability.
└── script-craft/
├── .replit
├── main.py
├── poetry.lock
├── pyproject.toml
├── replit_zip_error_log.txt
├── requirements.txt
└── static/
├── index.css
└── result.css
└── script.js
└── templates/
├── index.html
└── result.html
Dependencies
Please ensure you have the following dependencies installed on your system:
Openai
Flask
- Change to the project directory:
cd script-craft
- Install the dependencies:
pip install -r requirements.txt