Command Palette

Search for a command to run...

Назад к скиллам
скилл № 76840

flux-sampling

ModelSamplingFlux node patch requirements. Activate in Brain step 2 (Patch and validate) whenever the workflow contains a ModelSamplingFlux node.

БесплатноБез исполняемых скриптов
szprivateот szprivate★ 53 звезды на GitHub

Установить flux-sampling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Flux Sampling — ModelSamplingFlux Patch Requirements

When a workflow contains a ModelSamplingFlux node, all four inputs are required. Omitting any one will cause a ComfyUI validation failure.


Required inputs

input_name required value
max_shift 1.15
base_shift 0.5
width from brainbriefing.resolution_width
height from brainbriefing.resolution_height

Patch template

Include these four patches in the patches array passed to update_workflow:

[
  { "node_id": "<ModelSamplingFlux_node_id>", "input_name": "max_shift",  "value": 1.15 },
  { "node_id": "<ModelSamplingFlux_node_id>", "input_name": "base_shift", "value": 0.5  },
  { "node_id": "<ModelSamplingFlux_node_id>", "input_name": "width",      "value": <resolution_width>  },
  { "node_id": "<ModelSamplingFlux_node_id>", "input_name": "height",     "value": <resolution_height> }
]

Replace <ModelSamplingFlux_node_id> with the actual node ID from the workflow template.
Replace <resolution_width> and <resolution_height> with the integer values from the brainbriefing.


How to find the node ID

The ModelSamplingFlux node is typically listed in the io.nodes array returned by get_workflow_template. Look for class_type: "ModelSamplingFlux" and note its nodeId.

If it is not in io.nodes, inspect the full workflow JSON for a node with class_type: "ModelSamplingFlux".


Rules

  • You MUST include all four inputs in every update_workflow call that patches a ModelSamplingFlux node.
  • Values are not optional — ComfyUI will reject the workflow if any of the four are absent.
  • width and height MUST come from brainbriefing.resolution_width / brainbriefing.resolution_height — never hard-code or guess them.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01update_workflow

FAQ

Что делает скилл flux-sampling?

ModelSamplingFlux node patch requirements. Activate in Brain step 2 (Patch and validate) whenever the workflow contains a ModelSamplingFlux node.

Как установить скилл flux-sampling?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл flux-sampling запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить flux-sampling с