MoviePitch is a web application that generates creative responses to movie outlines using the OpenAI text-davinci-003 model. It's a fun project that showcases the capabilities of text-DaVinci-003 with the "few-shot approach method" and how it can generate engaging content based on input prompts and an image generated based on the concept.
-
Creative Movie Outline Responses: # MoviePitch takes a movie outline as input and generates enthusiastic and creative responses to it. The responses mimic the tone of a movie executive giving feedback.
-
Real-time Interaction: Users can enter their movie outline in a text input field, and the AI's response is dynamically displayed on the page without requiring a page refresh.
-
Visual Loading Feedback: A loading animation is displayed while the AI processes the input and generates a response, providing a visually appealing and user-friendly experience.
-
Visual Loading Feedback: Receive a creative image related to your concept with related text.
- Clone this repository to your local machine.
- Replace
process.env.OPENAI_API_KEY
in theindex.js
file with your actual OpenAI API key. - Open the
index.html
file in a web browser. - Enter a movie outline in the provided text area and click the "Send" button.
- The AI's response to the outline will be displayed below.
To run the project, you need an OpenAI API key. Follow these steps to set it up:
- Sign up or log in to your OpenAI account.
- Create a new environment variable named
OPENAI_API_KEY
and assign your API key as its value.
This project relies on the following technologies and libraries:
-- OpenAI text-davinci-003: The powerful text-based model used to generate movie responses.
-- Acknowledgments
This project was inspired by the capabilities of the text-davinci-003 model developed by OpenAI. Special thanks to the OpenAI team for their efforts in pushing the boundaries of natural language processing.
Quick start:
$ npm install
$ npm start
Happy Coding!