ChatGPT Plugins - Replicate Quickstart
Get a Replicate ChatGPT plugin up and running in under 5 minutes using Python. If you do not already have ChatGPT plugin developer access, please join the waitlist.
Setup
To install the required packages for this plugin, run the following command:
pip install -r requirements.txt
Grab your replicate token, then to run the plugin, enter the following command:
export REPLICATE_API_TOKEN=....
python main.py
Once the local server is running:
- Navigate to https://chat.openai.com.
- In the Model drop down, select "Plugins" (note, if you don't see it there, you don't have access yet).
- Select "Plugin store"
- Select "Develop your own plugin"
- Enter in
localhost:5003
since this is the URL the server is running on locally, then select "Find manifest file".
The plugin should now be installed and enabled! You can start with a question like "Generate an image of a cow on mars"
Getting help
If you run into issues or have questions building a chatgpt plugins for replicate, please join the replicate discord