Multi-page generation guide
Create multiple comic pages in one bounded API request.
Multi-page mode uses pagination.totalPages and pagination.panelsPerPage together so one create request describes a page grid instead of a single page with fixPanelNum.
Pagination defines requested structure, not guaranteed pacing, continuity, lettering quality, or publication readiness. Review each returned page and keep story planning outside the generation request.
Inspect the pagination contractAccount, API key, usage, and billing open on LlamaGen.AI.
Direct answer
The decision this page is for.
Last verified:
To create a multi-page comic, send pagination.totalPages and pagination.panelsPerPage together in the initial POST. Do not send fixPanelNum in the same request. The page grid bounds the job, but the returned pages still require pacing, continuity, lettering, and publication review.
Verifiable request
Create two pages with four panels each
curl -X POST \
https://api.llamagen.ai/v1/comics/generations \
-H "Authorization: Bearer $LLAMAGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "An original harbor courier mystery told across two pages. End page one on a discovery and resolve the delivery on page two.",
"pagination": {
"totalPages": 2,
"panelsPerPage": 4
},
"language": "English"
}'Structured response
State your application can route
{
"id": "gen_abc123",
"status": "LOADING"
}Pagination walkthrough
Review the whole page batch, not only the first image.
The working table connects a bounded page grid, consecutive story beats, recurring characters, and an editor-led acceptance pass.

Page-batch workflow
Plan the story beats before choosing the page grid.
A multi-page request is most useful when the application knows what each page must accomplish and can stop the batch for review before release.
- 01Writer or product
Scope the batch
Define the story beat, ending condition, required characters, and review owner for this page group.
- 02Application
Choose the grid
Set totalPages and panelsPerPage together; do not send fixPanelNum in the same request.
- 03Server
Create once
Submit the bounded request from a trusted runtime and persist the generation ID and requested pagination.
- 04Worker
Track the job
Show the documented asynchronous state instead of keeping one browser request open.
- 05Editor
Review by page
Check story order, continuity, captions, panel count, and transitions across every returned page.
- 06Publishing system
Archive the accepted batch
Store accepted assets and inputs before continuation, selective regeneration, lettering, or prepress.
Capability and boundary facts
Facts an integration can verify.
Last verified:
- Operation
- POST /v1/comics/generations
- Multi-page fields
- pagination.totalPages and pagination.panelsPerPage
- Mutual exclusion
- Do not combine pagination with fixPanelNum
- Illustrative response
- Generation ID and lifecycle status only; not live account output
- Verification
- LlamaGen human documentation and OpenAPI checked on 2026-10-29
Good fit
Use it when
- Bounded issue or episode batches
- Comic-book page prototypes
- Editorial workflows that review pages separately
Wrong fit
Do not use it for
- Combining pagination with fixPanelNum
- Generating an uncontrolled full series
- Treating returned pages as final lettering or print files
Production limits
Plan for the boundaries.
- 01The current human documentation lists 1–20 for each pagination field, while the current OpenAPI contract declares the minimum but not those maximums. Re-check both sources before hard-coding a maximum.
- 02The same sources currently disagree on the maximum for fixPanelNum: the human guide says 20 and OpenAPI says 40. This page uses pagination and does not resolve that separate contract discrepancy.
- 03A requested page grid does not guarantee scene pacing, character continuity, panel composition, or a fixed completion time.
- 04The response is contract-shaped illustrative data; no paid generation was executed for this page.
- 05Generation is asynchronous; production interfaces must handle processing and failure states.
- 06Outputs should be reviewed against product, brand, safety, and print requirements before delivery.
- 07You must have the rights to prompts, photos, scripts, and reference assets submitted to the API.
Questions
Direct answers before you integrate.
01Which fields create a multi-page comic?
02What is the maximum page or panel value?
03Why does this page not quote one fixPanelNum maximum?
04Does pagination guarantee a finished issue?
Next step
Move from evidence to a real API request.
LlamaGen provides the playground, API key, usage, billing, and authoritative service documentation.
Inspect the pagination contract