Files
transcendedhacker-Mode_pers…/example.md
T
transcendedhacker 42fcd9c7a3 Refactor prompt system: new schema, libraries, and engine
Replaces and restructures prompt libraries and schema for a cleaner, more scalable architecture. Removes legacy documentation and libraries, adds new atomic libraries (portrait_realism, cyberpunk_neon), updates schema/connector.json to new block order and model profiles, and rewrites the engine and node interface for simplified, content-agnostic prompt composition. Documentation and examples updated to match the new system.
2026-01-17 20:31:11 +05:30

53 lines
959 B
Markdown

# adding custom library
## example: hair color library
your reference: `HairColors.txt`
```
Platinum blonde hair: Blindingly bright, metallic white-blonde...
Icy white hair: Pure, snow-white hair strands with cool blue...
```
convert to:
```json
{
"meta": {
"name": "hair_colors",
"version": "1.0"
},
"blocks": {
"color": {
"Platinum Blonde": "Blindingly bright, metallic white-blonde hair that reflects light",
"Icy White": "Pure, snow-white hair strands with cool blue undertones",
"Silver Grey": "Metallic grey hair that looks like spun sterling silver"
}
}
}
```
save as `libraries/hair_colors.json`
## notes
- dropdown name = key ("Platinum Blonde")
- description = value (the actual text)
- block name ("color") must match schema order
## schema update
add "color" to assembly order in `schema/connector.json`:
```json
"order": [
"subject",
"color",
"hairstyle",
...
]
```
restart comfy.