Regenerate one page image
regenerate_imageRegenerate the illustration on a single page of an existing book, replacing the current image for that page. Use when one page came out wrong and the rest of the book is fine. Every book includes 10 free redraws (a paperback cover 3); after those, each redraw costs one page's worth of credits — still far less than rerunning the whole book. get_job_status reports freeEditsRemaining for the book, and this tool's response says whether the redraw was free and how many free redraws are left. The description says what should change; it is combined with that page's original prompt, so describe the fix ('make the dog smaller and move it to the left'), not the whole scene from scratch. On an activity book, a built page's puzzle — the maze, the word search grid and words, the sudoku's numbers, the letters to trace — always stays exactly as it is; the change is made to the picture and the page around it. This does NOT rebuild the PDF. The job is PROCESSING until every page being redrawn has finished, and generate_pdf is refused until then, so regenerate every page you want to fix, poll get_job_status until the job is IMAGES_READY, and then call generate_pdf once.
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": {
"jobId": "<jobId>",
"pageNumber": "<pageNumber>",
"description": "<description>"
},
"name": "regenerate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The jobId of the book containing the page, as returned by a book creation tool or get_job_status. | |
| pageNumber | Yes | Which interior page to regenerate, counting from 1. Must be within the book's page count. | |
| description | Yes | What should change about this page, in plain language. Combined with the page's original prompt rather than replacing it. Write a saved character's name from list_my_characters as @Name to draw them from their saved picture. |