Add separate style pool config

This commit is contained in:
2026-06-28 00:24:40 +02:00
parent 4c8edc0d3e
commit 78e39734b5
18 changed files with 378 additions and 27 deletions
+7
View File
@@ -29,6 +29,7 @@ SXCP_COMPOSITION_CONFIG = "SXCP_COMPOSITION_CONFIG"
SXCP_CATEGORY_CONFIG = "SXCP_CATEGORY_CONFIG"
SXCP_CAST_CONFIG = "SXCP_CAST_CONFIG"
SXCP_GENERATION_PROFILE = "SXCP_GENERATION_PROFILE"
SXCP_STYLE_CONFIG = "SXCP_STYLE_CONFIG"
SXCP_HARDCORE_POSITION_CONFIG = "SXCP_HARDCORE_POSITION_CONFIG"
SXCP_CHARACTER_CAST = "SXCP_CHARACTER_CAST"
SXCP_CHARACTER_PROFILE = "SXCP_CHARACTER_PROFILE"
@@ -64,6 +65,7 @@ class SxCPPromptBuilder:
"camera_config": (SXCP_CAMERA_CONFIG,),
"location_config": (SXCP_LOCATION_CONFIG,),
"composition_config": (SXCP_COMPOSITION_CONFIG,),
"style_config": (SXCP_STYLE_CONFIG,),
"character_profile": (SXCP_CHARACTER_PROFILE,),
"character_cast": (SXCP_CHARACTER_CAST,),
"hardcore_position_config": (SXCP_HARDCORE_POSITION_CONFIG,),
@@ -101,6 +103,7 @@ class SxCPPromptBuilder:
camera_config="",
location_config="",
composition_config="",
style_config="",
character_profile="",
character_cast="",
hardcore_position_config="",
@@ -137,6 +140,7 @@ class SxCPPromptBuilder:
camera_config=camera_config or "",
location_config=location_config or "",
composition_config=composition_config or "",
style_config=style_config or "",
character_profile=character_profile or "",
character_cast=character_cast or "",
hardcore_position_config=hardcore_position_config or "",
@@ -170,6 +174,7 @@ class SxCPPromptBuilderFromConfigs:
"camera_config": (SXCP_CAMERA_CONFIG,),
"location_config": (SXCP_LOCATION_CONFIG,),
"composition_config": (SXCP_COMPOSITION_CONFIG,),
"style_config": (SXCP_STYLE_CONFIG,),
"character_profile": (SXCP_CHARACTER_PROFILE,),
"character_cast": (SXCP_CHARACTER_CAST,),
"hardcore_position_config": (SXCP_HARDCORE_POSITION_CONFIG,),
@@ -197,6 +202,7 @@ class SxCPPromptBuilderFromConfigs:
camera_config="",
location_config="",
composition_config="",
style_config="",
character_profile="",
character_cast="",
hardcore_position_config="",
@@ -215,6 +221,7 @@ class SxCPPromptBuilderFromConfigs:
camera_config=camera_config or "",
location_config=location_config or "",
composition_config=composition_config or "",
style_config=style_config or "",
character_profile=character_profile or "",
character_cast=character_cast or "",
hardcore_position_config=hardcore_position_config or "",