Convert PDF to text

​A PDF-to-text conversion uses optical character recognition (OCR) technology to automatically convert the contents of a PDF file into plain text. This process can be useful for a variety of purposes, including extracting and manipulating text from a PDF document, making the text more searchable, or preparing the PDF for text-to-speech conversion. To use a PDF-to-text, you can send the PDF file you want to convert to the​ API and receive the extracted text as a response.




Convert PDF to text by performing a POST request to the following URL: api.oneai.com/api/v0/pipeline { "input": "your input text here", "steps": [{ "skill": "pdf-to-text" }] }


Returns the text content extracted from the PDF file

Supported Labels