# markdown2pdf.ai > Markdown to PDF conversion for AI agents. - [Markdown to PDF conversion, for AI agents](https://markdown2pdf.ai/index.md) - [Quickstart](https://markdown2pdf.ai/quickstart.md): Convert markdown to PDF with our high-quality engine. - [L402](https://markdown2pdf.ai/l402.md): About L402 (Lightning) and how to use it with markdown2pdf.ai. - [X402](https://markdown2pdf.ai/x402.md): About X402 (USDC on Solana) and how to use it with markdown2pdf.ai. - [Markdown Syntax](https://markdown2pdf.ai/markdown.md): A full listing of all the markdown we support in our markdown to PDF converter. - [About](https://markdown2pdf.ai/about.md) - [Python SDK](https://markdown2pdf.ai/python.md): Easily use markdown2pdf.ai to convert markdown (.md) to high-quality and impactful PDF in your Python-based agentic workflows using our Python software development kit (SDK). - [TypeScript SDK](https://markdown2pdf.ai/typescript.md): Easily use markdown2pdf.ai to convert markdown (.md) to high-quality and impactful PDF in your TypeScript-based agentic workflows using our TypeScript software development kit (SDK). - [Model Context Protocol](https://markdown2pdf.ai/mcp-info.md): Easily use markdown2pdf.ai to convert markdown (.md) to high-quality and impactful PDF in your Model Context Protocol (MCP)-based agentic workflows using our MCP server. - [Overview](https://markdown2pdf.ai/api-reference/overview.md): Using our REST API directly to convert markdown to PDF. - [Generate a PDF document from Markdown input](https://markdown2pdf.ai/api-reference/generate-a-pdf-document-from-markdown-input.md): This endpoint allows you to generate a PDF document from Markdown input. It requires payment before processing the request. The request body should include the Markdown content and metadata. - [Get L402 Lightning invoice for generation](https://markdown2pdf.ai/api-reference/get-payment-details-for-generation.md): Get payment details for generation. This will include a lightning invoice, and follows the L402 standard for payment requests. - [Get X402 payment requirements for generation](https://markdown2pdf.ai/api-reference/get-x402-payment-requirements-for-generation.md): Get payment details for generation. This will include the USDC on Solana payment requirements, and follows the x402 (v2) standard for payment requests. The `402` response already carries the same details, so most X402 clients skip this call. - [Poll document generation job status](https://markdown2pdf.ai/api-reference/poll-document-generation-job-status.md): Poll the status of a document generation job. This endpoint allows you to check the current status of a job using its job ID. It will return the job status, including progress and any associated metadata. - [Get document output](https://markdown2pdf.ai/api-reference/get-document-output.md): Retrieve the output of a document generation job. This endpoint provides the final output of the document generation process, which may include a URL to download the generated document. ## OpenAPI Specs - [openapi](/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.