Skip to content

Struggling to come up with the perfect caption to describe your pictures? Generate the perfect caption with the help of ChatGPT.

Notifications You must be signed in to change notification settings

zhao-stanley/captiongen

Repository files navigation

Header

captiongen - Generate the perfect caption for your social media post. | Product Hunt

Getting Started

First, you will need a OPENAI_API_KEY in your .env file to run this locally.

You can then start a development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 to access the application.

How does it work?

This app uses OpenAI's gpt-3.5-turbo model and Vercel Edge functions with streaming. Captions are then generated based on the user's specifications. The payload is then sent to OpenAI's endpoint using Vercel's Edge function.

Credits