Add asset_id and group_id displaying on the node

Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
bigcat88 2026-04-22 14:04:14 +03:00
parent 07a8ffbe51
commit c08eae33cf
No known key found for this signature in database
GPG Key ID: 1F0BF0EC3CF22721

View File

@ -1916,6 +1916,11 @@ class ByteDanceCreateImageAsset(IO.ComfyNode):
name="",
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)
@ -1995,6 +2000,11 @@ class ByteDanceCreateVideoAsset(IO.ComfyNode):
name="",
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)