English | 中文
Image to text using gpt, fast. Built with the Vercel AI SDK, Claude, and Next.js.
- Clone the repository
- Create a
.env.local
file withOPENAI_API_KEY=your-api-key
、OPENAI_BASE_URL=your-base-url
andOPENAI_MODEL=your-like-model
whereyour-api-key
is your OpenAI API key from OpenAI Platform. - Run
yarn
to install dependencies. - Run
yarn dev
to start the development server.
Thanks to the 2txt framework created by ai-ng, I created gpt2txt because it was not convenient for me to purchase Claude's API: