Nodes/Quality of Life Nodes for ComfyUI/ComfyDeploy API Mixed Parameters V2 (Soze)
ComfyUI Node

ComfyDeploy API Mixed Parameters V2 (Soze)

The cleaned-up mixed builder

By SozeInc·Created 2 years ago·Updated 2 months ago· 11
ComfyDeploy API Mixed Parameters V2 (Soze)
  • image_value_11
  • image_value_12
  • image_value_13
  • image_value_14
  • image_value_15
  • api_parameters
◄more_parameters►
◄save_filename►
◄positive_prompt►
◄seed-1►
◄batch_count1►
◄string_name_1►
◄string_value_1►
◄string_name_2►
◄string_value_2►
◄int_name_3►
◄int_value_30►
◄int_name_4►
◄int_value_40►
◄int_name_5►
◄int_value_50►
◄float_name_6►
◄float_value_60.00►
◄float_name_7►
◄float_value_70.00►
◄float_name_8►
◄float_value_80.00►
◄bool_name_9►
◄bool_value_9false►
◄bool_name_10►
◄bool_value_10false►
◄image_name_11►
◄image_name_12►
◄image_name_13►
◄image_name_14►
◄image_name_15►

The refined version of ComfyDeploy API Mixed Parameters. Same idea - one node, a mix of types, feeding a ComfyDeploy deployment - but with two real improvements: four of the most common generation parameters get their own dedicated fields instead of eating a generic slot, and every remaining slot's name field is prefixed with its type so you can tell what it expects without cross-referencing the node's layout.

How it works

Like the rest of the parameter family, it packs whatever you fill in into one api_parameters STRING for ComfyDeploy API Node. What's different from V1 is the shape: instead of one flat set of name_N fields shared across every type, V2 gives you string_name_1, int_name_3, float_name_6, bool_name_9, image_name_11 and so on - the type is right there in the field's own name. And rather than burning a generic slot on things almost every image-gen deployment needs, V2 promotes save_filename, positive_prompt, seed, and batch_count to dedicated top-level fields with no naming step required at all.

The inputs and outputs that matter

  • save_filename, positive_prompt (STRING) - set once, no name_N needed; presumably these map to the same-named inputs on the ComfyDeploy side.
  • seed (INT, default -1) and batch_count (INT, default 1) - likewise dedicated fields.
  • string_name_1/string_value_1, string_name_2/string_value_2 - two general string pairs.
  • int_name_3/int_value_3 through int_name_5/int_value_5 - three int pairs.
  • float_name_6/float_value_6 through float_name_8/float_value_8 - three float pairs.
  • bool_name_9/bool_value_9, bool_name_10/bool_value_10 - two boolean pairs.
  • image_name_11/image_value_11 through image_name_15/image_value_15 - five image pairs (Azure upload, same as the other image-capable nodes here).
  • more_parameters - the same overflow/merge field as every other node in this family.
  • Output: api_parameters.

If your deployed workflow's input names happen to literally be save_filename, positive_prompt, seed, and batch_count, this node saves you four generic slots' worth of typing over V1 or the single-type builders.

How to install it

Via ComfyUI Manager: search "Quality of Life Nodes for ComfyUI", install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/SozeInc/ComfyUI_Soze.git
pip install -r ComfyUI_Soze/requirements.txt

CD_API_KEY is required; add SOZE_AZURE_STORAGE_CONNECTION_STRING too if you're using any of the five image slots.

Common issues & troubleshooting

The dedicated fields don't match your deployment's actual input names. They're convenience fields, not guaranteed to line up with every deployment - if your ComfyDeploy workflow calls its prompt input something other than positive_prompt, use one of the generic string_name_N slots instead and name it correctly.

Migrating from V1 and something broke. The field names changed (name_3 became int_name_3, for example) - if you copied an old graph over, you'll need to rewire, not just re-point the same widget.

Still not enough slots, or need a type this node doesn't cover. more_parameters is there for exactly that - merge in output from another parameter-builder node.

CategorySoze Nodes

Inputs (35)

NameTypeDefaultDescription
more_parametersoptSTRING—
save_filenameoptSTRING—
positive_promptoptSTRING—
seedoptINT-1—
batch_countoptINT1—
string_name_1optSTRING—
string_value_1optSTRING—
string_name_2optSTRING—
string_value_2optSTRING—
int_name_3optSTRING—
int_value_3optINT0—
int_name_4optSTRING—
int_value_4optINT0—
int_name_5optSTRING—
int_value_5optINT0—
float_name_6optSTRING—
float_value_6optFLOAT0.00—
float_name_7optSTRING—
float_value_7optFLOAT0.00—
float_name_8optSTRING—
float_value_8optFLOAT0.00—
bool_name_9optSTRING—
bool_value_9optBOOLEANfalse—
bool_name_10optSTRING—
bool_value_10optBOOLEANfalse—
image_name_11optSTRING—
image_value_11optIMAGE—
image_name_12optSTRING—
image_value_12optIMAGE—
image_name_13optSTRING—
image_value_13optIMAGE—
image_name_14optSTRING—
image_value_14optIMAGE—
image_name_15optSTRING—
image_value_15optIMAGE—

Outputs (1)

NameTypeDescription
api_parametersSTRING—