Extensions/ComfyUI_RunpodNodes
ComfyUI Extension

ComfyUI_RunpodNodes

A comprehensive set of ComfyUI custom nodes for interacting with RunPod's serverless API, including both public endpoints (Flux, Qwen, Seedream, WAN, SORA, etc.) and custom serverless workers.

By tcarwash·Created 8 months ago·Updated 8 months ago· 0
tcarwash/ComfyUI_RunpodNodes
Nodes27
On cloudLocal install
CategoryRunPod/Image, RunPod/Custom Serverless
Stars0
Updated8 months ago

Nodes (27)

RunPod Flux Dev

Flux Dev without the 24GB card — rent the GPU per image

RunPod/Image
RunPod Flux Kontext (Image Edit)

Edit by sentence — no mask, no inpaint, no local GPU

RunPod/Image
RunPod Flux Schnell (Fast)

Flux Schnell in four steps — the prototyping node

RunPod/Image
RunPod ComfyUI Workflow Runner

Run a whole ComfyUI workflow on a RunPod worker

RunPod/Custom Serverless
RunPod SD (Custom Endpoint)

Your own SD 1.5 worker, called like a node

RunPod/Custom Serverless
RunPod SDXL (Custom Endpoint)

Your SDXL worker, driven from the canvas

RunPod/Custom Serverless
RunPod InfiniteTalk (Audio→Video)

A talking avatar from one image and one audio file

RunPod/Video
RunPod Kling v2.1 I2V Pro

Kling v2.1 I2V Pro, called like a ComfyUI node

RunPod/Video
RunPod Minimax TTS

Hosted TTS with emotion sliders — MiniMax Speech 02 HD

RunPod/Audio
RunPod Nano Banana Edit (Google)

Google's Nano Banana edit, two images and one sentence

RunPod/Image
RunPod Qwen Image

Qwen Image's text rendering, without the 20B to carry

RunPod/Image
RunPod Qwen Image Edit

The image editor people actually use, on a per-image bill

RunPod/Image
RunPod Qwen Image LoRA

Qwen Image with LoRAs, and no GPU to host the 20B

RunPod/Image
RunPod Seedance 1.0 Pro

Seedance 1.0 Pro — ByteDance's video, metered per clip

RunPod/Video
RunPod Seedream 3.0

Seedream 3.0's bilingual chops, one node away

RunPod/Image
RunPod Seedream 4.0 Edit

Two images in, one edited result — Seedream 4.0 Edit

RunPod/Image
RunPod Seedream 4.0 T2I

Seedream 4.0 text-to-image, billed per render

RunPod/Image
RunPod SORA 2 I2V

OpenAI's Sora 2, inside your workflow

RunPod/Video
RunPod SORA 2 Pro I2V

Sora 2 Pro — the paid tier, same node shape

RunPod/Video
RunPod Variables Builder

The little node that builds the vars JSON for you

RunPod/Utilities
RunPod WAN 2.1 I2V 720p

The previous generation, still good, and you don't need a GPU for it

RunPod/Video
RunPod WAN 2.1 T2V 720p

Type a prompt, get a clip URL, skip the 14B download

RunPod/Video
RunPod WAN 2.2 I2V 720p

This RunPod node does the heavy lifting server-side

RunPod/Video
RunPod WAN 2.2 I2V 720p LoRA

The high-noise / low-noise split, without running 27B

RunPod/Video
RunPod WAN 2.2 T2V 720p

Prompt in, URL out

RunPod/Video
RunPod WAN 2.5 I2V

Wan 2.5 has no open weights — this node is the only door inside ComfyUI

RunPod/Video
RunPod Whisper V3 (Speech→Text)

Turn a hosted audio URL into a transcript, right inside your ComfyUI graph

RunPod/Audio
Readme

ComfyUI RunPod Nodes

A comprehensive set of ComfyUI custom nodes for interacting with RunPod's serverless API, including both public endpoints (Flux, Qwen, Seedream, WAN, SORA, etc.) and custom serverless workers.

Features

  • 27 Public Endpoint Nodes - Ready-to-use nodes for RunPod's public AI models
  • Custom Serverless Nodes - Connect to your own RunPod workers
  • Image/Video/Audio Support - Generate images, videos, and audio
  • Async Job Handling - Automatic polling with status updates

Installation

  1. Clone this repository into your ComfyUI custom nodes folder:
    cd ComfyUI/custom_nodes
    git clone https://github.com/your-repo/comfyui-runpod.git
    
  2. Restart ComfyUI

Requirements

  • RunPod API key (get one at runpod.io)
  • ComfyUI

Node Categories

RunPod/Image (10 nodes)

| Node | Description | |------|-------------| | Flux Dev | High-quality image generation with exceptional prompt adherence | | Flux Schnell | Fast image generation, ideal for prototyping | | Flux Kontext Dev | Image editing based on text instructions | | Qwen Image | Image generation with advanced text rendering | | Qwen Image LoRA | Image generation with LoRA support | | Qwen Image Edit | Image editing with text rendering capabilities | | Seedream 3.0 | Bilingual image generation (Chinese-English) | | Seedream 4.0 T2I | New-generation text-to-image | | Seedream 4.0 Edit | Advanced image editing (supports multiple input images) | | Nano Banana Edit | Combine multiple images into a scene (supports 2 input images) |

RunPod/Video (11 nodes)

| Node | Description | |------|-------------| | InfiniteTalk | Audio-driven talking/singing video generation | | Kling v2.1 I2V Pro | Professional image-to-video generation | | Seedance 1.0 Pro | High-performance video with multi-shot storytelling | | SORA 2 I2V | OpenAI's Sora 2 video generation | | SORA 2 Pro I2V | OpenAI's Sora 2 Pro (professional grade) | | WAN 2.5 | Image-to-video generation | | WAN 2.2 I2V 720p LoRA | Video generation with LoRA support | | WAN 2.2 I2V 720p | Image-to-video at 720p | | WAN 2.2 T2V 720p | Text-to-video at 720p | | WAN 2.1 I2V 720p | Image-to-video at 720p | | WAN 2.1 T2V 720p | Text-to-video at 720p |

RunPod/Audio (2 nodes)

| Node | Description | |------|-------------| | Whisper V3 Large | Speech-to-text transcription | | Minimax Speech 02 HD | Text-to-speech with emotion control |

RunPod/Custom Serverless (3 nodes)

| Node | Description | |------|-------------| | RunPod SDXL (Custom Endpoint) | Connect to your own SDXL worker | | RunPod SD (Custom Endpoint) | Connect to your own SD 1.5 worker | | RunPod ComfyUI Workflow Runner | Run exported ComfyUI workflows on RunPod workers |

RunPod/Utilities (1 node)

| Node | Description | |------|-------------| | RunPod Variables Builder | Build JSON variable objects for workflow runners |

Usage

Public Endpoints

  1. Add any public endpoint node (e.g., "Flux Dev") to your workflow
  2. Enter your RunPod API key
  3. Configure the parameters (prompt, size, etc.)
  4. Connect to a Preview Image or Save Image node

Example - Flux Dev:

[Flux Dev] → [Preview Image]
     ↑
 api_key: "your-runpod-api-key"
 prompt: "A serene mountain landscape at sunset"
 width: 1024
 height: 1024

Image Editing Nodes

Nodes like Flux Kontext Dev, Qwen Image Edit, Seedream 4.0 Edit, and Nano Banana Edit accept optional image inputs:

  • Single image input: Connect an IMAGE to input_image
  • Multiple images (Nano Banana, Seedream Edit): Connect to input_image_1 and input_image_2

Video Nodes

Video nodes return a URL string. Use a "Load Video from URL" node or download the video:

[WAN 2.5] → [Save Text] or custom video loader
     ↑
 video_url output → "https://..."

⚠️ Video/audio URLs expire after 7 days. Download immediately if you need to keep them.

Custom Serverless Workers

For your own RunPod workers:

  1. Deploy a serverless endpoint on RunPod
  2. Use the appropriate node (SDXL, SD, or ComfyUI Workflow Runner)
  3. Enter your endpoint ID and API key

ComfyUI Workflow Runner:

  1. Export your workflow: Workflow > Export (API)
  2. Paste the JSON into workflow_json
  3. Optionally connect an input image
  4. The node sends the workflow to your worker-comfyui endpoint

API Key

All nodes require a RunPod API key. You can:

  • Enter it directly in each node
  • Create a reusable "Primitive" node with your API key

Get your API key at: https://www.runpod.io/console/user/settings

Pricing

Public endpoints are billed per use. See RunPod's pricing for current rates:

  • Image generation: ~$0.02-0.03 per megapixel
  • Video generation: ~$0.30-1.20 per video
  • Audio: ~$0.05 per 1000 characters

Troubleshooting

Node appears to "hang"

  • Public endpoints can take 30-120 seconds depending on server load
  • Check the ComfyUI console for status updates:
    [RunPod] Submitting job to black-forest-labs-flux-1-dev...
    [RunPod] Job submitted: abc123
    [RunPod] Status: IN_QUEUE (elapsed: 0s)
    [RunPod] Status: IN_PROGRESS (elapsed: 15s)
    [RunPod] Job completed successfully
    

"Job failed" errors

  • Verify your API key is valid
  • Check you have sufficient credits
  • Some endpoints require specific image formats or sizes

Large images fail

  • RunPod has request size limits (10MB for async, 20MB for sync)
  • Use smaller images or URL inputs instead of base64

Links

License

MIT