Here you can see all available conversion options which you can use within the "options" section of conversions (see the example JSON below the table).
Here you can see all available conversion options which you can use within the "options" section of conversions (see the example JSON on the right).
Option Name | Description |
---|---|
ascii
Type: boolean Default: False |
ASCII output |
author
Type: string |
Change ebook author |
border
Type: integer |
Add border in centimeters |
embed_font
Type: string Enum: sans serif |
Embed generic font |
encoding
Type: string |
Change the input encoding |
reader
Type: string Enum: Kindle Kindle DX Kindle Fire Kindle Paperwhite Kindle Voyage Apple iPad Apple iPad 3 Galaxy Sony Sony 300 Sony 900 Sony Landscape Sony T3 MS Reader Mobipocket Hanlin V3 Hanlin V5 Cybook 3 Cybook Opus iLiad IrexDR800 IrexDR1000 jetBook Kobo Nook Nook Color Nook HD Plus Bambook Tablet Generic e-ink Generic large e-ink Pocketbook 900 Pocketbook Pro 912 |
Target ebook for better compatibility |
title
Type: string |
Change ebook title |
POST /v2/jobs HTTP/1.1
Host: https://api.api2convert.com
X-Oc-Api-Key: <your API key here>
Content-Type: application/json
{
"input": [{
"type": "remote",
"source": "https://example-files.online-convert.com/ebook/epub/example.epub"
}],
"conversion": [{
"category": "ebook",
"target": "pdf-ebook",
"options": {
<conversion options here>
}
}]
}