Edit, vary or convert a cover
edit_coverRun one change on a cover (async; returns a jobId for get_generation_status). action:
edit (1 credit): apply prompt, e.g. "make the sky darker". Makes a NEW cover.
variations (1 credit each): 1-5 close variations, each a NEW cover.
remove_text (1 credit): a text-free version, the no_text asset of this cover.
audiobook (1 credit): a square audiobook version, the audiobook_preview asset.
upscale (free): a print-resolution copy of source_asset (preview gives full, no_text gives no_text_full, audiobook_preview gives audiobook_full). remove_text and audiobook are free for the first one of a book whose marketing kit is open this month; the reply says so. The original cover never changes.
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>",
"action": "<action>"
},
"name": "edit_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | action variations: how many (1-5, default 1). | |
| action | Yes | ||
| prompt | No | action edit: the change to make. | |
| cover_id | Yes | The coverId (from list_covers_for_book or a finished job). | |
| regenerate | No | remove_text or audiobook: replace the existing asset (charged again). Only when the user asks. | |
| source_asset | No | action upscale: preview (default), no_text or audiobook_preview. | |
| idempotency_key | No | Optional key; a retry with the same key returns the same job. |