Ir para o conteúdo
Node packVerificadoExterno
Fonte aberta

comfyui-seedance-nodes

Mantenedor@theclueless-aiC · adoptionnota

Perfil do pacote

Status
Verificado
Publicador
@theclueless-ai
Fonte
GitHub

README

comfyui-seedance-nodes

ComfyUI custom nodes for BytePlus / ByteDance Seedance 2 video-generation API.


Nodes

NodeCategoryDescription
Seedance – Text to VideoSeedance/Video GenerationGenerate a video from a text prompt only.
Seedance – Image to Video (First Frame)Seedance/Video GenerationAnimate an image forward using a text description. The image becomes the first frame.
Seedance – Image to Video (First + Last Frame)Seedance/Video GenerationInterpolate motion between two images. Supply the start and end frames; the model fills in the middle.
Seedance – Image to Video (Reference)Seedance/Video GenerationUse one to three reference images to guide the visual style/subject of the video (no frame-position locking).

All nodes output four values:

OutputTypeDescription
videoVIDEO (STRING fallback)Native ComfyUI VIDEO object — connect directly to Save Video or any video preview node. Falls back to the file path STRING on older ComfyUI builds.
last_frameIMAGEThe final frame of the generated video as a ComfyUI IMAGE tensor. Connect to the next node's first_frame input to chain clips seamlessly.
video_urlSTRINGCDN URL returned by the API (valid for 48 hours).
video_pathSTRINGLocal path where the .mp4 was saved (inside ComfyUI's output directory).

Installation

1. Clone into custom_nodes

cd ComfyUI/custom_nodes
git clone https://github.com/YOUR_USERNAME/comfyui-seedance-nodes.git

2. Install dependencies

pip install -r ComfyUI/custom_nodes/comfyui-seedance-nodes/requirements.txt

Note: opencv-python is required to extract the last frame from generated videos. It is included in requirements.txt.

3. Configure your API key

Option A – environment variable (recommended):

export ARK_API_KEY="your-api-key-here"

Option B – paste the key directly into the api_key field in any node inside ComfyUI.

Get your key at: https://console.byteplus.com/ark/region:ark+ap-southeast-1/apikey

4. Restart ComfyUI

The nodes will appear under the Seedance / Video Generation category in the node browser.


Node reference

Common inputs (all nodes)

InputTypeDescription
api_keySTRINGBytePlus ARK API key. If empty, falls back to the ARK_API_KEY environment variable.
modelCOMBOModel ID to use. Currently dreamina-seedance-2-0-260128.
ratioCOMBOOutput aspect ratio: 16:9, 9:16, 1:1, 4:3, 3:4, adaptive.
durationCOMBOVideo length in seconds (5 or 10).
generate_audioBOOLEANWhether the model generates ambient audio.
watermarkBOOLEANWhether to add a BytePlus watermark.
poll_intervalINTSeconds between status-check calls (default 10).
max_waitINTMaximum total wait time in seconds (default 600).

Text to Video – extra inputs

InputDescription
promptThe text description of the video.

Image to Video (First Frame) – extra inputs

InputDescription
first_frameComfyUI IMAGE tensor used as the first frame.
promptDescribes how the image should be animated.
image_url_overrideOptional: paste an HTTP URL to use instead of the IMAGE input.

Image to Video (First + Last Frame) – extra inputs

InputDescription
first_frameIMAGE tensor – first frame.
last_frameIMAGE tensor – last frame.
promptDescribes the motion between the two frames.
first_frame_url / last_frame_urlOptional HTTP URL overrides.

Image to Video (Reference) – extra inputs

InputDescription
reference_image_1Primary reference IMAGE tensor (requi

Nós neste pacote

Nós 6
  • SeedanceI2VFirstFrame
  • SeedanceI2VFirstLastFrame
  • SeedanceI2VReference
  • SeedanceTextToVideo
  • SeedanceVideoGenerator
  • SeedreamImageGenerator

Fontes

3 fontes
GitHubFonteVersão c67f45524921d033e4a12d1360f7ed9bd99ee896
github.com/theclueless-ai/comfyui-seedance-nodes

Verificado 23 de out.

Trechos de fonte

1 trecho

Source context: Repo theclueless-ai/comfyui-seedance-nodes