Files
bradsec-ComfyUI_RandomPerson/data/shared/nationality.json
T
BRADSEC 2511ad795d Initial commit: Random Person Description node
Dual-API ComfyUI custom node (V1 NODE_CLASS_MAPPINGS + V3 comfy_api
schema) that generates randomised, structured human descriptions for
image-generation prompts.

- 16 trait categories: nationality, complexion, skin texture, eyes,
  face shape/nose/mouth, distinctive feature, hair colour/style/length,
  facial hair, body type, expression, accessories, makeup, plus age.
- Per-category random / allow_list / fixed / off modes, sex-aware
  dropdown filtering via WEB_DIRECTORY js extension.
- Shared core wrapped by thin V1 and V3 adapters; node_id
  "RandomPersonNode" fixed across both.
- Trait data in editable data/ JSON; full output string plus per-pin
  outputs.
- Unit tests (test_random_person.py) and Comfy registry publish workflow.
2026-06-20 19:02:02 +10:00

43 lines
3.7 KiB
JSON

[
{ "label": "American", "descriptor": "American", "from": "from America" },
{ "label": "Japanese", "descriptor": "Japanese", "from": "from Japan" },
{ "label": "Nigerian", "descriptor": "Nigerian", "from": "from Nigeria" },
{ "label": "Brazilian", "descriptor": "Brazilian", "from": "from Brazil" },
{ "label": "Swedish", "descriptor": "Swedish", "from": "from Sweden" },
{ "label": "Indian", "descriptor": "Indian", "from": "from India" },
{ "label": "Mexican", "descriptor": "Mexican", "from": "from Mexico" },
{ "label": "Ethiopian", "descriptor": "Ethiopian", "from": "from Ethiopia" },
{ "label": "Russian", "descriptor": "Russian", "from": "from Russia" },
{ "label": "Egyptian", "descriptor": "Egyptian", "from": "from Egypt" },
{ "label": "Korean", "descriptor": "Korean", "from": "from Korea" },
{ "label": "Jamaican", "descriptor": "Jamaican", "from": "from Jamaica" },
{ "label": "French", "descriptor": "French", "from": "from France" },
{ "label": "Moroccan", "descriptor": "Moroccan", "from": "from Morocco" },
{ "label": "Chinese", "descriptor": "Chinese", "from": "from China" },
{ "label": "Colombian", "descriptor": "Colombian", "from": "from Colombia" },
{ "label": "Turkish", "descriptor": "Turkish", "from": "from Turkey" },
{ "label": "Australian", "descriptor": "Australian", "from": "from Australia" },
{ "label": "Ghanaian", "descriptor": "Ghanaian", "from": "from Ghana" },
{ "label": "Italian", "descriptor": "Italian", "from": "from Italy" },
{ "label": "Pakistani", "descriptor": "Pakistani", "from": "from Pakistan" },
{ "label": "Filipino", "descriptor": "Filipino", "from": "from the Philippines" },
{ "label": "Peruvian", "descriptor": "Peruvian", "from": "from Peru" },
{ "label": "Kenyan", "descriptor": "Kenyan", "from": "from Kenya" },
{ "label": "German", "descriptor": "German", "from": "from Germany" },
{ "label": "Algerian", "descriptor": "Algerian", "from": "from Algeria" },
{ "label": "Iranian", "descriptor": "Iranian", "from": "from Iran" },
{ "label": "Vietnamese", "descriptor": "Vietnamese", "from": "from Vietnam" },
{ "label": "Argentinian", "descriptor": "Argentinian", "from": "from Argentina" },
{ "label": "South African", "descriptor": "South African", "from": "from South Africa" },
{ "label": "Greek", "descriptor": "Greek", "from": "from Greece" },
{ "label": "British", "descriptor": "British", "from": "from Britain" },
{ "label": "Spanish", "descriptor": "Spanish", "from": "from Spain" },
{ "label": "Canadian", "descriptor": "Canadian", "from": "from Canada" },
{ "label": "Dutch", "descriptor": "Dutch", "from": "from the Netherlands" },
{ "label": "Polish", "descriptor": "Polish", "from": "from Poland" },
{ "label": "Thai", "descriptor": "Thai", "from": "from Thailand" },
{ "label": "Bangladeshi", "descriptor": "Bangladeshi", "from": "from Bangladesh" },
{ "label": "Ugandan", "descriptor": "Ugandan", "from": "from Uganda" },
{ "label": "Sudanese", "descriptor": "Sudanese", "from": "from Sudan" }
]