cURL
curl --request POST \ --url https://platform.aifano.com/edit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "document_url": "<string>", "edit_instructions": "<string>" } '
{ "job_id": "<string>", "duration": 123, "usage": { "num_pages": 123, "credits": 123 }, "result": {} }
Edit a document using natural language instructions. Modify, redact, or transform document content programmatically.
API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.
ak_live_
URL or aifano:// reference to the document to edit.
Natural language instructions for editing the document.
Successful edit
Show child attributes