Nodes/comfyui-beeble-switchx/Beeble Upload Video Test
ComfyUI Node

Beeble Upload Video Test

Pushing a clip up to Beeble's SwitchX API, one step at a time

By albert999-pixel·Created 2 months ago·Updated 2 months ago· 0
Beeble Upload Video Test
  • video
  • beeble_uri
  • debug_json
filename_prefixbeeble_video_upload

Beeble's whole deal is treating video like a VFX asset - the same inverse-rendering lineage as their Switchlight product, which pulls PBR maps and alpha out of footage. Before any of that happens, your clip has to get onto their cloud. That's this node's one job: take a VIDEO from your ComfyUI graph, upload it to Beeble, and return a beeble_uri you can pass to the Start Video Generation Test node.

Like the image upload test node, it's the "check this step in isolation" tool. The production Beeble SwitchX Video node does upload → generate → poll → download in one shot, so you only reach for this when you want to see the upload alone - to verify a clip actually landed, or to confirm the upload isn't the thing breaking your workflow.

How it works

  • The VIDEO input is saved to a temp .mp4 file via the video object's save_to() method, then POST /v1/uploads gets a presigned URL, and the file is PUT there with the correct content type. Transient network and SSL errors retry twice.

Two things stand out if you read the code:

  1. This node needs ComfyUI's video input support. It imports VideoFromFile from comfy_api, and if that isn't available the whole node errors. If the node never appears in your node list, that's why - your ComfyUI build is older than video inputs.
  2. Unlike the image version, the whole clip goes up, not just one frame. There's no "first item only" shortcut for video.

Inputs and outputs

  • video (VIDEO) - required. The clip to upload.
  • filename_prefix (STRING, default beeble_video_upload) - names the temp file; cosmetic.
  • beeble_uri (STRING) - the output that matters. Feed it to the Start Video node's source_uri.
  • debug_json (STRING) - file path, upload id, and URI for verification.

Installing

cd ComfyUI/custom_nodes
git clone https://github.com/albert999-pixel/comfyui-beeble-switchx.git

Or search Beeble in ComfyUI Manager, then restart and set BEEBLE_API_KEY (.env in the node folder, an env var, or ComfyUI Desktop's env-variables panel). No extra dependencies - the pack's requirements.txt is empty and there are no model downloads, because the heavy lifting happens on Beeble's servers.

Common issues

  • 401 / key error - validate with the Account Info Test node before blaming the upload.
  • Video input node missing - your ComfyUI predates VIDEO type support; update ComfyUI.
  • Network error after two retries - presigned uploads don't like proxies that rewrite URLs. Check debug_json for the file path and confirm the file isn't enormous, since you're pushing the whole clip over the wire.
CategoryBeeble/SwitchX/Test

Inputs (2)

NameTypeDefaultDescription
videoVIDEO
filename_prefixSTRINGbeeble_video_upload

Outputs (2)

NameTypeDescription
beeble_uriSTRING
debug_jsonSTRING