Skip to main content
POST
Convert to Markdown

Headers

X-API-Key
string

Body

multipart/form-data
file
string | null

File to convert

url
string | null

URL to convert

url_headers
string | null

JSON-encoded headers for URL auth

use_llm
boolean
default:false

Use LLM for image descriptions (costs tokens)

Response

Successful Response

Response for markdown conversion.

markdown
string
required

Converted markdown content

filename
string
required

Original filename or URL

content_length
integer
required

Length of the markdown output in characters

success
boolean
default:true
content_type
string | null

Detected MIME type