Nodes/ComfyUI-DiscordSend/Discord Send & Save Video 🎬
ComfyUI Node

Discord Send & Save Video 🎬

Saves image sequences as videos with advanced options and can send them to Discord via webhook integration.

By AEmotionStudioΒ·Created about a year agoΒ·Updated 3 months agoΒ· 13
Discord Send & Save Video 🎬
  • images
  • audio
  • video_path
β—„filename_prefixComfyUI-Videoβ–Ί
β—„overwrite_lastfalseβ–Ί
β—„formatvideo/h264-mp4β–Ί
β—„frame_rate8.0β–Ί
β—„quality85β–Ί
β—„loop_count0β–Ί
β—„losslessfalseβ–Ί
β—„pingpongfalseβ–Ί
β—„save_outputtrueβ–Ί
β—„include_video_infotrueβ–Ί
β—„add_datetrueβ–Ί
β—„add_timetrueβ–Ί
β—„add_dimensionsfalseβ–Ί
β—„send_to_discordfalseβ–Ί
β—„webhook_urlβ–Ί
β—„discord_messageβ–Ί
β—„include_prompts_in_messagefalseβ–Ί
β—„send_workflow_jsonfalseβ–Ί
β—„save_cdn_urlsfalseβ–Ί
β—„github_cdn_updatefalseβ–Ί
β—„github_repoβ–Ί
β—„github_tokenβ–Ί
β—„github_file_pathcdn_urls.mdβ–Ί
Categoryvideo/output

Inputs (25)

NameTypeDefaultDescription
imagesIMAGEThe image sequence to save as video and/or send to Discord.
filename_prefixSTRINGComfyUI-VideoThe prefix for the saved files.
overwrite_lastBOOLEANfalse⚠️ CAUTION: If enabled, new saves will REPLACE the previous file with the same name. Useful for iterative testing, dangerous for batch production. Note: Disabling 'add_time' to overwrite files will cause single-frame playback issues on Discord.
formatoptCOMBOvideo/h264-mp4The video format to save in. Options include: # Image formats: - image/gif: Standard GIF format (NO AUDIO support) - image/webp: WebP format (better quality than GIF, NO AUDIO support) - video/gif: Video format GIF (higher frame rate support, NO AUDIO support) # Standard video formats: - video/mp4: Standard MP4 format with good compatibility (supports audio) - video/h264-mp4: High-quality MP4 with H264 codec (supports audio) - video/h265-mp4: MP4 with H265/HEVC codec (better compression, supports audio) - video/webm: Standard WebM format (supports audio) - video/vp9-webm: WebM with VP9 codec (higher quality, supports audio) # Professional formats: - video/prores: Apple ProRes (professional quality, supports audio when saving locally but NO AUDIO when sending to Discord, requires QuickTime or specialized player to view on Windows)
frame_rateoptFLOAT8.00.1–120Frames per second for the output video. Values below 1 will make each image stay on screen longer (e.g., 0.5 = 2 seconds per frame).
qualityoptINT851–100Quality setting for video compression (1-100). Higher is better quality but larger file size.
loop_countoptINT00–100Number of times to loop the video (0 = infinite loop, only applies to GIF format).
losslessoptBOOLEANfalseIf enabled, will use lossless compression for supported formats. This option may be ignored for formats that don't support lossless encoding.
pingpongoptBOOLEANfalseIf enabled, video will play forward then backward (ping-pong effect).
save_outputoptBOOLEANtrueWhether to save videos to disk. When disabled, videos will only be previewed in the UI.
audiooptAUDIOOptional audio to embed in the video.
include_video_infooptBOOLEANtrueWhether to include the video information (frame rate, format) in the Discord message. πŸ’‘ TIP: Disable this instead of 'add_time' if you want cleaner filenames but need to avoid the Discord single-frame bug.
add_dateoptBOOLEANtrueAdd date (YYYY-MM-DD) to the filename.
add_timeoptBOOLEANtrueAdd time (HH-MM-SS) to the filename. ⚠️ CRITICAL: Keep enabled for Discord videos to prevent single-frame playback issues!
add_dimensionsoptBOOLEANfalseAdd dimensions (WxH) to the filename.
send_to_discordoptBOOLEANfalseIf enabled, will send the media to Discord via webhook.
webhook_urloptSTRINGDiscord webhook URL. Get this from Discord server settings > Integrations > Webhooks.
discord_messageoptSTRINGMessage to include with the media when sending to Discord.
include_prompts_in_messageoptBOOLEANfalseIf enabled, will include the generation prompts in the Discord message.
send_workflow_jsonoptBOOLEANfalseIf enabled, will send the workflow JSON alongside the media.
save_cdn_urlsoptBOOLEANfalseIf enabled, will extract and save Discord CDN URLs.
github_cdn_updateoptBOOLEANfalseIf enabled, will update a GitHub repository with the CDN URLs.
github_repooptSTRINGGitHub repository in format 'username/repo'.
github_tokenoptSTRINGGitHub Personal Access Token (PAT). Generate at: Settings > Developer settings > Tokens. ⚠️ Requires 'repo' scope (or 'public_repo') to upload files.
github_file_pathoptSTRINGcdn_urls.mdPath to the file in the GitHub repository to update.

Outputs (1)

NameTypeDescription
video_pathSTRINGβ€”