Seedance 2.0 BytePlus API Key
The two-second node that hands Seedance 2.0 your BytePlus key
- api_key
If you've been staring at the Seedance 2.0 BytePlus nodes wondering where the key goes, this is the answer, and it's a boring one. Seedance2BytePlusApiKey takes one string in and passes one string out. There is no logic here - the whole node is a return (api_key.strip(),). Its job is to be the clean, visible place where your BytePlus ModelArk API key enters the workflow, so the generation nodes don't make you paste a secret into every single one.
Why the node exists at all: the generation nodes in this pack mark their api_key input as forceInput, which hides the text box and turns it into a wire-only socket. This node is that wire. Drop it on the canvas, paste your key, and connect api_key → api_key into whichever Seedance node you're using.
The part that actually matters is where that key comes from. Seedance 2.0 is ByteDance's video model and it has never had open weights - the only door is the API. BytePlus is ByteDance's enterprise cloud arm and ModelArk is its model-service platform; you get a key from the BytePlus console and the pack talks to https://ark.ap-southeast.bytepluses.com/api/v3. That makes this the "bring your own BytePlus key" route, deliberately separate from ComfyUI's official Partner Nodes, which run on Comfy account auth and prepaid credits. If you already hold a BytePlus / ModelArk key - or you just want to skip Comfy's storefront markup - this pack exists for you.
You don't strictly need the node, though. The pack resolves a key in three places, in order: whatever's wired in, then the BYTEPLUS_API_KEY environment variable, then a config.ini file sitting next to __init__.py:
[byteplus]
api_key = your_key_here
config.ini is gitignored on purpose. The README is blunt: don't commit config.ini, workflow files that contain your API key, or logs that include secrets. That's not paranoia. An API node is an HTTP client with a credential baked in, and ComfyUI workflows get shared constantly - one exported JSON with a live key in it and your bill is someone else's hobby. Custom nodes are also arbitrary Python with full OS access on import, so install from the official repo URL and give the code a skim before you paste credentials into it.
The honest catch, same as every Seedance path: it's metered. BytePlus bills per task, and a 1080p video call is where a session gets expensive fast. This node won't save you money - it just keeps the credential where you can actually see it.
Install
Same as any custom node: ComfyUI Manager → search ComfyUI-Seedance2-Direct-BytePlus (or "Seedance 2.0 BytePlus"), or clone it by hand:
cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/aisam1989/ComfyUI-Seedance2-Direct-BytePlus
Restart ComfyUI and search for Seedance 2.0 BytePlus. There are no model downloads and no heavy dependencies - this pack downloads nothing, because it doesn't run a model at all. It calls one. Your GPU can sit this one out.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| api_key | STRING | — |