mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-13 17:20:01 +00:00
Compare commits
1 Commits
revert-129
...
remove-cac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
699659c06e |
@@ -162,7 +162,7 @@ class SaveAudio(IO.ComfyNode):
|
|||||||
essentials_category="Audio",
|
essentials_category="Audio",
|
||||||
inputs=[
|
inputs=[
|
||||||
IO.Audio.Input("audio"),
|
IO.Audio.Input("audio"),
|
||||||
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
|
IO.String.Input("filename_prefix", default="audio/ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
],
|
],
|
||||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||||
is_output_node=True,
|
is_output_node=True,
|
||||||
@@ -187,7 +187,7 @@ class SaveAudioMP3(IO.ComfyNode):
|
|||||||
category="audio",
|
category="audio",
|
||||||
inputs=[
|
inputs=[
|
||||||
IO.Audio.Input("audio"),
|
IO.Audio.Input("audio"),
|
||||||
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
|
IO.String.Input("filename_prefix", default="audio/ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
|
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
|
||||||
],
|
],
|
||||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||||
@@ -215,7 +215,7 @@ class SaveAudioOpus(IO.ComfyNode):
|
|||||||
category="audio",
|
category="audio",
|
||||||
inputs=[
|
inputs=[
|
||||||
IO.Audio.Input("audio"),
|
IO.Audio.Input("audio"),
|
||||||
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
|
IO.String.Input("filename_prefix", default="audio/ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
|
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
|
||||||
],
|
],
|
||||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||||
|
|||||||
@@ -637,7 +637,7 @@ class SaveGLB(IO.ComfyNode):
|
|||||||
],
|
],
|
||||||
tooltip="Mesh or 3D file to save",
|
tooltip="Mesh or 3D file to save",
|
||||||
),
|
),
|
||||||
IO.String.Input("filename_prefix", default="mesh/ComfyUI"),
|
IO.String.Input("filename_prefix", default="mesh/ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
],
|
],
|
||||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo]
|
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ class SaveAnimatedWEBP(IO.ComfyNode):
|
|||||||
category="image/animation",
|
category="image/animation",
|
||||||
inputs=[
|
inputs=[
|
||||||
IO.Image.Input("images"),
|
IO.Image.Input("images"),
|
||||||
IO.String.Input("filename_prefix", default="ComfyUI"),
|
IO.String.Input("filename_prefix", default="ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
IO.Float.Input("fps", default=6.0, min=0.01, max=1000.0, step=0.01),
|
IO.Float.Input("fps", default=6.0, min=0.01, max=1000.0, step=0.01),
|
||||||
IO.Boolean.Input("lossless", default=True),
|
IO.Boolean.Input("lossless", default=True),
|
||||||
IO.Int.Input("quality", default=80, min=0, max=100),
|
IO.Int.Input("quality", default=80, min=0, max=100),
|
||||||
@@ -227,7 +227,7 @@ class SaveAnimatedPNG(IO.ComfyNode):
|
|||||||
category="image/animation",
|
category="image/animation",
|
||||||
inputs=[
|
inputs=[
|
||||||
IO.Image.Input("images"),
|
IO.Image.Input("images"),
|
||||||
IO.String.Input("filename_prefix", default="ComfyUI"),
|
IO.String.Input("filename_prefix", default="ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
IO.Float.Input("fps", default=6.0, min=0.01, max=1000.0, step=0.01),
|
IO.Float.Input("fps", default=6.0, min=0.01, max=1000.0, step=0.01),
|
||||||
IO.Int.Input("compress_level", default=4, min=0, max=9, advanced=True),
|
IO.Int.Input("compress_level", default=4, min=0, max=9, advanced=True),
|
||||||
],
|
],
|
||||||
@@ -489,7 +489,7 @@ class SaveSVGNode(IO.ComfyNode):
|
|||||||
IO.SVG.Input("svg"),
|
IO.SVG.Input("svg"),
|
||||||
IO.String.Input(
|
IO.String.Input(
|
||||||
"filename_prefix",
|
"filename_prefix",
|
||||||
default="svg/ComfyUI",
|
default="svg/ComfyUI_%year%%month%%day%-%hour%%minute%%second%",
|
||||||
tooltip="The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes.",
|
tooltip="The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes.",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class SaveWEBM(io.ComfyNode):
|
|||||||
is_experimental=True,
|
is_experimental=True,
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Image.Input("images"),
|
io.Image.Input("images"),
|
||||||
io.String.Input("filename_prefix", default="ComfyUI"),
|
io.String.Input("filename_prefix", default="ComfyUI_%year%%month%%day%-%hour%%minute%%second%"),
|
||||||
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("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."),
|
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."),
|
||||||
@@ -77,7 +77,7 @@ class SaveVideo(io.ComfyNode):
|
|||||||
description="Saves the input images to your ComfyUI output directory.",
|
description="Saves the input images to your ComfyUI output directory.",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Video.Input("video", tooltip="The video to save."),
|
io.Video.Input("video", tooltip="The video to save."),
|
||||||
io.String.Input("filename_prefix", default="video/ComfyUI", tooltip="The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."),
|
io.String.Input("filename_prefix", default="video/ComfyUI_%year%%month%%day%-%hour%%minute%%second%", tooltip="The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."),
|
||||||
io.Combo.Input("format", options=Types.VideoContainer.as_input(), default="auto", tooltip="The format to save the video as."),
|
io.Combo.Input("format", options=Types.VideoContainer.as_input(), default="auto", tooltip="The format to save the video as."),
|
||||||
io.Combo.Input("codec", options=Types.VideoCodec.as_input(), default="auto", tooltip="The codec to use for the video."),
|
io.Combo.Input("codec", options=Types.VideoCodec.as_input(), default="auto", tooltip="The codec to use for the video."),
|
||||||
],
|
],
|
||||||
|
|||||||
2
nodes.py
2
nodes.py
@@ -1638,7 +1638,7 @@ class SaveImage:
|
|||||||
return {
|
return {
|
||||||
"required": {
|
"required": {
|
||||||
"images": ("IMAGE", {"tooltip": "The images to save."}),
|
"images": ("IMAGE", {"tooltip": "The images to save."}),
|
||||||
"filename_prefix": ("STRING", {"default": "ComfyUI", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."})
|
"filename_prefix": ("STRING", {"default": "ComfyUI_%year%%month%%day%-%hour%%minute%%second%", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."})
|
||||||
},
|
},
|
||||||
"hidden": {
|
"hidden": {
|
||||||
"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"
|
"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"
|
||||||
|
|||||||
Reference in New Issue
Block a user