Files
aigc-home/docs/hel-892/director-multi-document-evidence/refine-schema-differences.json
T
2026-11-01 12:04:37 +08:00

177 lines
9.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"exact_commit": "6ff79b4aa15d56055cfa61d915889867027c9ab1",
"class_lines": [
25,
287
],
"pack_lines": [
218,
287
],
"extra_kwargs_deleted": true,
"schema": {
"mode": "(list(REFINE_MODES), {'default': 'refine', 'tooltip': 'refine = 同分辨率二采(精修)。upscale = 先放大到目标画布再二采。latent_upscale = 只放大 H3 latent,不再二采。'})",
"upscale_method": "(list(UPSCALE_METHODS), {'default': 'h3_latent', 'tooltip': '仅 mode=upscale。h3_latent = 先按目标画布放大 H3 视频 latent,再二采(下方选 3D 权重)。lanczos = 像素插值;可另接 upscale_model(RealESRGAN 等)。nvidia_rtx_vsr = NVIDIA RTX Video Super Resolution(需 nvidia-vfx + NVIDIA GPU)。'})",
"latent_upscale_model": "(list_h3_latent_upscale_models(), {'tooltip': 'H3 3D latent 放大权重。放到 ComfyUI/models/latent_upscale_models/,文件名含 3d(如 minimax_h3_latent_upscaler_3d_*.safetensors)。mode=latent_upscale,或 upscale + h3_latent 时使用。'})",
"sampler": "(comfy.samplers.KSampler.SAMPLERS, {'default': DEFAULT_REFINE_SIGMA_SAMPLER, 'tooltip': '二采采样器。海螺案例用 euler;BasicScheduler 高质量二采常用 res_multistep。'})",
"passes": "('INT', {'default': 1, 'min': 1, 'max': MAX_REFINE_PASSES, 'tooltip': '精修次数。1 = 一次二采。upscale 时只有第 1 次放大,之后都是同分辨率精修。latent_upscale 不二采,此值无效。'})",
"refine_model": "('MODEL', {'tooltip': 'Second-pass UNET (二采模型)。不接则用导演台主模型。适合一采挂 Turbo LoRA、二采卸掉或换另一套。'})",
"sigmas": "('SIGMAS', {'forceInput': True, 'tooltip': '二采噪声表。接 Comfy 自带 BasicScheduler 或 ManualSigmas。mode=refine / upscale 时必须接线。BasicScheduler 请接和二采相同的 MODEL(导演台主模型或 refine_model)。H3 的 SigmaShift 仍由 Refine 内部套上。'})",
"upscale_model": "('UPSCALE_MODEL', {'tooltip': '可选。用「加载放大模型」接入,例如 RealESRGAN_x2plus。仅 mode=upscale 且 upscale_method=lanczos 时使用。不接则纯 lanczos 插值。选 nvidia_rtx_vsr / h3_latent 时忽略此口。'})",
"seed_mode": "(list(SEED_MODES), {'default': 'inherit', 'tooltip': 'inherit = 用导演台 seed;offset = 每轮 seed+1、+2…。'})",
"aspect_ratio": "(list(ASPECT_RATIO_CHOICES), {'default': FOLLOW_DIRECTOR_ASPECT, 'tooltip': '放大目标画布,算法同导演台「输出分辨率」。导演台是一采分辨率(例如 0.4 MP),这里是放大后的目标(例如 1.0 MP)。跟随导演台:按导演台画布比例推 720P 档。比例预设:配合百万像素。自定义:直接填宽高(对齐 ×32)。'})",
"megapixels": "('FLOAT', {'default': DEFAULT_UPSCALE_MEGAPIXELS, 'min': 0.0, 'max': 16.0, 'step': 0.1, 'tooltip': '百万像素,同导演台 ResolutionSelector。1.0 MP 在 16:9 约为 1376×768(对齐 32)。仅比例预设时生效。'})",
"width": "('INT', {'default': 1280, 'min': 0, 'max': 8192, 'step': 32, 'tooltip': '自定义宽度(×32)。仅「自定义」时生效。'})",
"height": "('INT', {'default': 720, 'min': 0, 'max': 8192, 'step': 32, 'tooltip': '自定义高度(×32)。仅「自定义」时生效。'})",
"skip_fl2v": "('BOOLEAN', {'default': True, 'tooltip': '跳过首尾帧(fl2v)镜头的二采/放大。二采会改画面,容易把钉死的首尾帧画飘;默认跳过以保护关键帧。关掉则 fl2v 也走精修 / latent 放大。'})"
},
"saved": [
{
"field": "mode",
"value": "upscale",
"json_type": "str",
"schema_present": true,
"source_type": "COMBO",
"limits": "(list(REFINE_MODES), {'default': 'refine', 'tooltip': 'refine = 同分辨率二采(精修)。upscale = 先放大到目标画布再二采。latent_upscale = 只放大 H3 latent,不再二采。'})"
},
{
"field": "upscale_method",
"value": "lanczos",
"json_type": "str",
"schema_present": true,
"source_type": "COMBO",
"limits": "(list(UPSCALE_METHODS), {'default': 'h3_latent', 'tooltip': '仅 mode=upscale。h3_latent = 先按目标画布放大 H3 视频 latent,再二采(下方选 3D 权重)。lanczos = 像素插值;可另接 upscale_model(RealESRGAN 等)。nvidia_rtx_vsr = NVIDIA RTX Video Super Resolution(需 nvidia-vfx + NVIDIA GPU)。'})"
},
{
"field": "latent_upscale_model",
"value": 0.25,
"json_type": "float",
"schema_present": true,
"source_type": "COMBO",
"limits": "(list_h3_latent_upscale_models(), {'tooltip': 'H3 3D latent 放大权重。放到 ComfyUI/models/latent_upscale_models/,文件名含 3d(如 minimax_h3_latent_upscaler_3d_*.safetensors)。mode=latent_upscale,或 upscale + h3_latent 时使用。'})"
},
{
"field": "sampler",
"value": "euler",
"json_type": "str",
"schema_present": true,
"source_type": "COMBO",
"limits": "(comfy.samplers.KSampler.SAMPLERS, {'default': DEFAULT_REFINE_SIGMA_SAMPLER, 'tooltip': '二采采样器。海螺案例用 euler;BasicScheduler 高质量二采常用 res_multistep。'})"
},
{
"field": "passes",
"value": 1,
"json_type": "int",
"schema_present": true,
"source_type": "INT",
"limits": "INT min1/max9999;函数回退与配置包裁界仅源码条件"
},
{
"field": "seed_mode",
"value": "inherit",
"json_type": "str",
"schema_present": true,
"source_type": "COMBO",
"limits": "(list(SEED_MODES), {'default': 'inherit', 'tooltip': 'inherit = 用导演台 seed;offset = 每轮 seed+1、+2…。'})"
},
{
"field": "seed",
"value": 0,
"json_type": "int",
"schema_present": false,
"source_type": "INT",
"limits": "原保存和具名独立,不按准确schema重新排位;pack的额外kwargs被丢弃,不认证恢复/映射"
},
{
"field": "control_after_generate",
"value": "fixed",
"json_type": "str",
"schema_present": false,
"source_type": "保存参考",
"limits": "原0/fixed独立保存;不由宿主通用种子辅助规则补映射或认证恢复"
},
{
"field": "aspect_ratio",
"value": "跟随导演台",
"json_type": "str",
"schema_present": true,
"source_type": "COMBO",
"limits": "跟随/自定义或预设比例;目标尺寸只条件不计算"
},
{
"field": "megapixels",
"value": 1,
"json_type": "int",
"schema_present": true,
"source_type": "FLOAT",
"limits": "FLOAT 0..16步0.1;源JSON int1独立,不改变类型"
},
{
"field": "width",
"value": 1184,
"json_type": "int",
"schema_present": true,
"source_type": "INT",
"limits": "('INT', {'default': 1280, 'min': 0, 'max': 8192, 'step': 32, 'tooltip': '自定义宽度(×32)。仅「自定义」时生效。'})"
},
{
"field": "height",
"value": 720,
"json_type": "int",
"schema_present": true,
"source_type": "INT",
"limits": "('INT', {'default': 720, 'min': 0, 'max': 8192, 'step': 32, 'tooltip': '自定义高度(×32)。仅「自定义」时生效。'})"
},
{
"field": "skip_fl2v",
"value": false,
"json_type": "bool",
"schema_present": true,
"source_type": "BOOLEAN",
"limits": "('BOOLEAN', {'default': True, 'tooltip': '跳过首尾帧(fl2v)镜头的二采/放大。二采会改画面,容易把钉死的首尾帧画飘;默认跳过以保护关键帧。关掉则 fl2v 也走精修 / latent 放大。'})"
},
{
"field": "confirm_first_pass",
"value": false,
"json_type": "bool",
"schema_present": false,
"source_type": "BOOLEAN",
"limits": "原保存和具名独立,不按准确schema重新排位;pack的额外kwargs被丢弃,不认证恢复/映射"
},
{
"field": "enable_latent_chunking",
"value": 2,
"json_type": "int",
"schema_present": false,
"source_type": "BOOLEAN",
"limits": "原保存和具名独立,不按准确schema重新排位;pack的额外kwargs被丢弃,不认证恢复/映射"
},
{
"field": "enable_tiling",
"value": 128,
"json_type": "int",
"schema_present": false,
"source_type": "BOOLEAN",
"limits": "原保存和具名独立,不按准确schema重新排位;pack的额外kwargs被丢弃,不认证恢复/映射"
},
{
"field": "tile_count",
"value": 2,
"json_type": "int",
"schema_present": false,
"source_type": "INT",
"limits": "原保存和具名独立,不按准确schema重新排位;pack的额外kwargs被丢弃,不认证恢复/映射"
},
{
"field": "tile_overlap",
"value": 128,
"json_type": "int",
"schema_present": false,
"source_type": "INT",
"limits": "原保存和具名独立,不按准确schema重新排位;pack的额外kwargs被丢弃,不认证恢复/映射"
}
],
"main24_still_unbound": true,
"upstream_executed": false
}