Export a cover at an exact size and format
export_coverExport a cover as a JPG or PNG file at an exact size, as the app's Advanced export does. Free. For a store's eBook file send only preset (kdp_ebook, ebook_2x3). Otherwise send format and width_px, or print { width_in, height_in?, dpi } (the cover fits inside, never cropped). shape 2:3 widens the art at both sides. variant no_text needs remove_text first. The first export builds a high-resolution master, which can take a minute. Returns a download link (1 hour); a trial workspace gets a watermarked file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cover_id": "<cover_id>"
},
"name": "export_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | With width_px: DPI in the file (default 300). | |
| No | Print size, instead of width_px. | ||
| shape | No | original (default, 5:8) or 2:3. | |
| format | No | Required unless preset is sent. | |
| preset | No | kdp_ebook: Amazon KDP eBook cover: 1600 x 2560 px JPG, the cover's own 5:8; ebook_2x3: eBook cover in 2:3 for stores that ask for it: 1600 x 2400 px JPG. Sets size, shape and format; send nothing else with it. | |
| variant | No | full (default) or no_text. | |
| cover_id | Yes | The coverId to export. | |
| width_px | No | Width in pixels; the height follows. |