Nodes/ComfyUI-PhotoMaker-Plus/Apply PhotoMaker Style
ComfyUI Node

Apply PhotoMaker Style

PhotoMaker is picky about prompts. This node is the cheat sheet.

By shiimizu·Created 3 years ago·Updated 2 years ago· 296
Apply PhotoMaker Style
    • POSITIVE
    • NEGATIVE
    style_namePhotographic (Default)
    positive
    negative

    PhotoMaker is a fantastic identity tool with one annoying quirk: it's fussy about how you phrase your prompt. The trigger-word format and a bit of quality lingo matter more than with a normal checkpoint, and that's exactly the problem PhotoMakerStyles exists to solve. It's a dropdown of prompt templates from the original PhotoMaker repo - eleven ready-made style prompts that know how to talk to the model.

    The best way to see the value is to read what "Photographic (Default)" expands to:

    cinematic photo {prompt} . 35mm photograph, film, bokeh, professional, 4k, highly detailed
    

    That's the exact flavor of phrasing PhotoMaker's own code used for realistic results, preserved verbatim from Tencent's repo. Grab it and you skip the trial-and-error phase entirely.

    What it does

    It's a pure text node - no model, no GPU, nothing loads. Pick a style and it returns two strings:

    • POSITIVE - the style template with your optional positive input dropped into the {prompt} placeholder.
    • NEGATIVE - the style's built-in negative prompt, with your optional negative input appended.

    The style list (exact names from the dropdown):

    • (No style) - pass-through, your prompt untouched
    • Cinematic, Photographic (Default), Enhance - the realism/quality gang
    • Disney Charactor - yes, that typo is in the original repo, don't "fix" it or the dropdown won't match
    • Digital Art, Fantasy art, Comic book, Lowpoly, Line art, Neonpunk - the stylized set

    The positive and negative inputs are optional and can be fed from a primitive or a StringFunction. If you leave them empty, you still get the style's baked-in prompt and negative - which for "Disney Charactor" is a genuinely well-tuned negative list.

    Wiring it into a workflow

    The POSITIVE output needs to reach the prompt. Two standard patterns:

    • Feed POSITIVE into PhotoMakerEncodePlus's text input (remember to keep the trigger word in your raw prompt - e.g. photograph of a man img - so it survives the merge).
    • Feed NEGATIVE into a normal CLIPTextEncode for the sampler's negative side.

    In the pack's own v1 example workflow that's exactly what happens: a hand-written prompt goes into the style node, the styled POSITIVE flows into the encode node, and the negative gets encoded separately.

    Install

    It ships in the pack, so one install covers it. ComfyUI Manager → search "PhotoMaker Plus", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/shiimizu/ComfyUI-PhotoMaker-Plus.git
    

    Restart, and Apply PhotoMaker Style shows up under the PhotoMaker category. No models required for this node alone.

    Worth knowing

    • This node is a starting point, not a guarantee. The templates were tuned for the SD 1.5 / SDXL era and for PhotoMaker's own phrasing conventions. "Photographic (Default)" is a genuinely good default; the more stylized entries vary in quality and you should expect to edit them.
    • Token budget. Some templates are wordy for a 77-token context. Keep your added prompt short and let the template do the talking.
    • PhotoMakerStyles is a convenience, not a requirement. Plenty of workflows skip it and write the whole prompt by hand - it's a "remember the magic phrasing" tool, and a nice one. If you find yourself retyping the same "35mm photograph, film, bokeh..." incantation over and over, this is the node that stops you.

    One light aside: the typo'd "Disney Charactor" is a running joke in the community precisely because it's such a tell that the templates are lifted straight from the research code. Cute, and also a reminder that you're using the real recipe.

    CategoryPhotoMaker

    Inputs (3)

    NameTypeDefaultDescription
    style_nameCOMBOPhotographic (Default)11 options: (No style), Cinematic, Disney Charactor, Digital Art, Photographic (Default), Fantasy art, +5
    positiveoptSTRING
    negativeoptSTRING

    Outputs (2)

    NameTypeDescription
    POSITIVESTRING
    NEGATIVESTRING