Images & PDF
Compress images, resize them, merge/split PDFs, convert to JPG.
Endpoints
/api/tool/image-compressorUpload JPEG/PNG/WebP; set quality (0β1) and optional maxSize.
/api/tool/image-resizerResize by width/height (preserves aspect ratio by default).
/api/tool/image-cropperCrop to x,y,width,height rectangle.
/api/tool/image-rotateRotate by degrees (90/180/270).
/api/tool/image-metadataRead dimensions + size/type from PNG/JPEG/GIF headers.
/api/tool/pdf-mergeSend two or more PDFs as repeated files field; server merges into one.
/api/tool/pdf-splitUpload a PDF and set afterPage=N β two PDFs.
/api/tool/pdf-to-jpgRender each page as JPG; set dpi (default 150).
/api/tool/images-to-pdfCombine images into a single PDF (default A4).
Example: compress an image
curl -X POST https://cloud.uflow.uz/api/tool/image-compressor \
-H "Authorization: Bearer uf_live_β¦" \
-F "file=@photo.jpg" \
-F "quality=0.7" \
-F "maxSize=1920" \
--output compressed.jpgExample: merge multiple PDFs
curl -X POST https://cloud.uflow.uz/api/tool/pdf-merge \
-H "Authorization: Bearer uf_live_β¦" \
-F "files=@page1.pdf" \
-F "files=@page2.pdf" \
-F "files=@page3.pdf" \
--output merged.pdfExample: images to PDF
curl -X POST https://cloud.uflow.uz/api/tool/images-to-pdf \
-H "Authorization: Bearer uf_live_β¦" \
-F "files=@scan1.jpg" \
-F "files=@scan2.jpg" \
-F "pageSize=A4" \
--output out.pdfResponse shape
Successful calls return ok:true, the tool slug, and a result object with metadata. Processed binaries will stream back with Content-Disposition once the Node-runtime processors ship; until then metadata and a base64 echo are returned so you can test integration.