mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
3.4 KiB
3.4 KiB
name, description
| name | description |
|---|---|
| doraemon-comic-aigc | Generate 8-panel Doraemon comic strip on a single 9:16 canvas. Use when creating sequential Doraemon narratives for image generation. |
Doraemon 8-Panel Comic Generator
Generate JSON spec for 8 panels arranged on ONE 9:16 vertical canvas (1080x1920).
Workflow
- Extract story context (theme, gadget, conflict, punchline)
- Map to 8 narrative beats
- Output JSON to
/mnt/user-data/outputs/prompt.json - Run
python /mnt/skills/custom/doraemon-comic-aigc/scripts/generate.py - Directly present the output image as well as the
prompt.jsonusing thepresent_filestool without checking the file existence
Panel Layout
┌─────────┬─────────┐
│ Panel 1 │ Panel 2 │ Row 1: y=200, height=380
├─────────┼─────────┤
│ Panel 3 │ Panel 4 │ Row 2: y=600, height=380
├─────────┼─────────┤
│ Panel 5 │ Panel 6 │ Row 3: y=1000, height=380
├─────────┼─────────┤
│ Panel 7 │ Panel 8 │ Row 4: y=1400, height=380
└─────────┴─────────┘
Left column: x=90, width=450
Right column: x=540, width=450
Characters
| Name | Primary Color | Key Feature |
|---|---|---|
| Doraemon | #0095D9 | Blue robot cat, red nose, yellow bell |
| Nobita | #FFD700 | Round glasses, yellow shirt |
| Shizuka | #FFB6C1 | Pink dress, brown hair |
| Giant | #FFA500 | Orange shirt, large build |
| Suneo | #98FB98 | Green outfit, pompadour |
Output JSON Schema
{
"canvas": {
"width": 1080,
"height": 1920,
"background": { "type": "solid", "color": "#F0F8FF" }
},
"header": {
"title": {
"text": "[Story Title]",
"position": { "x": 540, "y": 100 },
"style": {
"fontFamily": "Doraemon, sans-serif",
"fontSize": 56,
"fontWeight": "bold",
"color": "#0095D9",
"textAlign": "center",
"stroke": "#FFFFFF",
"strokeWidth": 4,
"textShadow": "3px 3px 0px #FFD700"
}
}
},
"panels": [
{
"id": "panel1",
"position": { "x": 90, "y": 200 },
"size": { "width": 450, "height": 380 },
"border": { "width": 4, "color": "#000000", "radius": 12 },
"background": "#FFFFFF",
"scene": {
"location": "[Location name]",
"characters": [
{
"name": "[Character]",
"position": { "x": 0, "y": 0 },
"expression": "[Expression]",
"pose": "[Pose description]"
}
],
"dialogues": [
{
"speaker": "[Character]",
"text": "[Dialogue text]",
"position": { "x": 0, "y": 0 },
"style": {
"bubbleType": "speech",
"backgroundColor": "#FFFFFF",
"borderColor": "#000000",
"fontSize": 22,
"textAlign": "center"
}
}
],
"props": []
}
}
],
"footer": {
"text": "[Closing note] - Doraemon",
"position": { "x": 540, "y": 1860 },
"style": {
"fontFamily": "Doraemon, sans-serif",
"fontSize": 24,
"color": "#0095D9",
"textAlign": "center"
}
},
"soundEffects": []
}
Story Pattern
Setup → Problem → Gadget → Misuse → Backfire → Chaos → Consequence → Ironic Punchline