Batch for ComfyUI.
Inside your graph.
Send a clip from your graph to Batch and get back ProRes mattes, a depth pass or a 2x or 4x upscale. You see the quote before anything runs.
You don't need a big GPU for this. You do need a Batch account: jobs use the same credits as Batch Portal.

One Batch workspace and one pool of credits across Portal, the API and ComfyUI.
Batch Roto V3.2, Batch Depth V3 and Batch Upres. ComfyUI jobs show up in Portal with everything else.
Set max_credits on the node (100 by default). If the quote comes in higher, nothing gets submitted.
One node does all three.
Install the nodes.
Before you start, you need a Batch account. Download Batch Portal and create your account, then connect it below. The nodes work in ComfyUI 0.3.45 or newer on macOS, Windows and Linux: Comfy Desktop, the portable build or a manual install.
Open ComfyUI Manager
In ComfyUI, open Manager, Custom Nodes Manager.
Search Batch and install
Install Batch: Roto, Depth & Upscale by batchfilm. Always take the latest release; Manager's nightly option isn't supported for this node.
Restart ComfyUI
Four nodes appear in the Batch category of the node library, and Settings gets a Batch section.
From a terminal
Then restart ComfyUI. If ComfyUI Manager isn't on that machine, download the package zip from the node's Registry page and follow its README.
Add your Batch key.
Make a key in Batch Portal
A workspace admin opens Integrations, API keys, Create key from the account menu at the top right of Batch Portal (in Portal 1.1.6 and earlier, API keys sit under Settings). Name it after the machine or artist that will use it, like "ComfyUI Edit Bay 2", and pick the ComfyUI preset: Read pricing, Submit jobs, Write artifacts, Read jobs and Read artifacts. Add Read billing to see your balance inside ComfyUI.
Copy the key now; Portal won't show it again. ComfyUI on Linux? Make the key in Portal on a Mac or Windows machine, then use it on Linux. Download Batch Portal if you don't have it yet.
Save it in ComfyUI
Open Settings, Batch, Connection, Set up Batch, paste the key and choose Save key.
The node checks the key with a read call that uses no credits, then keeps it in macOS Keychain, Windows Credential Manager or the Linux Secret Service. It is never written into a workflow. The dialog shows the workspace and the key it's connected to, so you can match the key prefix against the list in Portal.
On a server, in Docker or over a tunnel
Set up Batch works in a browser on the machine that runs ComfyUI. Everywhere else, set BATCH_API_KEY in the environment that starts ComfyUI, without typing the key on the command line:
python main.py
On a server that stays up, load BATCH_API_KEY from a file no other user can read, or from your secrets manager. A key in BATCH_API_KEY wins over a saved key.
The nodes, and graphs to start from.
Open Browse Templates and look under batch-film-nodes. Opening a template never submits anything.
Set a ceiling, then run it.
Open a Batch template and pick your clip in Load Video.
On Batch Process Video, choose the service. The node hides the controls that service doesn't use.
Set max_credits to the most you'll approve for this job.
Run the workflow. Before it submits, the node shows the account it charges, the key prefix, the quote and, with Read billing, your balance. If the quote is above max_credits, nothing is submitted and the node tells you the ceiling you'd need.
Depth processes the whole picture and has no extra controls. While it runs, the node shows each step, and the ComfyUI console shows the same lines starting with [Batch]: uploading, checking the upload, queued, processing, complete, downloading.
Where the files land.
Results are ProRes movies, saved in ComfyUI's output folder under Batch/<job ID>/, for example ComfyUI/output/Batch/<job ID>/. Set BATCH_COMFY_OUTPUT_DIR to save them somewhere else.
Batch Result Video passes one movie on. For roto, index 0 is the combined matte. Batch Result Files gives you the path of every file. A Save Video preview is a copy; keep the originals for finishing. Need a matte as a mask? Batch Result Video, then Get Video Components, then Convert Image to Mask on the red channel.
Paying for a job.
Same credits as Batch Portal, same rates.
If ComfyUI goes down during a job.
Limits per job and per key.
For higher key limits, write to support@batch.film.
Keep the key safe
What the messages mean.
Every message says whether a job was created and whether credits were used. Match the start of the message:
"Connect Batch in Settings > Batch > Connection, or set BATCH_API_KEY"
No key yet. See Connect above.
"Batch did not accept this API key"
The key is mistyped, revoked or expired. Make a new key and save it.
"This Batch API key is missing permissions the node needs"
Make a new key with the ComfyUI preset, save it, then revoke the old one.
"Batch API access is turned off"
Every workspace has API access, so this means the account isn't active or Batch paused its API access. A new key won't help. Write to support@batch.film.
"Your Batch account does not have enough credits for this job"
Add credits in Batch Portal under Credits and billing, then run again.
"Batch quoted ... more than this node's max_credits limit"
Raise max_credits to at least the quote shown, or use a shorter clip.
"This API key has reached its daily Batch credit cap"
Wait until 00:00 UTC, or write to support@batch.film.
"Batch roto prompts are single words separated by commas"
Rewrite the prompts: car, not red car.
"Batch upscale makes results up to 4096 pixels on the long edge"
Choose 2x, or resize the video before you run it.
"Batch could not inspect the video"
Install FFmpeg, or set BATCH_COMFY_FFPROBE to the full path of ffprobe, then restart ComfyUI.
"No Linux Secret Service is available"
Use BATCH_API_KEY instead (see Connect).
"[Batch] Another copy of the Batch nodes" in the ComfyUI console
An older copy is still in custom_nodes. Delete the folder the message names and restart ComfyUI.
ComfyUI Manager: "Installation of this flagged CNR version is blocked"
If ComfyUI Manager flags or blocks this version, don't install it another way. Read the warning, then write to support@batch.film with the version number and we'll confirm whether it's a genuine Batch release and what to do.
When you write to support@batch.film, include the job ID and the lines starting with [Batch] from the ComfyUI console. Never send your key. The README on the node page lists every message.
Try it on
a single clip.
You'll need a key from Batch Portal and credits in your workspace. For a studio wide setup, write to lets@batch.film.
ComfyUI is the property of its owner. Batch is not affiliated with or endorsed by ComfyUI. Installing the nodes means you agree to the Batch Terms of Service, Privacy Policy and EULA.