convertPdfToImages
Convert each page of a PDF document into a PNG image.
mindstudio.convertPdfToImages({ pdfUrl }) → Result
Renders each page of a PDF to a PNG and returns the image URLs — the way to display a PDF where you cannot embed one, or to hand pages to a vision model.
Parameters
pdfUrl
string
RequiredURL of the PDF document to convert
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.convertPdfToImages({ pdfUrl: /* ... */ });