mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-20 06:49:37 +08:00
Formatting
Some checks failed
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled
Some checks failed
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled
This commit is contained in:
parent
08dd0b74cc
commit
17418ab5bf
@ -268,18 +268,10 @@ class SaveAudioAdvanced(IO.ComfyNode):
|
|||||||
options=[
|
options=[
|
||||||
IO.DynamicCombo.Option("flac", []),
|
IO.DynamicCombo.Option("flac", []),
|
||||||
IO.DynamicCombo.Option("mp3", [
|
IO.DynamicCombo.Option("mp3", [
|
||||||
IO.Combo.Input(
|
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
|
||||||
"quality",
|
|
||||||
options=["V0", "128k", "320k"],
|
|
||||||
default="V0",
|
|
||||||
),
|
|
||||||
]),
|
]),
|
||||||
IO.DynamicCombo.Option("opus", [
|
IO.DynamicCombo.Option("opus", [
|
||||||
IO.Combo.Input(
|
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
|
||||||
"quality",
|
|
||||||
options=["64k", "96k", "128k", "192k", "320k"],
|
|
||||||
default="128k",
|
|
||||||
),
|
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
tooltip="The file format in which to save the audio.",
|
tooltip="The file format in which to save the audio.",
|
||||||
|
|||||||
@ -1165,26 +1165,11 @@ class SaveImageAdvanced(IO.ComfyNode):
|
|||||||
"format",
|
"format",
|
||||||
options=[
|
options=[
|
||||||
IO.DynamicCombo.Option("png", [
|
IO.DynamicCombo.Option("png", [
|
||||||
IO.Combo.Input(
|
IO.Combo.Input("bit_depth", options=["8-bit", "16-bit"], default="8-bit", advanced=True),
|
||||||
"bit_depth",
|
IO.Combo.Input("input_color_space", options=["sRGB"], default="sRGB", advanced=True),
|
||||||
options=["8-bit", "16-bit"],
|
|
||||||
default="8-bit",
|
|
||||||
advanced=True,
|
|
||||||
),
|
|
||||||
IO.Combo.Input(
|
|
||||||
"input_color_space",
|
|
||||||
options=["sRGB"],
|
|
||||||
default="sRGB",
|
|
||||||
advanced=True,
|
|
||||||
),
|
|
||||||
]),
|
]),
|
||||||
IO.DynamicCombo.Option("exr", [
|
IO.DynamicCombo.Option("exr", [
|
||||||
IO.Combo.Input(
|
IO.Combo.Input("bit_depth", options=["32-bit float"], default="32-bit float", advanced=True),
|
||||||
"bit_depth",
|
|
||||||
options=["32-bit float"],
|
|
||||||
default="32-bit float",
|
|
||||||
advanced=True,
|
|
||||||
),
|
|
||||||
IO.Combo.Input(
|
IO.Combo.Input(
|
||||||
"input_color_space",
|
"input_color_space",
|
||||||
options=["sRGB", "HDR", "linear"],
|
options=["sRGB", "HDR", "linear"],
|
||||||
|
|||||||
@ -23,14 +23,7 @@ class SaveWEBM(io.ComfyNode):
|
|||||||
io.String.Input("filename_prefix", default="ComfyUI"),
|
io.String.Input("filename_prefix", default="ComfyUI"),
|
||||||
io.Combo.Input("codec", options=["vp9", "av1"]),
|
io.Combo.Input("codec", options=["vp9", "av1"]),
|
||||||
io.Float.Input("fps", default=24.0, min=0.01, max=1000.0, step=0.01),
|
io.Float.Input("fps", default=24.0, min=0.01, max=1000.0, step=0.01),
|
||||||
io.Float.Input(
|
io.Float.Input("crf", default=32.0, min=0, max=63.0, step=1, tooltip="Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize."),
|
||||||
"crf",
|
|
||||||
default=32.0,
|
|
||||||
min=0,
|
|
||||||
max=63.0,
|
|
||||||
step=1,
|
|
||||||
tooltip="Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize.",
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
||||||
is_output_node=True,
|
is_output_node=True,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user