Create an illustrated story book
create_illustrated_story_bookCreate a fully illustrated children's story book from your story or a story prompt. Your own story is printed exactly as written. By default it is a picture book: one picture runs across each pair of facing pages and every page's words are typeset in a band along the top of that page, over the picture; the band grows with the reader's age. Other arrangements are available with pageTemplate — typeset under or above the picture, lettered into the artwork itself, typeset into a calm area of one connected image, or given a page of their own facing the picture. The order continues straight through illustration and PDF creation — nothing pauses for approval. To put the customer's own characters in the book, pass them in characterDetails, as the website's "Who is in your book?" step does. Before ordering, call list_my_characters; if they have saved characters, ask which of them to use, if any, and send those as { savedCharacterId }. Anyone else takes a name and one picture. Writing a saved character's name as @Name in the description or storyPrompt picks them too. If the customer wants to keep a new character for later books, save them with save_my_character first. A black-and-white saved character is coloured automatically. If the customer wants another book in a series, or the same characters as an earlier book, find it with list_my_books and pass its jobId as seriesSourceJobId rather than describing the characters again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bleed | No | Add print bleed to the interior pages. Defaults to false: leave it off for home printing and for A4 paper — bleed makes the page 8.625x11.25in with artwork running to the paper edge, and an A4 printer cuts 0.179in off each side of that. (Activity books describe their own default.) | |
| style | Yes | Illustration style, and the most visible decision in the book — ask rather than pick. Call list_book_types for the complete catalogue with a sentence describing each one. hand_drawn_2d, chibi_art, paper_cutout_collage are retired: use one only to match an earlier book already drawn in it. | |
| theme | No | Short subject line, for example dinosaurs or outer space. | |
| title | No | Book title. Generated from the content when omitted. | |
| ageGroup | Yes | Target age band, read by its youngest reader. Required, because it is not guessable and it changes the drawing: the four bands the page rules are written for are 3-6, 6-9, 9-13 and 13+, and line weight, how much background a page carries and how small the colourable areas get all step with them. Ask who the book is for rather than assuming the youngest band. | |
| pageSize | No | Trim size such as 8.5x11. The supported sizes are returned by list_book_types. A4 is not one of them and is rejected: for A4 or any metric paper, pass 8.5x11 with bleed false, which prints on A4 either way. | |
| storyText | No | Your own story to illustrate, printed exactly as written — split across the pages in code, never reworded. Use either storyText or storyPrompt, not both. Every pageTemplate prints it except full_page_image. | |
| description | No | What the book should be about. | |
| highQuality | Yes | Page quality — ask the customer, as the website does on every order. false = Standard, 2 credits a page: clean bold line art. true = Premium, 2.5 credits a page: finer detail and crisper lines. | |
| printOption | No | Only send this when the person ordering has actually asked for it. Leave it out and the book type decides: coloring, story coloring and drawing books print one side per sheet with a blank back, because colour goes through the paper and would ruin the drawing behind it; every other type prints both sides. Sending "both" for a coloring book overrides that and gives them pages backed by pages. | |
| storyPrompt | No | A premise or direction for InkChamps to write and illustrate. With neither storyText nor storyPrompt, the description is used as the premise. | |
| createSeries | No | True to make this book part of a series. A series book's files are kept for good instead of being deleted after the usual retention period, so a later book can link to it at any time. Ask the customer if they want this when they mention more books to come. A book with seriesSourceJobId is always in a series, with or without this. | |
| pageTemplate | No | Where the words sit. words_top (the default, and what the website makes for every age) is a picture book: one picture shared by every two pages (pages 1 and 2, 3 and 4, ...), cut down the middle, with only an odd book's last page drawn alone; every page's own words are typeset in a band along the top of that page over the picture's calm sky, and the band deepens and the type shrinks as the reader's age goes up. image_top_text_bottom and image_bottom_text_top typeset the story beside the picture. words_top_page is the same band on one picture per page, never across the fold, typeset by the PDF for every age. text_in_image makes each page one full-bleed illustration with words lettered into the art. full_page_image makes one connected image spanning both facing pages and typesets the story into a quiet area of the artwork. text_left_image_right draws the picture on the right-hand page and carries its background colour across onto the left, which becomes a whole page for the story. Every layout prints a story you wrote (storyText) except full_page_image, and every layout can write one from storyPrompt or description. | words_top |
| numberOfPages | Yes | Number of interior pages to generate. | |
| characterDetails | No | Optional. The customer's own characters, up to fifteen, exactly as the website's "Who is in your book?" step takes them. Each entry is either a saved character, { savedCharacterId } with the characterId from list_my_characters and nothing else, which brings its saved name, description and picture; or a new character with a name, a short description and one picture. The two can be mixed. Every page that shows a character draws it from its picture, so each new picture must be of that character alone and the name must match it. Cannot be combined with characterReferenceSheet. | |
| seriesSourceJobId | No | The jobId of the customer's earlier book that this one continues. The new book starts with that book's characters, their pictures, its look and what happened in it, so pass it instead of re-uploading them. The customer's words for this book outrank all of it: they can change anything, add new characters in characterDetails, or say to leave someone out. A new character with the same name replaces the earlier one. list_my_books gives jobIds and says which books canContinueSeries; when it is not clear which book they mean, ask. | |
| additionalInstructions | No | Extra direction for the generator, up to 600 characters. | |
| characterReferenceSheet | No | Optional. One picture showing the book's characters together, used to keep them looking the same on every page. Cannot be combined with characterDetails. Pass exactly one of s3Key (returned by upload_image, or a picture uploaded on the website) or data (the PNG or JPEG itself, base64, at most 4 MB). | |
| standardQualityConfirmed | No | Only with highQuality false: true once you have told the customer the Premium suggestion for books meant for sale and they chose to keep Standard ("Print home quality"). A Standard order without it is answered with that suggestion and not created. |