- A Datalab account with an API key (new accounts include $5 in free credits)
- Python 3.10+ installed
- The Datalab SDK:
pip install datalab-python-sdk - Your
DATALAB_API_KEYenvironment variable set
Quick Start
How It Works
- Upload your form (PDF or image) with field data
- The API detects form fields and matches them to your data
- Fields are filled and the form is returned as PDF or PNG
Field Data Format
Provide field names with values and descriptions:Examples
Basic fields:"yes", "true", "1", "checked", "x" will check boxes.
Compound data:
Options
Context Parameter
Usecontext to improve matching for specific form types:
Response
Supported Form Types
- PDF with native AcroForm fields - Uses PDF form fields directly
- PDF with visual fields - Detects field locations and adds text overlays
- Images (PNG, JPG) - Detects field locations and draws text on image
Next Steps
SDK Form Filling
Complete SDK reference for form filling
File Upload
Upload forms for reuse across requests
Pipelines
Chain processors into versioned, reusable pipelines.
Webhooks
Get notified when form filling completes