Introducing the PicToText API: AI OCR for Developers
We are thrilled to announce the official launch of the PicToText API!
For a long time, PicToText has been dedicated to providing users with a simple and powerful online OCR service. Today, we're taking a major step forward by opening up our powerful, high-precision AI OCR (Optical Character Recognition) capabilities to all developers through a new SaaS API. Whether you're looking to build your own document verification workflow or automate user information entry in your application, the PicToText API is here to be your trusted assistant.
What is the PicToText API?
In short, it's an API designed for developers to extract structured data from identity documents like ID cards, passports, and driver's licenses. All you have to do is upload a document image, and our AI model will recognize the key information within seconds and return it to you in a clean, easy-to-process JSON format.
Getting Started
We know that development speed is critical, so we've designed the API to be incredibly simple. You can make your first successful call in under 5 minutes.
Step 1: Get Your API Key
- Visit pictotext.io and sign up for an account.
- Once logged in, navigate to your Dashboard and click on the API Keys tab.
- Generate a new API key and copy it. Please keep it secure, as it will be used to authenticate all your API requests.
Step 2: Make Your First Request
You can use any programming language or tool you prefer to call the API. Here is a simple example using cURL to recognize an ID card image:
curl -X POST "https://pictotext.io/api/v1/ocr" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "[email protected]" \
-F "documentType=cn_id_card"
Remember to replace YOUR_API_KEY
with your own key and document.jpg
with the path to your file.
Step 3: Understand the Response
If the request is successful, you will receive a JSON object containing all the recognized fields, like this:
{
"name": "John Doe",
"gender": "Male",
"ethnicity": "Han",
"dateOfBirth": "1990-01-01",
"address": "123 Main Street, Anytown",
"idNumber": "110101199001011234"
}
It's that simple! You have now successfully converted a document image into structured data.
Core Features at a Glance
- π Extensive Document Support: We support a wide range of documents from dozens of countries and regions, including ID cards, passports, and driver's licenses.
- π― High Accuracy and Speed: Our advanced AI models ensure high accuracy while returning results in just 2-5 seconds.
- π Secure and Reliable: We use encryption to protect your data and do not permanently store the images you upload.
To learn more about all the document types we support and for more detailed API features, please check out our official documentation.
We Welcome Your Feedback
We are committed to providing you with the most stable and efficient service possible. If you have any questions, suggestions, or need technical support, please do not hesitate to contact us by email at: [email protected].
We look forward to seeing the amazing applications you build with the PicToText API!