Text + Image GPT Next.js Example

This is a basic example of how to have a serverless publicly available website that does not leak your OpenAI API key to the public.

Simply add your OpenAI API key to the .env file and you're ready to go.

Use npm run dev to host locally @ localhost:3000. Or use npm run build and then npm run start to preview the public build. Push up to a free Vercel account to host it and share it with the world.