mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-25 18:02:37 +08:00
Add asset_id and group_id displaying on the node
Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
parent
07a8ffbe51
commit
c08eae33cf
@ -1916,6 +1916,11 @@ class ByteDanceCreateImageAsset(IO.ComfyNode):
|
|||||||
name="",
|
name="",
|
||||||
asset_type="Image",
|
asset_type="Image",
|
||||||
)
|
)
|
||||||
|
PromptServer.instance.send_progress_text(
|
||||||
|
f"Please save the asset_id and group_id for reuse.\n\nasset_id: {asset_id}\n\n"
|
||||||
|
f"group_id: {resolved_group}",
|
||||||
|
cls.hidden.unique_id,
|
||||||
|
)
|
||||||
return IO.NodeOutput(asset_id, resolved_group)
|
return IO.NodeOutput(asset_id, resolved_group)
|
||||||
|
|
||||||
|
|
||||||
@ -1995,6 +2000,11 @@ class ByteDanceCreateVideoAsset(IO.ComfyNode):
|
|||||||
name="",
|
name="",
|
||||||
asset_type="Video",
|
asset_type="Video",
|
||||||
)
|
)
|
||||||
|
PromptServer.instance.send_progress_text(
|
||||||
|
f"Please save the asset_id and group_id for reuse.\n\nasset_id: {asset_id}\n\n"
|
||||||
|
f"group_id: {resolved_group}",
|
||||||
|
cls.hidden.unique_id,
|
||||||
|
)
|
||||||
return IO.NodeOutput(asset_id, resolved_group)
|
return IO.NodeOutput(asset_id, resolved_group)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user