Overview
The Edit endpoint fills forms and modifies documents based on natural language instructions. Provide a document and describe what to change — Aifano handles field detection, text placement, and formatting automatically. Credits: 4 credits per pageBasic Usage
Response
document_url is a presigned download link valid for 24 hours. The form_schema describes detected fields and can be reused for the same form type.
Edit Options
Customize the editing behavior:Form Schema
For repeatable form filling, provide aform_schema with predefined field locations. This improves speed and consistency when processing the same form type multiple times:
Supported Formats
Async Processing
For large documents, use the async variant:Common Use Cases
Tax Forms
Auto-fill W-2s, 1099s, and other tax documents with employee or contractor data.
Insurance Claims
Complete claim forms with policyholder information and incident details.
Government Applications
Fill permit applications, license renewals, and regulatory filings.
HR Onboarding
Pre-fill employment contracts, NDAs, and benefits enrollment forms.