2026-07-05 09:35:49 +08:00
|
|
|
"""Fast character workflow templates."""
|
|
|
|
|
|
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
|
|
from typing import Any
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FAST_CHARACTER_STEPS: tuple[dict[str, Any], ...] = (
|
|
|
|
|
{
|
2026-07-15 23:01:07 +08:00
|
|
|
"node_key": "quick_avatar",
|
|
|
|
|
"title": "Quick avatar",
|
|
|
|
|
"step_name": "quick_avatar",
|
|
|
|
|
"description": "Square avatar with stable face, hair, eyes, and expression.",
|
2026-07-05 09:35:49 +08:00
|
|
|
"sort_order": 10,
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-07-15 23:01:07 +08:00
|
|
|
"node_key": "quick_bust",
|
|
|
|
|
"title": "Quick bust",
|
|
|
|
|
"step_name": "quick_bust",
|
|
|
|
|
"description": "Half-body character reference with clothing and posture.",
|
2026-07-05 09:35:49 +08:00
|
|
|
"sort_order": 20,
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-07-15 23:01:07 +08:00
|
|
|
"node_key": "quick_stand",
|
|
|
|
|
"title": "Quick standing illustration",
|
|
|
|
|
"step_name": "quick_stand",
|
|
|
|
|
"description": "Full-body standing character illustration and proportions.",
|
2026-07-05 09:35:49 +08:00
|
|
|
"sort_order": 30,
|
|
|
|
|
},
|
2026-07-15 23:01:07 +08:00
|
|
|
{
|
|
|
|
|
"node_key": "quick_sheet",
|
|
|
|
|
"title": "Quick design sheet",
|
|
|
|
|
"step_name": "quick_sheet",
|
|
|
|
|
"description": "Character design sheet with multiple views and detail callouts.",
|
|
|
|
|
"sort_order": 40,
|
|
|
|
|
},
|
2026-07-05 09:35:49 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def fast_character_node_templates() -> list[dict[str, Any]]:
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
**step,
|
|
|
|
|
"node_type": "generation",
|
|
|
|
|
"status": "draft",
|
|
|
|
|
"branch_name": "main",
|
2026-07-15 23:01:07 +08:00
|
|
|
"metadata": {"template": "character_fast_v2", "quick_character_target": step["node_key"]},
|
2026-07-05 09:35:49 +08:00
|
|
|
}
|
|
|
|
|
for step in FAST_CHARACTER_STEPS
|
|
|
|
|
]
|