feat: implement Actions Gallery with character integration and triple LoRA chaining
- Added Actions gallery with CRUD and JSON sync - Implemented Triple LoRA workflow (Character -> Outfit -> Action) - Added character-integrated previews for Actions with style matching - Implemented granular prompt selection and default persistence for Actions - Added detailed development guide for extending gallery features
This commit is contained in:
13
models.py
13
models.py
@@ -47,6 +47,19 @@ class Outfit(db.Model):
|
||||
def __repr__(self):
|
||||
return f'<Outfit {self.outfit_id}>'
|
||||
|
||||
class Action(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
action_id = db.Column(db.String(100), unique=True, nullable=False)
|
||||
slug = db.Column(db.String(100), unique=True, nullable=False)
|
||||
filename = db.Column(db.String(255), nullable=True)
|
||||
name = db.Column(db.String(100), nullable=False)
|
||||
data = db.Column(db.JSON, nullable=False)
|
||||
default_fields = db.Column(db.JSON, nullable=True)
|
||||
image_path = db.Column(db.String(255), nullable=True)
|
||||
|
||||
def __repr__(self):
|
||||
return f'<Action {self.action_id}>'
|
||||
|
||||
class Settings(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
openrouter_api_key = db.Column(db.String(255), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user