Nodes/InstaSD nodes for ComfyUI/InstaSD API Input - Multi Line Text
ComfyUI Node

InstaSD API Input - Multi Line Text

The multiline text input InstaSD turns into a proper prompt box

By WaddingtonHoldings·Created 2 years ago·Updated 10 months ago· 4
InstaSD API Input - Multi Line Text
    • string
    string

    InstaCTextML is the same trick as InstaCText - a string in, a string out, no API involved - with one difference that matters: the input is multiline. For a text-to-image workflow published through InstaSD, this is the node that becomes a proper, resizeable prompt box your visitors can type a full paragraph into.

    The context: InstaSD (instasd.com) wraps a ComfyUI workflow in a public one-page app or API endpoint, and the InstaSD/API_inputs nodes in this pack are the inputs it exposes to end users. Prompts are the control you'll expose most, and for anything beyond a one-liner - full scene descriptions, comma-heavy tag lists, prompts with BREAK or weight syntax - you want the multiline version so people aren't fighting a single-line field.

    What you set

    • string - the text, defaulting to empty, with multiline: true in the schema. That flag is the entire difference from its single-line sibling: the on-canvas widget grows into a text area and line breaks survive the round trip.

    Output is string (type STRING), passing the text through byte-for-byte. Wire it into a CLIP Text Encode for the positive prompt, or pair two of them for positive/negative conditioning.

    A practical tip: multiline is also the better choice when your default prompt is a template or wildcard line you want the end user to edit rather than replace. And because line breaks are preserved, it plays nicely with nodes that parse multi-line input (wildcard expansions, split by line utilities) if you ever go that deep.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/WaddingtonHoldings/ComfyUI-InstaSD
    

    Restart ComfyUI, or install via ComfyUI Manager (search "InstaSD"). Dependencies are boto3, Pillow, requests, and numpy; nothing to download, no key to configure for this node.

    Gotchas

    • Locally it's a pass-through, same as every API-input node in the pack. The value only "appears" on a demo page once the workflow is published through InstaSD.
    • Choose it deliberately: single-line InstaCText is the same node minus the multiline flag, so don't install both out of confusion - pick based on whether your prompt will ever contain line breaks.
    CategoryInstaSD/API_inputs

    Inputs (1)

    NameTypeDefaultDescription
    stringSTRING

    Outputs (1)

    NameTypeDescription
    stringSTRING