Skip to content

Using the power of OpenAI's ChatGPT and Replicate, generate a special Instagram caption based on the context of your photo and any additional context you would like to add.

Notifications You must be signed in to change notification settings

bmaggiano/instagram-caption-generator

Repository files navigation

Instagram Caption Generator

This project generates Instagram captions for you using ChatGPT.

Instagram Caption Generator

How it works

This project uses the ChatGPT API, Replicate, and Vercel Edge functions with streaming. It prompts the user to upload an image, the with Replicate, we are given a image description. The user is then able to add context to the photo and select a vibe in which they want their caption to look like. After this, 2 captions are generated based on all the input received.

Running Locally

After cloning the repo, go to OpenAI to make an account and put your API key in a file called .env. Do the same with Replicate.

Then, run the application in the command line and it will be available at http://localhost:3000.

npm run dev

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Credits

Credits to Nutlope on github for the groundwork for this application. To view his twitterbio generator, please give it a visit (https://github.com/Nutlope/twitterbio)

About

Using the power of OpenAI's ChatGPT and Replicate, generate a special Instagram caption based on the context of your photo and any additional context you would like to add.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published