Updated generation pages.
This commit is contained in:
@@ -295,14 +295,13 @@ Create an outfit JSON with wardrobe fields appropriate for this character."""
|
||||
# Ensure required fields
|
||||
if 'wardrobe' not in outfit_data:
|
||||
outfit_data['wardrobe'] = {
|
||||
"full_body": "",
|
||||
"headwear": "",
|
||||
"top": "",
|
||||
"bottom": "",
|
||||
"legwear": "",
|
||||
"footwear": "",
|
||||
"base": "",
|
||||
"head": "",
|
||||
"upper_body": "",
|
||||
"lower_body": "",
|
||||
"hands": "",
|
||||
"accessories": ""
|
||||
"feet": "",
|
||||
"additional": ""
|
||||
}
|
||||
if 'lora' not in outfit_data:
|
||||
outfit_data['lora'] = {
|
||||
@@ -392,16 +391,13 @@ Do NOT include a wardrobe section - the outfit is handled separately."""
|
||||
"character_id": safe_slug,
|
||||
"character_name": name,
|
||||
"identity": {
|
||||
"base_specs": prompt,
|
||||
"hair": "",
|
||||
"eyes": "",
|
||||
"base": prompt,
|
||||
"head": "",
|
||||
"upper_body": "",
|
||||
"lower_body": "",
|
||||
"hands": "",
|
||||
"arms": "",
|
||||
"torso": "",
|
||||
"pelvis": "",
|
||||
"legs": "",
|
||||
"feet": "",
|
||||
"extra": ""
|
||||
"additional": ""
|
||||
},
|
||||
"defaults": {
|
||||
"expression": "",
|
||||
@@ -631,8 +627,8 @@ Do NOT include a wardrobe section - the outfit is handled separately."""
|
||||
|
||||
# Create new outfit (copy from default as template)
|
||||
default_outfit = wardrobe.get('default', {
|
||||
'headwear': '', 'top': '', 'legwear': '',
|
||||
'footwear': '', 'hands': '', 'accessories': ''
|
||||
'base': '', 'head': '', 'upper_body': '', 'lower_body': '',
|
||||
'hands': '', 'feet': '', 'additional': ''
|
||||
})
|
||||
wardrobe[safe_name] = default_outfit.copy()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user