PDFParserOptions - TypeScript SDK

PDFParserOptions type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Options for PDF parsing.

Example Usage

1import { PDFParserOptions } from "@openrouter/sdk/models";
2
3let value: PDFParserOptions = {};

Fields

FieldTypeRequiredDescriptionExample
enginemodels.PDFParserEngineThe engine to use for parsing PDF files. “pdf-text” is deprecated and automatically redirected to “cloudflare-ai”.cloudflare-ai