Skip to content

Transform images into editable text effortlessly using AI. 📸➡️📝

Notifications You must be signed in to change notification settings

abdtriedcoding/snaptext-ai

Repository files navigation

snaptext

Transform images into editable text effortlessly using AI. 📸➡️📝

Thumbnail

Key Features:

  • Extract text from images using AI ✨
  • Use of Claude, Anthropic AI 🤖
  • Use of Vercel AI SDK 🚀
  • Rate limiting feature using Upstash ⏳

How it works

This project uses both Vercel AI Sdk and Claude with streaming to transform your images into editable text effortlessly. Image input file is pass to a prompt, then sends it to the claude API, where vercel ai sdk helps in the streams the response back to the application.

Prerequisites

Node version 20.x.x

Running Locally

  1. Clone the repository.
  2. Create an account at console.anthropic.com and add your API key under ANTHROPIC_API_KEY in your .env.
  3. Make account at upstash and add your API key under UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN in your .env.
  4. Run npm install to install dependencies.
  5. Run the application with npm run dev and it will be available at http://localhost:3000.