Recurring characters
Keep character context attached to every comic request.
Character consistency starts with explicit named roles, reference images, wardrobe, age, relationships, and scene context supplied in the request.
References improve continuity but do not create a deterministic identity guarantee; production output still needs review and selective regeneration.
Test character referencesAccount, API key, usage, and billing open on LlamaGen.AI.
Verifiable request
Named role with multiple views
curl -X POST \
https://api.llamagen.ai/v1/comics/generations \
-H "Authorization: Bearer $LLAMAGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A four-panel mystery starring Nia in the same coat and hairstyle throughout.",
"fixPanelNum": 4,
"comicRoles": [
{
"name": "Nia",
"dress": "navy coat and red scarf",
"referenceImages": [
"https://example.com/nia-front.webp",
"https://example.com/nia-side.webp"
]
}
]
}'Structured response
State your application can route
{
"id": "gen_abc123",
"status": "PROCESSED",
"comics": [
{
"page": 0,
"panels": [
{
"panel": 0,
"caption": "Nia finds the missing key.",
"assetUrl": "https://cdn.llamagen.ai/comics/panel-1.webp",
"character": "Nia"
}
]
}
]
}Output evidence
Inspect the visual result and the machine-readable state.
The visual is evidence of the output category. The JSON is what lets an application correlate the generation, render a preview, store assets, and continue the workflow.

Capability and boundary facts
Facts an integration can verify.
Last verified:
- Endpoint
- POST /v1/comics/generations
- Authentication
- Bearer API key
- Lifecycle
- QUEUED → PROCESSING → PROCESSED or FAILED
- Delivery
- Poll by generation ID or use a callback URL
- Continuity input
- comicRoles with image or referenceImages
Good fit
Use it when
- Recurring heroes and mascots
- Personalized stories
- Multi-page publishing drafts
Wrong fit
Do not use it for
- Biometric authentication
- Exact identity replication
- Skipping human continuity review
Production limits
Plan for the boundaries.
- 01Consistency is probabilistic; review faces, clothing, props, and proportions across every panel.
- 02Use panel regeneration when one panel breaks continuity instead of discarding the whole workflow.
- 03Generation is asynchronous; production interfaces must handle processing and failure states.
- 04Outputs should be reviewed against product, brand, safety, and print requirements before delivery.
- 05You must have the rights to prompts, photos, scripts, and reference assets submitted to the API.
Authoritative sources
Next step
Move from evidence to a real API request.
LlamaGen provides the playground, API key, usage, billing, and authoritative service documentation.
Test character references