Example production request
{
"prompt": "Turn this customer pet photo into a warm one-page comic gift story.",
"preset": "comicBookStyle",
"size": "1024x1024",
"fixPanelNum": 4,
"language": "English",
"comicRoles": [
{
"name": "Milo",
"dress": "small red birthday scarf",
"image": "https://s.llamagen.ai/comic-api/74740bf0-e2bb-43a5-a6cd-6dbfdef17e0e-tmpsugyn0s4.webp"
}
],
"attachments": [
{
"type": "image",
"url": "https://s.llamagen.ai/comic-api/ac17632d-9be2-45db-a2c4-36323597b9d0-tmpfloqzfr.webp"
}
]
}Structured output your app can use
{
"id": "gen_abc123",
"status": "PROCESSED",
"comics": [
{
"page": 0,
"panels": [
{
"panel": 0,
"caption": "Milo discovers the birthday map.",
"assetUrl": "https://s.llamagen.ai/comic-api/result-panel-1.webp"
}
]
}
]
}