Generate a cover from reference images
generate_cover_from_referenceDesign a NEW cover from 1-4 reference images plus instructions (async, 1 credit). References: upload_ids from upload_reference_image and/or coverIds from this account. Say what to take from them, e.g. "this palette and lettering, but a winter scene". Returns a jobId.
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": {
"book_id": "<book_id>",
"instructions": "<instructions>"
},
"name": "generate_cover_from_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | The bookId the cover belongs to (from list_books). | |
| instructions | Yes | What to take from the references and what to change. | |
| idempotency_key | No | Optional key; a retry with the same key returns the same job. | |
| reference_cover_ids | No | coverIds in this account. | |
| reference_upload_ids | No | upload_ids from upload_reference_image. |