Up to 6 illustrations in one call, one per scene, styled by text, reference images, or both. 1 credit per call.
stylestringat least one
How every illustration in the set is drawn: medium, technique, palette, and lighting treatment (painterly storybook watercolor with warm golden light). Provide this, styleReferences, or both; together they hold a style most tightly.
At most 500 characters, with no square brackets. Text that does not describe a visual style is rejected. Keep what each illustration shows in its scene, so the style stays the one thing every illustration shares.
styleReferencesstring[]at least one
Up to 3 reference images that define the style by example, alone or alongside style. Each entry is a ref_ token from the create_reference tool, which has its own guide covering uploads, limits, and token reuse.
Their rendering carries over; their subjects and composition do not.
scenesstring[] or object[]required
What each illustration shows, one entry per illustration. Each entry is a string description, OR an object with { description, filename } to control the output filename.
Limits. At most 6 per call, each up to 2500 characters, with no square brackets. Scenes must describe distinct illustrations: one that describes nothing to draw, or repeats another in other words, is rejected before anything is generated or charged.
Filenames. Without a filename, a file is named from the start of its scene, cut at a word, and scenes that start alike are numbered _2, _3. A filename is cleaned up the same way as an image set's subjects, its extension replaced by the format's; two that name the same file are refused.
Writing them. A scene is prose: its subject, setting, moment, light and camera. See the scenes section.
widthintegerrequired
Width in pixels, together with height: one of the supported sizes listed below. Every scene in the call is delivered at this size.
heightintegerrequired
Height in pixels, together with width: one of the supported sizes listed below. Any other pair is rejected.
Supported output sizes, grouped by aspect ratio. Pick a shape, then pass the exact width and height of one of its sizes; the ratio name is only a label, and any pair not listed is rejected. Largest first in each row, the rest are exact proportional downscales.
Each offered shape at its largest size and exact downscales of it. The full table of accepted width and height pairs appears here, and the generate_illustration_set tool description carries the same list.
formatstringoptional
png is always lossless. jpg and webp use the quality parameter.
qualityintegeroptional
Compression quality for jpg and webp, from 1 (smallest file) to 100 (best quality). Ignored for png.
unpackTostringoptional
Local filesystem path your MCP client should extract the returned zip into.
Any path on your machine, such as ~/my-project/art; your client extracts the zip there, since the server never writes to your disk. If omitted, the client picks a destination.
zipURLstring
Download URL for the zip of the set. It works until expiresAt.
expiresAtstring
When the download URL expires, 30 days after the call.
imagesobject[]
One entry per illustration: filename inside the zip, description (the scene it was made from, as the call gave it), width and height in pixels, and the file's size in bytes.
formatstring
The delivered image format.
stylestring
The style text the set was generated with. Absent when the style came from references alone.
remaininginteger
Credits left on your key after this call.
unpackTostring
Your unpackTo, echoed back.
rejectedStyle, rejectedScenesstring, string[]
Only when the content check refused the request: the style text that does not describe a visual style, or the scenes that do not describe distinct illustrations, exactly as sent. The refusal comes back as a result, not an error. Nothing was generated or charged; revise them and resubmit.