PDF Vector

Image Q&A API for Visual Intelligence

Ask questions and get AI-powered answers about any image. Perfect for understanding screenshots, diagrams, photos, and scanned documents with natural language Q&A.

  • Visual + Text UnderstandingCombines OCR with visual AI to understand both text content and visual context in images
  • Intelligent AnalysisAI analyzes the entire image to provide accurate, contextual answers to your questions
  • Natural Language InterfaceAsk questions in plain English and get detailed, markdown-formatted responses

Image Ask API

API Docs
import { readFile } from "fs/promises";
import { PDFVector } from "pdfvector";

const client = new PDFVector({
  apiKey: "pdfvector_xxxxxxx"
});

// Ask questions about an image from URL
const result = await client.ask({
  url: "https://example.com/screenshot.png",
  prompt: "What information is shown in this dashboard?"
});

// Ask questions about an image from file
const fileResult = await client.ask({
  data: await readFile("diagram.jpg"),
  contentType: "image/jpeg",
  prompt: "Explain the workflow shown in this diagram"
});

AI-Powered Image Q&A

Transform images into intelligent conversational interfaces. Our AI understands text, visual context, and relationships to provide accurate answers about any image.

Get started

Visual Understanding

Advanced AI analyzes images comprehensively - reading text, understanding layouts, identifying objects, and grasping visual context.

Natural Language Q&A

Ask questions in plain language and get human-readable answers about any aspect of the image, from text content to visual elements.

Multi-Format Support

Works with screenshots, photos, scanned documents, diagrams, charts, and more. Supports PNG, JPEG, GIF, BMP, TIFF formats.

Contextual Intelligence

Goes beyond simple OCR - understands relationships, layout meaning, and can make intelligent inferences from visual information.

Example Output

Real examples of questions and AI-generated answers from Word documents

Original Document

With invoice

Output

AI-generated answer to your question

Question

What information is shown in this invoice?

Answer

Here’s a breakdown of the information shown in the invoice:

### **Vendor (Seller) Information**
- **Company Name:** East Repair Inc.
- **Address:** 1912 Harvest Lane, New York, NY 12210

### **Billing (Customer) Information**
- **Name:** John Smith
- **Address:** 2 Court Square, New York, NY 12210

### **Shipping Information**
- **Name:** John Smith
- **Address:** 3787 Pineview Drive, Cambridge, MA 12210

### **Invoice Details**
- **Invoice Number:** (Missing, but likely intended to be **2312/2019**)
- **Invoice Date:** **11/02/2019** (November 2, 2019)
- **P.O. Number:** (Blank)
- **Due Date:** **26/02/2019** (February 26, 2019) *(Note: This seems inconsistent with the invoice date—likely a typo, as the due date should be after the invoice date.)*

### **Line Items (Products/Services)**
| **Qty** | **Description**          | **Unit Price** | **Amount** |
|---------|--------------------------|----------------|------------|
| 1       | Front and rear brake cables | $100.00        | $100.00    |
| 2       | New set of pedal arms     | $15.00         | $30.00     |
| 3       | Labor (3 hrs)             | $5.00/hr       | $15.00     |

### **Financial Summary**
- **Subtotal:** $145.00
- **Sales Tax (6.25%):** $9.06
- **Total Due:** **$154.06**

### **Payment Terms & Conditions**
- **Payment Due:** Within 15 days
- **Payable To:** East Repair Inc. (checks accepted)

### **Notes on Potential Errors**
1. **Due Date Issue:** The due date (**26/02/2019**) is *before* the invoice date (**11/02/2019**), which is likely a typo. It should probably be **26/11/2019** (November 26, 2019) or **11/03/2019** (March 11, 2019).
2. **Invoice Number Placement:** The invoice number appears misaligned (under "P.O.#" instead of "INVOICE #").
3. **P.O.# Field:** Left blank.

Would you like help correcting or reformatting this invoice?

One subscription, all APIs

Start for free, then scale as you grow. No hidden fees.

Save one month

Free

$0

Credit Card Required

Perfect for testing and small projects

  • Access to all APIs
  • 100 credits
Subscribe to Free

Basic

$15/month

$176 billed annually

Great for personal projects and small businesses

  • Access to all APIs
  • 3,000 credits
Subscribe to Basic
Most Popular

Pro

$72/month

$869 billed annually

Most popular plan for growing businesses

  • Access to all APIs
  • 100,000 credits
Subscribe to Pro

Enterprise

$305/month

$3663 billed annually

For large-scale applications and enterprises

  • Access to all APIs
  • 500,000 credits
Subscribe to Enterprise

Ready to Make Your Images Conversational?

Transform your images into conversational knowledge sources. Start asking questions about any image and get intelligent AI-powered answers in seconds.

No setup fees • Integrate in minutes • Cancel anytime

Frequently asked questions