Generate storybook
picturebooks_generate_storyGenerate a private illustrated book. Consumes existing account credits for pages, cover, and reference images. No card charge. Returns an async job and conservative creditEstimate, with no credit reservation. The book takes several minutes; until its job completes it has no title, cover or page pictures. Supports 5–24 pages subject to the connected account cap. Supply intended audienceAge and readingLevel when requested; omitted audience age defaults to two. Reuse requestId when retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | 5–24 story pages; also respect credits.maxBookPages from the account tool, and prefer at most credits.affordableBookPages when the balance is low. | |
| topic | Yes | ||
| artStyle | No | ||
| category | No | ||
| language | No | ||
| requestId | Yes | ||
| audienceAge | No | Intended audience age in years, 1–12. A content preference, never a request for a real child’s identity. Omitted preserves the historical age-two default. | |
| readingLevel | No | auto matches audience age; pre is read aloud to a pre-reader; early uses simple decodable text; fluent uses richer vocabulary. Age still governs appropriate themes. |