release v2.0.2

This commit is contained in:
Félix Sanz
2026-07-09 18:59:14 +02:00
parent cf29d5b85d
commit f9ff8ccc10
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "ComfyUI-Runware"
version = "2.0.1"
version = "2.0.2"
description = "Every Runware model as a ComfyUI node: image, video, audio, 3D, and text generation in the cloud."
license = "MIT"
requires-python = ">=3.11"
+1 -1
View File
@@ -1,3 +1,3 @@
runware-sdk>=1.5.0
runware-sdk>=1.6.5
pillow
soundfile
+3 -3
View File
@@ -598,9 +598,9 @@ async def run_upload(image_uri: str) -> str:
if not api_key:
raise RuntimeError("No Runware API key. Set RUNWARE_API_KEY or run `runware auth login`.")
async with Runware(api_key=api_key, transport="rest", user_agent_prefix=USER_AGENT_PREFIX) as client:
for r in await client.image_upload({"image": image_uri}):
if isinstance(r, dict) and r.get("imageUUID"):
return str(r["imageUUID"])
for r in await client.media_storage({"operation": "upload", "media": image_uri}):
if isinstance(r, dict) and r.get("mediaUUID"):
return str(r["mediaUUID"])
return ""