43 行
1.1 KiB
Python
43 行
1.1 KiB
Python
"""Fast character workflow templates."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
|
|
FAST_CHARACTER_STEPS: tuple[dict[str, Any], ...] = (
|
|
{
|
|
"node_key": "fast_profile",
|
|
"title": "Fast profile",
|
|
"step_name": "fast_profile",
|
|
"description": "Condensed character prompt and core visual direction.",
|
|
"sort_order": 10,
|
|
},
|
|
{
|
|
"node_key": "fast_candidates",
|
|
"title": "Fast candidates",
|
|
"step_name": "fast_candidates",
|
|
"description": "Candidate image batch for quick selection.",
|
|
"sort_order": 20,
|
|
},
|
|
{
|
|
"node_key": "fast_final",
|
|
"title": "Fast final",
|
|
"step_name": "fast_final",
|
|
"description": "Selected final image and reusable metadata.",
|
|
"sort_order": 30,
|
|
},
|
|
)
|
|
|
|
|
|
def fast_character_node_templates() -> list[dict[str, Any]]:
|
|
return [
|
|
{
|
|
**step,
|
|
"node_type": "generation",
|
|
"status": "draft",
|
|
"branch_name": "main",
|
|
"metadata": {"template": "character_fast_v1"},
|
|
}
|
|
for step in FAST_CHARACTER_STEPS
|
|
]
|