Import a finished cover
import_coverImport a finished front cover the user owns (from a designer, another tool, an older book), as the app's External Cover Studio does. 0 credits for a 5:8 cover; 1 credit when AI must extend it to 5:8 (refunded if that fails). Returns a coverId for every cover tool (wrap, audiobook, text removal, export). The image: attached in the chat or on the user's device → call with no upload_id or image_url, give the user the upload link, wait until they say it is done, then call again with upload_id. At a public https URL → image_url. JPEG, PNG or WebP, 256-4096 px, up to 10 MB. The book: book_id, or title, author and genre for a new one. Ask the user to confirm they have the rights to the image, then send rights_confirmed: true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genre | No | New book: genre slug or name. | |
| title | No | New book. | |
| author | No | New book. | |
| book_id | No | An existing book (from list_books). Omit to create one. | |
| summary | No | New book. | |
| subgenre | No | New book. | |
| subtitle | No | New book. | |
| image_url | No | A public https URL of the cover. | |
| upload_id | No | The upload_id from the first call, once the user uploaded the file. | |
| content_type | No | First call only: also return a curl command. | |
| rights_confirmed | No | Required: the user confirmed they have the rights to the image. |