[Partner Nodes] fix Quiver nodes (#13851)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
parent
0155ddcbe3
commit
c9589f29b2
|
|
@ -143,7 +143,7 @@ class QuiverTextToSVGNode(IO.ComfyNode):
|
|||
if reference_images:
|
||||
references = []
|
||||
for key in reference_images:
|
||||
url = await upload_image_to_comfyapi(cls, reference_images[key])
|
||||
url = await upload_image_to_comfyapi(cls, reference_images[key], mime_type="image/png")
|
||||
references.append(QuiverImageObject(url=url))
|
||||
if len(references) > 4:
|
||||
raise ValueError("Maximum 4 reference images are allowed.")
|
||||
|
|
@ -252,7 +252,7 @@ class QuiverImageToSVGNode(IO.ComfyNode):
|
|||
model: dict,
|
||||
seed: int,
|
||||
) -> IO.NodeOutput:
|
||||
image_url = await upload_image_to_comfyapi(cls, image)
|
||||
image_url = await upload_image_to_comfyapi(cls, image, mime_type="image/png")
|
||||
|
||||
response = await sync_op(
|
||||
cls,
|
||||
|
|
|
|||
Loading…
Reference in New Issue