ComfyUI Extension: ComfyUI Upload to BASE Node
A custom ComfyUI node that lets you upload generated images directly to your a/BASE account ā no manual downloads or re-uploads needed.
Custom Nodes (0)
README
ComfyUI Upload to BASE Node
A custom ComfyUI node that lets you upload generated media directly to your BASE account ā no manual downloads or re-uploads needed.
š Features
- Upload static images or MP4 videos from a ComfyUI workflow to your BASE account
- Supports direct upload of browser-compatible MP4 video files
- Optionally specify a folder ID to organize uploads
- Secure uploads via personal API key
- Streamlines creative workflow between ComfyUI and BASE
š§© Installation
-
Clone this repo into your ComfyUI
custom_nodes/
directory:cd ComfyUI/custom_nodes/ git clone https://github.com/babe-and-spencer-enterprises/base-comfyui-node.git
-
Restart ComfyUI.
-
The node will appear under the BASE category in the node menu as
Upload to BASE
.
š Generate Your API Key
- Log in at go.getbase.app
- Go to Settings ā Integrations
- Click Generate API Key
- Copy and paste this key into the
api_key
input of the node in ComfyUI
This key securely links your uploads to your BASE account.
š ļø Node Inputs
| Input | Description |
|-------------|--------------------------------------------------------------------------------------------------------------------------|
| image
| (Optional) A single image to upload (connect from a VAEDecode
node). Ignored if video
is provided. |
| video
| (Optional) A video file to upload as browser-compatible MP4. Takes precedence over image
. |
| api_key
| Your personal BASE API key (see above). |
| folder_id
| (Optional) The ID of a folder in your BASE account to store the image/video under. Right-click a folder in BASE to copy its ID. |
At least one of image
or video
must be provided.
š¦ Node Behavior
This is an output node in ComfyUI. It performs an upload as a side effect and does not return any value to the graph.
- If
video
is provided, the node uploads a browser-compatible MP4 video to your BASE account. - Otherwise, a static PNG image is uploaded.
š” Example Workflow
Place this node at the end of your workflow as an output node. Example use cases:
- Static image upload: Connect a single image (e.g., from
VAEDecode
) toimage
input to upload a PNG. - Video upload: Connect a video file to the
video
input to upload it as an MP4.
Provide your BASE API key and (optionally) a folder ID. The node will upload the file to your BASE account as a side effect; it does not return any value to the graph.
š Repository Structure
base-comfyui-node/
āāā base_upload_node.py # The custom node logic
āāā __init__.py # Node registration
āāā README.md # This file
āāā LICENSE # MIT License
āāā .gitignore # Python-specific ignores
š¤ License
This project is licensed under the MIT License. Use freely with attribution.