Skip to content

zhiyu1998/gpt2txt

Repository files navigation

gpt2txt

English | 中文

Image to text using gpt, fast. Built with the Vercel AI SDK, Claude, and Next.js.

Deploy with Vercel

home

Developing

  • Clone the repository
  • Create a .env.local file with OPENAI_API_KEY=your-api-keyOPENAI_BASE_URL=your-base-url and OPENAI_MODEL=your-like-model where your-api-key is your OpenAI API key from OpenAI Platform.
  • Run yarn to install dependencies.
  • Run yarn dev to start the development server.

Acknowledgments

Thanks to the 2txt framework created by ai-ng, I created gpt2txt because it was not convenient for me to purchase Claude's API: