Skip to content
Python
27.9 KB
Raw Blame
{
  "$schema": "../../schema/app.schema.json",
  "id": "ai-influencer",
  "name": "AI Influencer",
  "section": "image",
  "summary": "Build a made-up influencer trait by trait: type, body, hair, face, style and scene (FLUX 3 Klein).",
  "higgsfield_feature": "AI Influencer",
  "modes": [
    "ai-influencer",
    "ai-influencer-photo"
  ],
  "mode_label": "New character",
  "pack": "image-flux3",
  "status": "ready",
  "workflow": "workflow.api.json",
  "source": {
    "template": "image_flux3_klein_distilled_t2i.json",
    "comfyui": "0.42.0",
    "notes": "Template app written by tools/template_apps.py: the workflow is apps/create-image's (built by tools/build_apps.py) without the 9B prompt upsampler (the prompt goes straight to the text encoder); the prompt below is fixed and \"Extra direction\" is appended to it."
  },
  "inputs": [
    {
      "id": "kind",
      "type": "select",
      "label": "Character type",
      "default": "an ordinary, believable person",
      "options": [
        {
          "value": "an ordinary, believable person",
          "label": "Human"
        },
        {
          "value": "a person with bold, striking, slightly exaggerated features",
          "label": "Bold"
        },
        {
          "value": "a person with extremely exaggerated, cartoonish features and proportions, still photographed for real",
          "label": "Extreme"
        },
        {
          "value": "a character whose whole head is a grasshopper's head, with large compound eyes and long antennae, on a human body: no human face",
          "label": "Insect"
        },
        {
          "value": "a character whose whole head is a green frog's head, with a wide mouth and big round eyes, on a human body: no human face",
          "label": "Frog"
        },
        {
          "value": "an anthropomorphic cat character: a furry cat head on a human body",
          "label": "Cat"
        },
        {
          "value": "an anthropomorphic dog character: a dog head with floppy ears on a human body",
          "label": "Dog"
        },
        {
          "value": "an anthropomorphic capybara character: a capybara head on a human body",
          "label": "Rodent"
        },
        {
          "value": "a character whose whole head is a puffin's head, black and white feathers and a bright orange beak, on a human body: no human face",
          "label": "Bird"
        }
      ],
      "help": "Shown with an example of each type.",
      "gallery": true
    },
    {
      "id": "gender",
      "type": "select",
      "label": "Gender",
      "default": "A woman",
      "options": [
        {
          "value": "A woman",
          "label": "Woman"
        },
        {
          "value": "A man",
          "label": "Man"
        },
        {
          "value": "A trans man",
          "label": "Trans man"
        },
        {
          "value": "A trans woman",
          "label": "Trans woman"
        },
        {
          "value": "A non-binary person",
          "label": "Non-binary"
        }
      ]
    },
    {
      "id": "age",
      "type": "select",
      "label": "Age",
      "default": " aged around 28",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": " aged around 28",
          "label": "Adult"
        },
        {
          "value": " aged around 45",
          "label": "Mature"
        },
        {
          "value": " aged around 70",
          "label": "Older"
        }
      ]
    },
    {
      "id": "origin",
      "type": "select",
      "label": "Origin",
      "default": " of Latin American descent",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": " of African descent",
          "label": "African"
        },
        {
          "value": " of East Asian descent",
          "label": "East Asian"
        },
        {
          "value": " of European descent",
          "label": "European"
        },
        {
          "value": " of South Asian descent",
          "label": "South Asian"
        },
        {
          "value": " of Middle Eastern descent",
          "label": "Middle Eastern"
        },
        {
          "value": " of Latin American descent",
          "label": "Latin American"
        },
        {
          "value": " of mixed heritage",
          "label": "Mixed"
        }
      ]
    },
    {
      "id": "skin",
      "type": "select",
      "label": "Skin tone",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Porcelain skin.",
          "label": "Porcelain"
        },
        {
          "value": "Fair skin.",
          "label": "Fair"
        },
        {
          "value": "Olive skin.",
          "label": "Olive"
        },
        {
          "value": "Tan skin.",
          "label": "Tan"
        },
        {
          "value": "Brown skin.",
          "label": "Brown"
        },
        {
          "value": "Deep brown skin.",
          "label": "Deep brown"
        },
        {
          "value": "Very dark skin.",
          "label": "Ebony"
        }
      ]
    },
    {
      "id": "build",
      "type": "select",
      "label": "Build",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Slim build.",
          "label": "Slim"
        },
        {
          "value": "Athletic build.",
          "label": "Athletic"
        },
        {
          "value": "Muscular build.",
          "label": "Muscular"
        },
        {
          "value": "Curvy build.",
          "label": "Curvy"
        },
        {
          "value": "Heavyset build.",
          "label": "Heavyset"
        },
        {
          "value": "A huge bodybuilder build.",
          "label": "Bodybuilder"
        }
      ]
    },
    {
      "id": "stature",
      "type": "select",
      "label": "Height",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Average height.",
          "label": "Average"
        },
        {
          "value": "Tall.",
          "label": "Tall"
        },
        {
          "value": "Very tall.",
          "label": "Very tall"
        }
      ]
    },
    {
      "id": "proportions",
      "type": "select",
      "label": "Proportions",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Long arms and legs.",
          "label": "Long limbs"
        },
        {
          "value": "Short legs.",
          "label": "Short legs"
        },
        {
          "value": "Broad shoulders.",
          "label": "Broad shoulders"
        },
        {
          "value": "A narrow waist.",
          "label": "Narrow waist"
        },
        {
          "value": "A round, egg-shaped body.",
          "label": "Egg-shaped"
        }
      ]
    },
    {
      "id": "hair",
      "type": "select",
      "label": "Hairstyle",
      "default": "Long curly hair.",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Long curly hair.",
          "label": "Long curly"
        },
        {
          "value": "Long straight hair.",
          "label": "Long straight"
        },
        {
          "value": "Short hair.",
          "label": "Short"
        },
        {
          "value": "A bob haircut.",
          "label": "Bob"
        },
        {
          "value": "A bald head.",
          "label": "Bald"
        },
        {
          "value": "A buzz cut.",
          "label": "Buzz cut"
        },
        {
          "value": "A bowl cut.",
          "label": "Bowl cut"
        },
        {
          "value": "A mullet.",
          "label": "Mullet"
        },
        {
          "value": "Long braids.",
          "label": "Braids"
        },
        {
          "value": "Two pigtails.",
          "label": "Pigtails"
        },
        {
          "value": "A big afro.",
          "label": "Afro"
        },
        {
          "value": "A mohawk.",
          "label": "Mohawk"
        },
        {
          "value": "Big voluminous waves.",
          "label": "Voluminous waves"
        },
        {
          "value": "A tall beehive hairdo.",
          "label": "Beehive"
        },
        {
          "value": "A tight perm.",
          "label": "Perm"
        },
        {
          "value": "A layered cut.",
          "label": "Layered"
        },
        {
          "value": "Long ringlets.",
          "label": "Ringlets"
        },
        {
          "value": "A mushroom cut.",
          "label": "Mushroom cut"
        },
        {
          "value": "Hair styled into two horns.",
          "label": "Hair horns"
        },
        {
          "value": "Hair piled up in a soft-serve swirl.",
          "label": "Soft-serve swirl"
        },
        {
          "value": "A round ball of curls.",
          "label": "Ball of curls"
        },
        {
          "value": "Two round buns on top of the head.",
          "label": "Two buns"
        },
        {
          "value": "Hair swept out to the sides like wings.",
          "label": "Hair wings"
        },
        {
          "value": "Spiky hair.",
          "label": "Spikes"
        },
        {
          "value": "One big spiral curl on the side.",
          "label": "Side spiral"
        }
      ]
    },
    {
      "id": "haircolor",
      "type": "select",
      "label": "Hair color",
      "default": "Dark brown hair.",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Jet-black hair.",
          "label": "Jet black"
        },
        {
          "value": "Dark brown hair.",
          "label": "Dark brown"
        },
        {
          "value": "Brown hair.",
          "label": "Brown"
        },
        {
          "value": "Auburn hair.",
          "label": "Auburn"
        },
        {
          "value": "Bright red hair.",
          "label": "Red"
        },
        {
          "value": "Blonde hair.",
          "label": "Blonde"
        },
        {
          "value": "Platinum hair.",
          "label": "Platinum"
        },
        {
          "value": "Gray hair.",
          "label": "Gray"
        },
        {
          "value": "White hair.",
          "label": "White"
        },
        {
          "value": "Pastel pink hair.",
          "label": "Pastel pink"
        },
        {
          "value": "Lilac hair.",
          "label": "Lilac"
        },
        {
          "value": "Blue hair.",
          "label": "Blue"
        },
        {
          "value": "Green hair.",
          "label": "Green"
        }
      ]
    },
    {
      "id": "head",
      "type": "select",
      "label": "Head shape",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "A long face.",
          "label": "Long"
        },
        {
          "value": "A very small head.",
          "label": "Small"
        },
        {
          "value": "A high forehead.",
          "label": "High forehead"
        },
        {
          "value": "A heavy brow ridge.",
          "label": "Heavy brow"
        },
        {
          "value": "A sharply chiseled jawline.",
          "label": "Chiseled jaw"
        },
        {
          "value": "A huge jaw.",
          "label": "Huge jaw"
        },
        {
          "value": "A round face.",
          "label": "Round"
        },
        {
          "value": "A square face.",
          "label": "Square"
        },
        {
          "value": "A heart-shaped face.",
          "label": "Heart"
        }
      ]
    },
    {
      "id": "neck",
      "type": "select",
      "label": "Neck",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "A thick neck.",
          "label": "Thick"
        },
        {
          "value": "A long neck.",
          "label": "Long"
        },
        {
          "value": "A short neck.",
          "label": "Short"
        }
      ]
    },
    {
      "id": "eyes",
      "type": "select",
      "label": "Eye shape",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Almond-shaped eyes.",
          "label": "Almond"
        },
        {
          "value": "Round eyes.",
          "label": "Round"
        },
        {
          "value": "Monolid eyes.",
          "label": "Monolid"
        },
        {
          "value": "Close-set eyes.",
          "label": "Close-set"
        },
        {
          "value": "Wide-set eyes.",
          "label": "Wide-set"
        },
        {
          "value": "Slightly uneven eyes.",
          "label": "Uneven"
        },
        {
          "value": "Big eyes.",
          "label": "Big"
        },
        {
          "value": "Huge eyes.",
          "label": "Huge"
        },
        {
          "value": "Hooded eyes.",
          "label": "Hooded"
        },
        {
          "value": "Upturned eyes.",
          "label": "Upturned"
        },
        {
          "value": "Downturned eyes.",
          "label": "Downturned"
        }
      ]
    },
    {
      "id": "eyecolor",
      "type": "select",
      "label": "Eye color",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Black eyes.",
          "label": "Black"
        },
        {
          "value": "Brown eyes.",
          "label": "Brown"
        },
        {
          "value": "Hazel eyes.",
          "label": "Hazel"
        },
        {
          "value": "Green eyes.",
          "label": "Green"
        },
        {
          "value": "Blue eyes.",
          "label": "Blue"
        },
        {
          "value": "Ice-blue eyes.",
          "label": "Ice blue"
        },
        {
          "value": "Amber eyes.",
          "label": "Amber"
        },
        {
          "value": "Gray eyes.",
          "label": "Gray"
        }
      ]
    },
    {
      "id": "feature",
      "type": "select",
      "label": "Facial features",
      "default": [
        "Freckles."
      ],
      "options": [
        {
          "value": "Freckles.",
          "label": "Freckles"
        },
        {
          "value": "Dimples.",
          "label": "Dimples"
        },
        {
          "value": "Dark circles under the eyes.",
          "label": "Dark circles"
        },
        {
          "value": "Rosy cheeks.",
          "label": "Rosy cheeks"
        },
        {
          "value": "High cheekbones.",
          "label": "High cheekbones"
        },
        {
          "value": "Full lips.",
          "label": "Full lips"
        },
        {
          "value": "Thick eyebrows.",
          "label": "Thick eyebrows"
        },
        {
          "value": "A beauty mark.",
          "label": "Beauty mark"
        },
        {
          "value": "A round nose.",
          "label": "Round nose"
        },
        {
          "value": "A button nose.",
          "label": "Button nose"
        },
        {
          "value": "A pointed nose.",
          "label": "Pointed nose"
        },
        {
          "value": "A tiny nose.",
          "label": "Tiny nose"
        },
        {
          "value": "Pouty lips.",
          "label": "Pouty lips"
        },
        {
          "value": "A small pursed mouth.",
          "label": "Small mouth"
        },
        {
          "value": "A wide mouth.",
          "label": "Wide mouth"
        },
        {
          "value": "A unibrow.",
          "label": "Unibrow"
        },
        {
          "value": "Thin, high arched eyebrows.",
          "label": "Thin arched brows"
        },
        {
          "value": "Bushy eyebrows.",
          "label": "Bushy brows"
        },
        {
          "value": "Ears that stick out.",
          "label": "Protruding ears"
        },
        {
          "value": "A gap between the front teeth.",
          "label": "Gap teeth"
        },
        {
          "value": "Slight buck teeth.",
          "label": "Buck teeth"
        },
        {
          "value": "A pointed chin.",
          "label": "Pointed chin"
        },
        {
          "value": "A receding chin.",
          "label": "Receding chin"
        },
        {
          "value": "A big forehead.",
          "label": "Big forehead"
        }
      ],
      "help": "Up to 3.",
      "multiple": {
        "max": 3,
        "join": " "
      }
    },
    {
      "id": "facialhair",
      "type": "select",
      "label": "Facial hair",
      "default": "",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Clean-shaven.",
          "label": "Clean-shaven"
        },
        {
          "value": "Stubble.",
          "label": "Stubble"
        },
        {
          "value": "A full beard.",
          "label": "Full beard"
        },
        {
          "value": "A goatee.",
          "label": "Goatee"
        },
        {
          "value": "A mustache.",
          "label": "Mustache"
        },
        {
          "value": "A thin pencil mustache.",
          "label": "Pencil mustache"
        },
        {
          "value": "A thick push-broom mustache.",
          "label": "Push-broom"
        },
        {
          "value": "A braided beard.",
          "label": "Braided beard"
        }
      ]
    },
    {
      "id": "trait",
      "type": "select",
      "label": "Distinctive traits",
      "default": [],
      "options": [
        {
          "value": "Each eye a different color.",
          "label": "Different eye colors"
        },
        {
          "value": "A small face tattoo.",
          "label": "Small face tattoo"
        },
        {
          "value": "A nose piercing.",
          "label": "Nose piercing"
        },
        {
          "value": "Several ear piercings.",
          "label": "Ear piercings"
        },
        {
          "value": "Shaved slits in one eyebrow.",
          "label": "Eyebrow slits"
        },
        {
          "value": "Bleached eyebrows.",
          "label": "Bleached brows"
        },
        {
          "value": "No eyebrows.",
          "label": "No eyebrows"
        },
        {
          "value": "A gold grill on the teeth.",
          "label": "Gold grill"
        },
        {
          "value": "Braces on the teeth.",
          "label": "Braces"
        },
        {
          "value": "A small scar through one eyebrow.",
          "label": "Eyebrow scar"
        },
        {
          "value": "Small gems stuck on the cheekbones.",
          "label": "Face gems"
        },
        {
          "value": "Pointed elf ears.",
          "label": "Elf ears"
        },
        {
          "value": "Very long eyelashes.",
          "label": "Long lashes"
        },
        {
          "value": "A strip across the nose.",
          "label": "Nose strip"
        }
      ],
      "help": "Up to 3.",
      "multiple": {
        "max": 3,
        "join": " "
      }
    },
    {
      "id": "style",
      "type": "select",
      "label": "Style",
      "default": "Wearing casual everyday clothes.",
      "options": [
        {
          "value": "",
          "label": "Any"
        },
        {
          "value": "Wearing casual everyday clothes.",
          "label": "Casual"
        },
        {
          "value": "Wearing streetwear.",
          "label": "Streetwear"
        },
        {
          "value": "Wearing 1970s retro clothes.",
          "label": "Retro"
        },
        {
          "value": "Wearing sporty athletic clothes.",
          "label": "Sporty"
        },
        {
          "value": "Wearing early-2000s Y2K fashion.",
          "label": "Y2K"
        },
        {
          "value": "Wearing a bold theatrical costume.",
          "label": "Theatrical"
        },
        {
          "value": "Wearing gothic black clothes.",
          "label": "Gothic"
        },
        {
          "value": "Wearing a tailored suit.",
          "label": "Suit"
        }
      ]
    },
    {
      "id": "accessory",
      "type": "select",
      "label": "Accessories",
      "default": [],
      "options": [
        {
          "value": "Glasses.",
          "label": "Glasses"
        },
        {
          "value": "Headphones around the neck.",
          "label": "Headphones"
        },
        {
          "value": "Jewelry.",
          "label": "Jewelry"
        },
        {
          "value": "A hat.",
          "label": "Hat"
        },
        {
          "value": "A bag over one shoulder.",
          "label": "Bag"
        }
      ],
      "help": "Up to 3.",
      "multiple": {
        "max": 3,
        "join": " "
      }
    },
    {
      "id": "scene",
      "type": "select",
      "label": "Scene",
      "default": "Standing in a plain light-gray photo studio, full body, soft even light.",
      "options": [
        {
          "value": "Standing in a plain light-gray photo studio, full body, soft even light.",
          "label": "Studio"
        },
        {
          "value": "Stretching on a rooftop at sunrise, full body.",
          "label": "Fitness"
        },
        {
          "value": "With a backpack at a viewpoint above a coastal town.",
          "label": "Travel"
        },
        {
          "value": "Posing on a city street, full body.",
          "label": "Fashion"
        },
        {
          "value": "Tasting a dish at a busy street food stall at night.",
          "label": "Food"
        },
        {
          "value": "At a desk with a laptop and a camera on a tripod, warm desk lamp.",
          "label": "Tech"
        }
      ]
    },
    {
      "id": "details",
      "type": "text",
      "label": "Extra direction",
      "default": "",
      "help": "Added at the end of the app's prompt.",
      "bind": [
        {
          "node": "18:17",
          "field": "value",
          "template": "A vertical photo for social media of a made-up character: {kind}. {gender}{age}{origin}. {skin} {build} {stature} {proportions} {hair} {haircolor} {head} {neck} {eyes} {eyecolor} {feature} {facialhair} {trait} {style} {accessory} {scene} Natural skin texture with visible pores, a believable photo. The clothes and shoes are plain, with no letters, prints, labels or logos anywhere. {details}"
        }
      ]
    },
    {
      "id": "aspect",
      "type": "select",
      "label": "Aspect ratio",
      "default": "2:3",
      "help": "At 1K the image has about 1 megapixel in this shape; Resolution scales it.",
      "options": [
        {
          "value": "1:1",
          "label": "1:1",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 1024
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 1024
            }
          ]
        },
        {
          "value": "4:3",
          "label": "4:3",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 1152
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 864
            }
          ]
        },
        {
          "value": "3:4",
          "label": "3:4",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 864
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 1152
            }
          ]
        },
        {
          "value": "3:2",
          "label": "3:2",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 1248
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 832
            }
          ]
        },
        {
          "value": "2:3",
          "label": "2:3",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 832
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 1248
            }
          ]
        },
        {
          "value": "5:4",
          "label": "5:4",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 1120
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 896
            }
          ]
        },
        {
          "value": "4:5",
          "label": "4:5",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 896
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 1120
            }
          ]
        },
        {
          "value": "16:9",
          "label": "16:9",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 1344
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 768
            }
          ]
        },
        {
          "value": "9:16",
          "label": "9:16",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 768
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 1344
            }
          ]
        },
        {
          "value": "21:9",
          "label": "21:9",
          "sets": [
            {
              "node": "18:6",
              "field": "width",
              "value": 1536
            },
            {
              "node": "18:6",
              "field": "height",
              "value": 640
            }
          ]
        }
      ],
      "bind": []
    },
    {
      "id": "resolution",
      "type": "select",
      "label": "Resolution",
      "default": 1,
      "help": "1K is about 1 megapixel; 2K is four times the pixels and takes about four times as long.",
      "options": [
        {
          "value": 1,
          "label": "1K"
        },
        {
          "value": 1.5,
          "label": "1.5K"
        },
        {
          "value": 2,
          "label": "2K"
        }
      ],
      "bind": [
        {
          "node": "ff_res",
          "field": "scale_by"
        }
      ]
    },
    {
      "id": "steps",
      "type": "slider",
      "label": "Steps",
      "min": 8,
      "max": 24,
      "step": 1,
      "default": 15,
      "bind": [
        {
          "node": "18:7",
          "field": "steps"
        }
      ]
    },
    {
      "id": "seed",
      "type": "seed",
      "label": "Seed",
      "default": -1,
      "help": "-1 picks a random seed",
      "bind": [
        {
          "node": "18:7",
          "field": "seed"
        }
      ]
    }
  ],
  "outputs": [
    {
      "node": "9",
      "type": "image",
      "label": "Result"
    }
  ],
  "models": [
    {
      "repo": "black-forest-labs/flux-3-image-klein-comfy",
      "file": "diffusion_models/flux3-image-klein-int8-convrot.safetensors",
      "dir": "diffusion_models",
      "gb": 5.83,
      "phase": "denoise",
      "gated": true,
      "license": "FLUX Kommunity License"
    },
    {
      "repo": "black-forest-labs/flux-3-image-klein-comfy",
      "file": "text_encoders/qwen3vl_4b_int8_convrot.safetensors",
      "dir": "text_encoders",
      "gb": 4.86,
      "phase": "encode",
      "gated": true,
      "license": "FLUX Kommunity License"
    },
    {
      "repo": "black-forest-labs/flux-3-image-klein-comfy",
      "file": "vae/flux2-vae.safetensors",
      "dir": "vae",
      "gb": 0.34,
      "phase": "decode",
      "gated": true,
      "license": "FLUX Kommunity License"
    }
  ],
  "credits": [
    "FLUX 3 Image Klein and its prompt upsampler by Black Forest Labs (FLUX Kommunity License)"
  ],
  "test": {}
}