Skip to content

Conversation

@bigcat88
Copy link
Contributor

@bigcat88 bigcat88 commented Jan 20, 2026

PR adds a new upload_image_to_comfyapi() function that simplifies the common single-image upload pattern in API nodes.

Before:

url = (await upload_images_to_comfyapi(cls, image, max_images=1))[0]

After:

url = await upload_image_to_comfyapi(cls, image)

This mirrors the existing upload_video_to_comfyapi and upload_audio_to_comfyapi helpers which also return a single URL string.

API Node PR Checklist

Scope

  • Is API Node Change

Pricing & Billing

  • Need pricing update
  • No pricing update

If Need pricing update:

  • Metronome rate cards updated
  • Auto‑billing tests updated and passing

QA

  • QA done
  • QA not required

Comms

  • Informed Kosinkadink

@bigcat88 bigcat88 force-pushed the upload-single-image-helper branch from 4be9bb1 to 36747f2 Compare January 20, 2026 09:16
@bigcat88 bigcat88 added the Core Core team dependency label Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Core team dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants