{"uid":"cap_Z4P-H1ZTNfneHGcYYjrLP","slug":"medien-halowerk-com-document-converter-21d31168","name":"medien.halowerk.com Document Converter","description":"Takes one file, by URL or inline base64, and returns it in the format you ask for. Text documents go through pandoc, so DOCX, ODT, EPUB, HTML, Markdown, RST, Org, LaTeX, RTF, MediaWiki, Textile, CSV and Jupyter notebooks convert in both directions. A PDF is a one-way street: its text is extracted with poppler (to markdown, html or plain text) or its pages are rendered to PNG or JPEG at a chosen dpi, but no format converts into PDF here — this machine has no PDF typesetting engine (no LaTeX, no…","url":"https://medien.halowerk.com/v1/doc-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["markdown","gfm","commonmark","html","plain","text","rst","org","latex","rtf","textile","mediawiki","jira","asciidoc","docbook","typst","json","ipynb","docx","odt","epub","png","jpeg","webp","avif","tiff"],"type":"string","description":"Target format. PDF is deliberately absent — see the description."},"from":{"enum":["auto","pdf","docx","odt","epub","html","markdown","gfm","commonmark","rst","org","latex","rtf","textile","mediawiki","jira","docbook","csv","tsv","ipynb","text","png","jpeg","gif","webp","tiff","avif","heic","svg"],"type":"string","default":"auto","description":"Override the detected input format. \"auto\" reads it from the bytes."},"text":{"type":"string","maxLength":400000,"description":"Alternative to source for plain text input, e.g. Markdown or HTML source. Requires \"from\"."},"image":{"type":"object","properties":{"dpi":{"type":"integer","default":150,"maximum":400,"minimum":36,"description":"Only when rendering PDF pages to images."},"quality":{"type":"integer","default":82,"maximum":100,"minimum":1,"description":"For JPEG, WebP, AVIF and TIFF."},"last_page":{"type":"integer","minimum":1,"description":"Last PDF page to render. Capped by max_pages."},"max_pages":{"type":"integer","default":5,"maximum":20,"minimum":1,"description":"Hard ceiling on rendered pages."},"max_width":{"type":"integer","maximum":8000,"minimum":16,"description":"Scale down so the width fits. Never scales up."},"first_page":{"type":"integer","default":1,"minimum":1,"description":"First PDF page to render."},"max_height":{"type":"integer","maximum":8000,"minimum":16,"description":"Scale down so the height fits."}},"description":"Only used for image targets.","additionalProperties":false},"source":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of the file. Private and local addresses are refused."},"filename":{"type":"string","maxLength":260,"description":"Optional. Only consulted when the bytes carry no recognisable signature."},"content_base64":{"type":"string","maxLength":12000000,"description":"The file inline, base64. A data: prefix is accepted."}},"description":"The file to convert. Either url or content_base64, not both.","additionalProperties":false},"standalone":{"type":"boolean","default":false,"description":"For pandoc targets: emit a complete document with header rather than a fragment."},"include_text_analysis":{"type":"boolean","default":true,"description":"Also return word, paragraph and heading counts of the extracted text."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oEEMT_kLIUQJmdVjxgHRp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts documents between text formats via pandoc, or extracts text/renders pages from PDFs using poppler","exampleAgentPrompt":"Convert this DOCX file — here's the URL: https://example.com/report.docx — to markdown, please.","exampleUseCases":[{"title":"PDF text extraction for analysis","prompt":"Pull all the text out of this PDF as markdown so I can analyze it — the file is at https://example.com/annual-report.pdf."},{"title":"Jupyter notebook to HTML for sharing","prompt":"Convert my Jupyter notebook at https://example.com/analysis.ipynb into an HTML file so I can share it in a browser."},{"title":"Render PDF pages as images","prompt":"Render every page of this PDF at 150 dpi as JPEG images — the PDF is at https://example.com/slides.pdf."}],"resultDescription":"Returns the converted or extracted output: either a converted document in the requested format (e.g. markdown, HTML, DOCX, EPUB, LaTeX), extracted text from a PDF, or base64-encoded rendered page images (PNG or JPEG) depending on the requested output format.","failureModes":["Unsupported source-to-target format combination (e.g. attempting to produce a PDF output, which is not supported)","Invalid or inaccessible URL for file input","Malformed base64 data for inline file input","PDF with no extractable text (scanned image-only PDF) when text extraction is requested","Pandoc conversion failure due to malformed source document","File too large or timeout during processing"],"whenToPreferThis":"Choose this endpoint when you need pandoc-powered bidirectional conversion between text document formats (DOCX, ODT, EPUB, HTML, Markdown, RST, LaTeX, RTF, MediaWiki, Textile, CSV, Jupyter notebooks), or when you need to extract text or render pages from a PDF using poppler. Prefer this over general-purpose tools when you want a lightweight, per-call paid API without managing your own pandoc/poppler infrastructure. Note: this endpoint cannot produce PDFs — if PDF output is required, use a different service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-09-15T23:44:49.992Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T10:21:00.219Z","isFirstParty":false}