You can use the API directly to convert PDF files.
POST /apiThe endpoint accepts multipart/form-data and can handle single or multiple file uploads. Use the file key for each file you upload.
curlcurl -X POST -F "file=@/path/to/your/document.pdf" https://xtomd.vercel.app/api
curl -X POST -F "file=@/path/to/document1.pdf" -F "file=@/path/to/document2.pdf" https://xtomd.vercel.app/api