Fill PDF or image forms with provided field data. Supports PDFs with and without native form fields.
JSON string mapping field keys to values and descriptions. Format: {"field_key": {"value": "...", "description": "..."}}
Optional file URL (http/https). If provided, the server will download and process it.
Optional context to guide form filling (e.g., 'Initial hire for new employee').
Minimum confidence for field matching (0.0-1.0). Fields below this threshold won't be filled.
Pages to process, comma separated like 0,5-10,20. Example: '0,2-4' will process pages 0, 2, 3, and 4.
Skip the cache and re-run the inference. Defaults to False.
Input PDF, word document, powerpoint, or image file, uploaded as multipart form data. Images must be png, jpg, or webp format.
Successful Response
The ID of the request. This ID can be used to check the status of the request.
The URL to check the status of the request and get results.
Whether the request was successful.
If the request was not successful, this will contain an error message.
A dictionary of the versions of the libraries used in the request.