flux-sampling
ModelSamplingFlux node patch requirements. Activate in Brain step 2 (Patch and validate) whenever the workflow contains a ModelSamplingFlux node.
от 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_workflowcall that patches a ModelSamplingFlux node. - Values are not optional — ComfyUI will reject the workflow if any of the four are absent.
widthandheightMUST come frombrainbriefing.resolution_width/brainbriefing.resolution_height— never hard-code or guess them.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
update_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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…