diff --git a/apps/website/src/components/workshop/WorkshopModelsGrid.vue b/apps/website/src/components/workshop/WorkshopModelsGrid.vue
index 091758e096d..2239ce44e14 100644
--- a/apps/website/src/components/workshop/WorkshopModelsGrid.vue
+++ b/apps/website/src/components/workshop/WorkshopModelsGrid.vue
@@ -112,15 +112,16 @@ function clearFilters() {
{{ visible.length }} {{ t('workshop.count.models', locale) }}
-
1.0 faster.",
+ "kind": "number",
+ "min": 0.7,
+ "max": 1.3,
+ "step": 0.01,
+ "default": 1
+ },
+ {
+ "name": "similarity_boost",
+ "label": "Similarity boost",
+ "hint": "Similarity boost. Higher values make the voice more similar to the original.",
+ "kind": "number",
+ "min": 0,
+ "max": 1,
+ "step": 0.01,
+ "default": 0.75
+ },
+ {
+ "name": "use_speaker_boost",
+ "label": "Use speaker boost",
+ "hint": "Boost similarity to the original speaker voice.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "style",
+ "label": "Style",
+ "kind": "number",
+ "min": 0,
+ "max": 0.2,
+ "step": 0.01,
+ "default": 0
+ },
+ {
+ "name": "language_code",
+ "label": "Language code",
+ "kind": "text",
+ "multiline": false,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed for reproducibility (determinism not guaranteed).",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 1
+ },
+ {
+ "name": "output_format",
+ "label": "Output format",
+ "hint": "Audio output format.",
+ "kind": "select",
+ "options": ["mp3_44100_192", "opus_48000_192"],
+ "default": "mp3_44100_192"
+ }
+ ],
+ "defaults": {
+ "text": "Now, you can generate voice using the ElevenLabs Text - to - Speech node. You can also use your own voice to create a clone.",
+ "stability": 0.5,
+ "apply_text_normalization": "auto",
+ "model": "eleven_multilingual_v2",
+ "speed": 1,
+ "similarity_boost": 0.75,
+ "use_speaker_boost": false,
+ "style": 0,
+ "language_code": "",
+ "seed": 1
+ },
+ "examples": [
+ {
+ "name": "api_elevenlabs_text_to_speech",
+ "title": "ElevenLabs: Text to Speech",
+ "description": "Input text to generate speech with ultra-realistic voices, or upload a voice sample to clone it for synthesis.",
+ "tags": ["Text to Speech", "Audio", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_elevenlabs_text_to_speech-1.webp",
+ "values": {
+ "text": "Now, you can generate voice using the ElevenLabs Text - to - Speech node. You can also use your own voice to create a clone.",
+ "stability": 0.5,
+ "apply_text_normalization": "auto",
+ "model": "eleven_multilingual_v2",
+ "speed": 1,
+ "similarity_boost": 0.75,
+ "use_speaker_boost": false,
+ "style": 0,
+ "language_code": "",
+ "seed": 1
+ }
+ },
+ {
+ "name": "api_elevenlabs_text_to_dialogue",
+ "title": "ElevenLabs: Text to Dialogue",
+ "description": "Input text and select a voice profile to generate a high-quality, emotionally expressive audio dialogue.",
+ "tags": ["API", "Text to Speech"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_elevenlabs_text_to_dialogue-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_elevenlabs_speech_to_speech",
+ "title": "ElevenLabs: Speech to Speech",
+ "description": "Upload a source audio file to apply a new voice tone or clone a different voice, generating a modified audio output.",
+ "tags": ["Voice Cloning", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_elevenlabs_speech_to_speech-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "flux": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_flux_erase_image-1.webp",
+ "provider": "BFL",
+ "modality": "image",
+ "node": {
+ "id": "FluxEraseNode",
+ "displayName": "Flux Erase Image",
+ "template": "api_flux_erase_image"
+ },
+ "fields": [
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "dilate_pixels",
+ "label": "Dilate pixels",
+ "hint": "Expands the mask boundaries to ensure clean coverage of the object's edges.",
+ "kind": "number",
+ "min": 0,
+ "max": 25,
+ "step": 1,
+ "default": 10
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "The random seed used for creating the noise.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "dilate_pixels": 10
+ },
+ "examples": [
+ {
+ "name": "api_flux_erase_image",
+ "title": "Object Removal: Flux",
+ "description": "Upload an image and paint a mask over the object to remove. The workflow erases the masked area and reconstructs the background.",
+ "tags": ["API", "Inpainting"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_flux_erase_image-1.webp",
+ "values": {
+ "dilate_pixels": 10
+ }
+ },
+ {
+ "name": "api_flux_vto",
+ "title": "Virtual Try-On: Flux",
+ "description": "Upload a person photo and a garment image. Generate a virtual try-on result with the garment applied to the person while preserving face and pose.",
+ "tags": ["API", "Virtual Try-On"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_flux_vto-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "flux-2-api": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_flux2-1.webp",
+ "fields": [],
+ "defaults": {},
+ "examples": [
+ {
+ "name": "api_flux2",
+ "title": "Flux.2 Pro",
+ "description": "Generate up to 4MP photorealistic images with multi-reference consistency and professional text rendering.",
+ "tags": ["Image Edit", "Image", "API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_flux2-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "flux-api": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bfl_flux3_t2v-1.webp",
+ "provider": "BFL",
+ "modality": "video",
+ "node": {
+ "id": "Flux3TextToVideoNode",
+ "displayName": "Flux 3 Text to Video",
+ "template": "api_bfl_flux3_t2v"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ }
+ ],
+ "defaults": {
+ "prompt": "1980s detective show - Snake Detective - a giant snake in a trenchcoat running around solving mysteries"
+ },
+ "examples": [
+ {
+ "name": "api_bfl_flux3_t2v",
+ "title": "FLUX 3 Video: Text to Video",
+ "description": "Generate full videos from a single text prompt with Flux.3, which expands natural language into complete scenes with synchronized audio, no reference images or complex settings needed. Outputs 1 video in 720p at 24fps, 5 to 20 seconds long, supporting any aspect ratio from 9:16 to 21:9 with built-in sound design. Ideal for quick social media clips, ad mockups, and concept films requiring realistic motion and cinematic style.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bfl_flux3_t2v-1.webp",
+ "values": {
+ "prompt": "1980s detective show - Snake Detective - a giant snake in a trenchcoat running around solving mysteries"
+ }
+ },
+ {
+ "name": "api_bfl_flux3_i2v",
+ "title": "FLUX 3 Video: Image to Video",
+ "description": "Generate full videos from a single text prompt using FLUX 3, which automatically expands your description into a cohesive scene with synchronized audio, motion, and physics. Outputs one 720p, 24fps MP4 video (5-20 seconds) with support for multi-shot structures and aspect ratios from 9:16 to 21:9. Ideal for product photography, filmic ad campaigns, and dynamic motion graphics.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bfl_flux3_i2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_bfl_flux2_max_sofa_swap",
+ "title": "FLUX.2 [max]: Object Swap",
+ "description": "Replace objects in images with unmatched quality using FLUX.2 [max]. Perfect for product photography, furniture swaps, and maintaining scene consistency with highest editing precision.",
+ "tags": ["API", "Image", "Image Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bfl_flux2_max_sofa_swap-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "gemini-image": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_google_gemini_omni_flash_1_1_t2v-1.webp",
+ "provider": "Gemini",
+ "modality": "video",
+ "node": {
+ "id": "GeminiVideoOmniV2",
+ "displayName": "Google Gemini Omni (Video)",
+ "template": "api_google_gemini_omni_flash_1_1_t2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "The Gemini video model used to generate the video.",
+ "kind": "select",
+ "options": ["Omni Flash 1.1", "Omni Flash"],
+ "default": "Omni Flash 1.1"
+ }
+ ],
+ "defaults": {
+ "model": "Omni Flash 1.1"
+ },
+ "examples": [
+ {
+ "name": "api_google_gemini_omni_flash_1_1_t2v",
+ "title": "Gemini Omni 1.1 Flash: Text to Video",
+ "description": "Generate cinematic videos with audio from text prompts or reference images using Gemini Omni 1.1 Flash, supporting aspect ratio, resolution, and keyframe interpolation controls. Ideal for text-to-video storytelling, animating product shots or illustrations, and iterative conversational video editing.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_google_gemini_omni_flash_1_1_t2v-1.webp",
+ "values": {
+ "model": "Omni Flash 1.1"
+ }
+ },
+ {
+ "name": "api_google_gemini_omni_flash_1_1_i2v",
+ "title": "Gemini Omni 1.1 Flash: Image to Video",
+ "description": "Generate videos from text prompts or reference images using Gemini Omni 1.1 Flash, a multimodal model that handles text-to-video, image-to-video, keyframe interpolation, and iterative video editing with natural language. Outputs a single MP4 video with optional audio, supporting aspect ratios, resolutions up to 4K, and scene extension. Ideal for cinematic storytelling, product visualization, and rapid video prototyping.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_google_gemini_omni_flash_1_1_i2v-1.webp",
+ "values": {
+ "model": "Omni Flash 1.1"
+ }
+ },
+ {
+ "name": "api_google_gemini_omni_flash_1_1_edit",
+ "title": "Gemini Omni 1.1 Flash: Video Edit",
+ "description": "Edit videos through natural language conversation with Gemini Omni 1.1 Flash. Upload a clip (10 seconds or less) and describe the change: swap backgrounds, restyle scenes, add or remove elements, and the model applies the edit while preserving everything you did not mention. Add \\\"Keep everything else the same\\\" for maximum consistency; simple prompts work best. Outputs video with native audio at 16:9 or 9:16, with 1080p/4K output available. Ideal for remixes, style changes, and iterative refinement without re-generating from scratch.",
+ "tags": ["API", "Video Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_google_gemini_omni_flash_1_1_edit-1.webp",
+ "values": {
+ "model": "Omni Flash 1.1"
+ }
+ }
+ ]
+ },
+ "grok-imagine": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_video-1.webp",
+ "provider": "Grok",
+ "modality": "video",
+ "node": {
+ "id": "GrokVideoNode",
+ "displayName": "Grok Video",
+ "template": "api_grok_video"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "The model to use for video generation.",
+ "kind": "select",
+ "options": ["grok-imagine-video", "grok-imagine-video-1.5"],
+ "default": "grok-imagine-video"
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "hint": "The resolution of the output video. 1080p is only available for grok-imagine-video-1.5.",
+ "kind": "select",
+ "options": ["480p", "720p", "1080p"],
+ "default": "480p"
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "hint": "The aspect ratio of the output video.",
+ "kind": "select",
+ "options": ["auto", "16:9", "4:3", "3:2", "1:1", "2:3", "3:4", "9:16"],
+ "default": "auto"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "hint": "The duration of the output video in seconds.",
+ "kind": "number",
+ "min": 1,
+ "max": 15,
+ "step": 1,
+ "default": 6
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "hint": "Optional starting image. If omitted, the video is generated from the text prompt alone.",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ }
+ ],
+ "defaults": {
+ "model": "grok-imagine-video",
+ "prompt": "Cinematic dolly in on a white sci-fi mech suit against a dark background. The detailed helmet armor mechanically unfolds and retracts, revealing a human face inside. High resolution, intricate mechanical movements, photorealistic.",
+ "resolution": "720p",
+ "aspect_ratio": "auto",
+ "duration": 6,
+ "seed": 999999
+ },
+ "examples": [
+ {
+ "name": "api_grok_video",
+ "title": "Grok: Video generation",
+ "description": "Input text prompts or an initial image frame to generate up to 15-second videos with synchronized audio using the Grok model.",
+ "tags": ["Video", "Image to Video", "Text to Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_video-1.webp",
+ "values": {
+ "model": "grok-imagine-video",
+ "prompt": "Cinematic dolly in on a white sci-fi mech suit against a dark background. The detailed helmet armor mechanically unfolds and retracts, revealing a human face inside. High resolution, intricate mechanical movements, photorealistic.",
+ "resolution": "720p",
+ "aspect_ratio": "auto",
+ "duration": 6,
+ "seed": 999999
+ }
+ },
+ {
+ "name": "api_grok_imagine_video_1_5",
+ "title": "Grok Imagine Video 1.5: Image to Video",
+ "description": "Upload an image and optional text prompt to generate a video with native audio, realistic motion, and high-quality output up to 720p resolution.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_imagine_video_1_5-1.webp",
+ "values": {
+ "model": "grok-imagine-video-1.5",
+ "prompt": "Cinematic 4K slow video, almost static camera with extremely slow dolly out. The cybernetic nun is in close profile view, hands clasped in prayer, face lit by sparkling light particles, white habit and glowing halo. She sits in a minimalist, all-white room with a large, simple window directly behind her. The camera barely moves, slowly pulling back just enough to reveal the window frame and the soft futuristic cityscape beyond: sleek glowing buildings, subtle light streams, and a calm, hazy sky. No fast movement, serene and intimate mood, soft volumetric lighting, photorealistic sci-fi",
+ "resolution": "720p",
+ "aspect_ratio": "auto",
+ "duration": 5,
+ "seed": 999999
+ }
+ },
+ {
+ "name": "api_grok_reference_to_video",
+ "title": "Grok: Reference to Video",
+ "description": "Upload a reference image and generate a video using the Grok API, supporting up to 6 reference images for enhanced consistency.",
+ "tags": ["API", "Character Reference", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_reference_to_video-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "happyhorse1": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_happyhorse1_1_i2v-1.webp",
+ "provider": "Wan",
+ "modality": "video",
+ "node": {
+ "id": "HappyHorseImageToVideoApi",
+ "displayName": "HappyHorse Image to Video",
+ "template": "api_happyhorse1_1_i2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["happyhorse-1.1-i2v", "happyhorse-1.0-i2v"],
+ "default": "happyhorse-1.1-i2v"
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["720P", "1080P"],
+ "default": "720P"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "kind": "number",
+ "min": 3,
+ "max": 15,
+ "step": 1,
+ "default": 5
+ },
+ {
+ "name": "first_frame",
+ "label": "First frame",
+ "hint": "First frame image. The output aspect ratio is derived from this image.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AI-generated watermark to the result.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "happyhorse-1.1-i2v",
+ "prompt": "Gentle desert wind blowing through hair and horse mane, woman slowly closes her eyes in a calm intimate moment, horse breathes softly and blinks once, minor slow push-in, cinematic high-fashion editorial mood",
+ "resolution": "720P",
+ "duration": 5,
+ "seed": 0,
+ "watermark": false
+ },
+ "examples": [
+ {
+ "name": "api_happyhorse1_1_i2v",
+ "title": "HappyHorse 1.1: Image to Video",
+ "description": "Animate a static first frame into a short video with synchronized audio using HappyHorse 1.1, taking 1 input image and producing 1 video output. Ideal for e-commerce product demos, brand marketing content, and short episodic series.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_happyhorse1_1_i2v-1.webp",
+ "values": {
+ "model": "happyhorse-1.1-i2v",
+ "prompt": "Gentle desert wind blowing through hair and horse mane, woman slowly closes her eyes in a calm intimate moment, horse breathes softly and blinks once, minor slow push-in, cinematic high-fashion editorial mood",
+ "resolution": "720P",
+ "duration": 5,
+ "seed": 0,
+ "watermark": false
+ }
+ },
+ {
+ "name": "api_happyhorse1_1_r2v",
+ "title": "HappyHorse 1.1: Reference to Video",
+ "description": "Generate video from reference images using HappyHorse 1.1, locking character and scene appearance while following a text prompt for motion. This workflow takes 2 input images (character reference and scene reference) and produces 1 video output. Ideal for short films, advertising, and game cutscenes requiring consistent character design and controllable narrative.",
+ "tags": ["API", "Reference to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_happyhorse1_1_r2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_happyhorse1_1_t2v",
+ "title": "HappyHorse 1.1: Text to Video",
+ "description": "Generate a video with synchronized audio from a text prompt using HappyHorse 1.1, producing a single video output with dialogue, sound effects, and music baked in. Ideal for short episodic series, e-commerce commercials, and game cutscenes.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_happyhorse1_1_t2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "heygen": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_heygen_avatar_video-1.webp",
+ "provider": "HeyGen",
+ "modality": "video",
+ "priceUsdFrom": 0.1716,
+ "node": {
+ "id": "HeyGenAvatarVideoNode",
+ "displayName": "HeyGen Avatar Video",
+ "template": "api_heygen_avatar_video"
+ },
+ "fields": [
+ {
+ "name": "engine",
+ "label": "Engine",
+ "kind": "select",
+ "options": ["auto", "avatar_iv", "avatar_iii", "avatar_v"],
+ "default": "auto"
+ },
+ {
+ "name": "custom_avatar_id",
+ "label": "Custom avatar id",
+ "kind": "text",
+ "multiline": false,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "speech",
+ "label": "speech source",
+ "hint": "Drive the avatar with a text script (HeyGen text-to-speech) or your own audio.",
+ "kind": "select",
+ "options": ["script", "audio"],
+ "default": "script"
+ },
+ {
+ "name": "text",
+ "label": "Text",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "custom_voice_id",
+ "label": "Custom voice id",
+ "kind": "text",
+ "multiline": false,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "voice_speed",
+ "label": "Voice speed",
+ "hint": "Speech speed multiplier.",
+ "kind": "number",
+ "min": 0.5,
+ "max": 1.5,
+ "step": 0.05,
+ "default": 1
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "hint": "Output video resolution.",
+ "kind": "select",
+ "options": ["720p", "1080p"],
+ "default": "1080p"
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "hint": "Output aspect ratio. 'auto' follows the avatar's source footage.",
+ "kind": "select",
+ "options": ["auto", "16:9", "9:16", "1:1", "4:5", "5:4"],
+ "default": "auto"
+ },
+ {
+ "name": "background_color",
+ "label": "Background color",
+ "kind": "text",
+ "multiline": false,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Not sent to HeyGen; change it to force a re-run.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ }
+ ],
+ "defaults": {
+ "engine": "auto"
+ },
+ "examples": [
+ {
+ "name": "api_heygen_avatar_video",
+ "title": "HeyGen: Avatar Video",
+ "description": "Create an AI avatar video from a text prompt or uploaded image using HeyGen's avatar generation technology, outputting a single talking-head video. You can save the avatar ID for reuse in future videos. Ideal for personalized digital presenters, social media content creation, and multilingual video production without recording talent.",
+ "tags": ["API", "Lip Sync", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_heygen_avatar_video-1.webp",
+ "values": {
+ "engine": "auto"
+ }
+ },
+ {
+ "name": "api_heygen_video_translate",
+ "title": "HeyGen: Video Translate",
+ "description": "Translate video content into another language with full lip-sync using HeyGen Translate, which automatically transcribes speech, translates it, generates a cloned voice, and re-syncs mouth movements. Takes 1 input video and produces 1 output video. Ideal for localizing talking-head videos, dubbing multilingual presentations, and creating lip-synced content for global audiences.",
+ "tags": ["API", "Lip Sync"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_heygen_video_translate-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_heygen_talking_photo",
+ "title": "HeyGen: Talking Photo",
+ "description": "Generate a talking-head video from a single photograph using HeyGen's Avatar IV engine, which produces a fully animated video with lip-synced speech, facial expressions, head movements, and automatic gestures. Ideal for creating digital avatars for presentations, virtual characters for interactive content, and personalized video messages from a single image.",
+ "tags": ["API", "Image to Video", "Lip Sync"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_heygen_talking_photo-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "hunyuan-3d": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_hunyuan3d_image_to_model-1.webp",
+ "provider": "Tencent",
+ "modality": "text",
+ "node": {
+ "id": "TencentImageToModelNode",
+ "displayName": "Hunyuan3D: Image(s) to Model",
+ "template": "api_hunyuan3d_image_to_model"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "The LowPoly option is unavailable for the `3.1` model.",
+ "kind": "select",
+ "options": ["3.0", "3.1"],
+ "default": "3.0"
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "image_left",
+ "label": "Image left",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "image_right",
+ "label": "Image right",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "image_back",
+ "label": "Image back",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "face_count",
+ "label": "Face count",
+ "kind": "number",
+ "min": 3000,
+ "max": 1500000,
+ "step": 1,
+ "default": 500000
+ },
+ {
+ "name": "generate_type",
+ "label": "Generate type",
+ "kind": "select",
+ "options": ["Normal", "LowPoly", "Geometry"],
+ "default": "Normal"
+ },
+ {
+ "name": "pbr",
+ "label": "Pbr",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "model": "3.1",
+ "face_count": 500000,
+ "generate_type": "Normal",
+ "pbr": true,
+ "seed": 999999
+ },
+ "examples": [
+ {
+ "name": "api_hunyuan3d_image_to_model",
+ "title": "HY 3D: Image to Model",
+ "description": "Upload an image to generate a 3D model with geometry and PBR textures. ",
+ "tags": ["3D", "API", "Image to Model"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_hunyuan3d_image_to_model-1.webp",
+ "values": {
+ "model": "3.1",
+ "face_count": 500000,
+ "generate_type": "Normal",
+ "pbr": true,
+ "seed": 999999
+ }
+ },
+ {
+ "name": "api_hunyuan3d_part",
+ "title": "HY 3D: 3D Parts Decomposition",
+ "description": "Upload a 3D model to automatically segment it into its constituent parts, generating a fully decomposed 3D asset for reuse and editing.",
+ "tags": ["3D", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_hunyuan3d_part-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_hunyuan3d_text_to_model",
+ "title": "HunYuan3D: Text to Model",
+ "description": "Input a text prompt or upload a reference image to generate a detailed 3D model asset.",
+ "tags": ["API", "3D", "Text to Model"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_hunyuan3d_text_to_model-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "ideogram": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ideogram_p_image_t2i-1.webp",
+ "provider": "Ideogram",
+ "modality": "image",
+ "node": {
+ "id": "IdeogramPImage",
+ "displayName": "Ideogram & Pruna P-Image",
+ "template": "api_ideogram_p_image_t2i"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "quality",
+ "label": "Quality",
+ "kind": "select",
+ "options": ["VERY_LOW", "LOW", "MEDIUM", "HIGH"],
+ "default": "MEDIUM"
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["1K", "2K"],
+ "default": "1K"
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "hint": "The aspect ratio for image generation.",
+ "kind": "select",
+ "options": [
+ "1:3",
+ "3:1",
+ "1:2",
+ "2:1",
+ "9:16",
+ "16:9",
+ "10:16",
+ "16:10",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "1:1"
+ ],
+ "default": "1:1"
+ },
+ {
+ "name": "prompt_upsampling",
+ "label": "Prompt upsampling",
+ "kind": "select",
+ "options": ["AUTO", "ON", "OFF"],
+ "default": "AUTO"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ }
+ ],
+ "defaults": {
+ "prompt": "",
+ "quality": "MEDIUM",
+ "resolution": "1K",
+ "aspect_ratio": "1:1",
+ "prompt_upsampling": "AUTO",
+ "seed": 999999
+ },
+ "examples": [
+ {
+ "name": "api_ideogram_p_image_t2i",
+ "title": "Ideogram P-Image: Text to Image",
+ "description": "Generate images from text descriptions using Ideogram's fast P-Image model, which delivers quality comparable to leading image models at significantly lower cost and latency. One text prompt is accepted and one image is output, with controls for quality level and resolution. Ideal for rapid iteration in design workflows, high-volume content production, and cost-sensitive A/B testing of visual concepts.",
+ "tags": ["API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ideogram_p_image_t2i-1.webp",
+ "values": {
+ "prompt": "",
+ "quality": "MEDIUM",
+ "resolution": "1K",
+ "aspect_ratio": "1:1",
+ "prompt_upsampling": "AUTO",
+ "seed": 999999
+ }
+ },
+ {
+ "name": "api_ideogram_v4_t2i",
+ "title": "Ideogram v4: Text to Image (API)",
+ "description": "Input a text prompt in structured JSON format. Generate a high-quality image with precise layout control, text rendering, and color palette support.",
+ "tags": ["API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ideogram_v4_t2i-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "kling-2-6": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling2_6_i2v-1.webp",
+ "provider": "Kling",
+ "modality": "video",
+ "priceUsdFrom": 0.07,
+ "node": {
+ "id": "KlingImageToVideoWithAudio",
+ "displayName": "Kling 2.6 Image(First Frame) to Video with Audio",
+ "template": "api_kling2_6_i2v"
+ },
+ "fields": [
+ {
+ "name": "model_name",
+ "label": "Model name",
+ "kind": "select",
+ "options": ["kling-v2-6"],
+ "default": "kling-v2-6"
+ },
+ {
+ "name": "start_frame",
+ "label": "Start frame",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Positive text prompt.",
+ "kind": "text",
+ "multiline": true,
+ "required": true
+ },
+ {
+ "name": "mode",
+ "label": "Mode",
+ "kind": "select",
+ "options": ["pro"],
+ "default": "pro"
+ },
+ {
+ "name": "generate_audio",
+ "label": "Generate audio",
+ "kind": "toggle",
+ "default": true
+ }
+ ],
+ "defaults": {
+ "model_name": "kling-v2-6",
+ "prompt": "Visual: A dimly lit, opulent private club with dark wooden paneling. An anthropomorphic green iguana stands confidently in the center, wearing gold-rimmed sunglasses and a stylish blue knitted jacket with a white fur collar. It pulls open the jacket to reveal a multi-layered gold chain with a diamond-encrusted \"C\" pendant. To the left, a wooden bar with liquor bottles illuminated by warm wall sconces. Subtle smoke drifts through the air. In the blurred background, faint neon signs glow, including a yellow Budweiser logo, with indistinct figures of patrons in booths. The camera slowly pushes in on the creature's face, then pulls back. Film noir lighting creates dramatic shadows.\n\nDialog: [The Iguana, deep and confident voice] says, \"Every shadow tells a story. And mine's just getting started.\"\n\nAudio: Ambient club sounds: distant conversations, clinking glasses, ice cubes. A smooth hip-hop beat with deep bass plays in the background. The creature's voice has slight echo and reverb. Subtle rustling of scales and gold chain clinking.\n\nOther: Cinematic, cool, mysterious, hip-hop aesthetic with film noir lighting. Slow, deliberate camera movement.",
+ "mode": "pro"
+ },
+ "examples": [
+ {
+ "name": "api_kling2_6_i2v",
+ "title": "Kling2.6: Animate Images with Audio",
+ "description": "Transform static images into dynamic videos with synchronized dialogue, singing, sound effects, and ambient audio.",
+ "tags": ["Image to Video", "Video", "API", "Audio"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling2_6_i2v-1.webp",
+ "values": {
+ "model_name": "kling-v2-6",
+ "prompt": "Visual: A dimly lit, opulent private club with dark wooden paneling. An anthropomorphic green iguana stands confidently in the center, wearing gold-rimmed sunglasses and a stylish blue knitted jacket with a white fur collar. It pulls open the jacket to reveal a multi-layered gold chain with a diamond-encrusted \"C\" pendant. To the left, a wooden bar with liquor bottles illuminated by warm wall sconces. Subtle smoke drifts through the air. In the blurred background, faint neon signs glow, including a yellow Budweiser logo, with indistinct figures of patrons in booths. The camera slowly pushes in on the creature's face, then pulls back. Film noir lighting creates dramatic shadows.\n\nDialog: [The Iguana, deep and confident voice] says, \"Every shadow tells a story. And mine's just getting started.\"\n\nAudio: Ambient club sounds: distant conversations, clinking glasses, ice cubes. A smooth hip-hop beat with deep bass plays in the background. The creature's voice has slight echo and reverb. Subtle rustling of scales and gold chain clinking.\n\nOther: Cinematic, cool, mysterious, hip-hop aesthetic with film noir lighting. Slow, deliberate camera movement.",
+ "mode": "pro"
+ }
+ },
+ {
+ "name": "api_kling2_6_t2v",
+ "title": "Kling2.6: Storytelling Videos with Audio",
+ "description": "Bring your stories to life with videos featuring synchronized dialogue, music, sound effects, and ambient audio from text prompts.",
+ "tags": ["API", "Audio", "Text to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling2_6_t2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "kling-ai": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_v3_video-1.webp",
+ "provider": "Kling",
+ "modality": "video",
+ "node": {
+ "id": "KlingVideoNode",
+ "displayName": "Kling 3.0 Video",
+ "template": "api_kling_v3_video"
+ },
+ "fields": [
+ {
+ "name": "multi_shot",
+ "label": "Multi shot",
+ "hint": "Generate a series of video segments with individual prompts and durations.",
+ "kind": "select",
+ "options": [
+ "disabled",
+ "1 storyboard",
+ "2 storyboards",
+ "3 storyboards",
+ "4 storyboards",
+ "5 storyboards",
+ "6 storyboards"
+ ],
+ "default": "disabled"
+ },
+ {
+ "name": "generate_audio",
+ "label": "Generate audio",
+ "hint": "'kling-3.0-turbo' always generates native audio, so the audio toggle is ignored.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "Model and generation settings.",
+ "kind": "select",
+ "options": ["kling-v3", "kling-3.0-turbo"],
+ "default": "kling-v3"
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["4k", "1080p", "720p"],
+ "default": "1080p"
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "hint": "Ignored in image-to-video mode.",
+ "kind": "select",
+ "options": ["16:9", "9:16", "1:1"],
+ "default": "16:9"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "start_frame",
+ "label": "Start frame",
+ "hint": "Optional start frame image. When connected, switches to image-to-video mode.",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ }
+ ],
+ "defaults": {
+ "multi_shot": "2 storyboards"
+ },
+ "examples": [
+ {
+ "name": "api_kling_v3_video",
+ "title": "Kling 3.0: Video Generation",
+ "description": "Input text or image prompts to generate 15-second video sequences with multi-shot compositions, complex camera movements, and consistent subjects.",
+ "tags": ["API", "Image to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_v3_video-1.webp",
+ "values": {
+ "multi_shot": "2 storyboards"
+ }
+ },
+ {
+ "name": "api_kling_v3_flf2v",
+ "title": "Kling 3.0: First Last Frame to Video",
+ "description": "Input a first and last frame image to generate a continuous video sequence with multi-shot generation, precise element control, and support for multilingual prompts.",
+ "tags": ["API", "Video", "FLF2V"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_v3_flf2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_kling_motion_control3",
+ "title": "Kling 3.0: Motion Control",
+ "description": "Upload a character image and a motion reference video. Generate a new video where your character performs the actions from the reference, with enhanced facial consistency using optional element binding.",
+ "tags": ["API", "Motion Control"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_motion_control3-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "kling-o3": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_o3_video_edit-1.webp",
+ "provider": "Kling",
+ "modality": "video",
+ "node": {
+ "id": "KlingOmniProEditVideoNode",
+ "displayName": "Kling 3.0 Omni Edit Video",
+ "template": "api_kling_o3_video_edit"
+ },
+ "fields": [
+ {
+ "name": "model_name",
+ "label": "Model name",
+ "kind": "select",
+ "options": ["kling-v3-omni", "kling-video-o1"],
+ "default": "kling-v3-omni"
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true
+ },
+ {
+ "name": "video",
+ "label": "Video",
+ "hint": "Video for editing. The output video length will be the same.",
+ "kind": "file",
+ "accept": "video",
+ "required": true
+ },
+ {
+ "name": "keep_original_sound",
+ "label": "Keep original sound",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "reference_images",
+ "label": "Reference images",
+ "hint": "Up to 4 additional reference images.",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["1080p", "720p"],
+ "default": "1080p"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "model_name": "kling-v3-omni",
+ "prompt": "Keep the character (the man) and the ornate bird character (covered in jewelry and exquisite details) in the reference video completely unchanged—including their actions, postures, and all decorative details. Replace the original desert background in the video with the background environment from the reference image (the scene with giant trees, castles, and a blue sky). Adjust the lighting and color tone of the man and the ornate bird to match the new background for a natural, cohesive visual effect. ",
+ "keep_original_sound": true,
+ "resolution": "720p"
+ },
+ "examples": [
+ {
+ "name": "api_kling_o3_video_edit",
+ "title": "Kling O3: Video Edit",
+ "description": "Upload a video and a reference image to edit with Kling O3. Generate a professionally edited video with precise subject editing, scene composition, and native audio-visual synchronization.",
+ "tags": ["Video Edit", "API", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_o3_video_edit-1.webp",
+ "values": {
+ "model_name": "kling-v3-omni",
+ "prompt": "Keep the character (the man) and the ornate bird character (covered in jewelry and exquisite details) in the reference video completely unchanged—including their actions, postures, and all decorative details. Replace the original desert background in the video with the background environment from the reference image (the scene with giant trees, castles, and a blue sky). Adjust the lighting and color tone of the man and the ornate bird to match the new background for a natural, cohesive visual effect. ",
+ "keep_original_sound": true,
+ "resolution": "720p"
+ }
+ },
+ {
+ "name": "api_kling_o3_flf2v",
+ "title": "Kling O3: FLF2V",
+ "description": "Upload reference images or specify start and end frames. Generate a video with precise semantic control, longer duration, and improved narrative coherence.",
+ "tags": ["API", "FLF2V"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_o3_flf2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_kling_o3_i2v",
+ "title": "Kling O3: Reference to Video",
+ "description": "Upload a reference image and optional audio or text prompt. Generate a character-consistent video with native audio output and precise storyboard control.",
+ "tags": ["API", "Character Reference", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_kling_o3_i2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "krea-2": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_krea2_t2i-1.webp",
+ "provider": "Krea",
+ "modality": "image",
+ "node": {
+ "id": "Krea2ImageNode",
+ "displayName": "Krea 2 Image",
+ "template": "api_krea2_t2i"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Text prompt for the image.",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Random seed for reproducibility.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "prompt": "high fashion editorial close-up portrait, tight crop framing from the chest up, low-angle upward shot, a woman with straight bangs, wearing round thin metal sunglasses and large black hoop earrings, wearing a form-fitting opaque black turtleneck sweater, dramatic silhouette lighting, only the face lit by warm red-orange light, body in deep clean black silhouette, head tilted slightly upward, background is a bold deep red to bright orange gradient with a large soft circular sunset light directly behind her, vibrant saturated warm tones, high contrast, cinematic mood, sharp focus on facial features, retro-futuristic vibe, hyperrealistic, fashion photography aesthetic, dramatic shadows, no extra objects, no hands visible, no full body shot"
+ },
+ "examples": [
+ {
+ "name": "api_krea2_t2i",
+ "title": "Krea2: Text to Image",
+ "description": "Input a text prompt describing your desired scene. Generate four aesthetic, high-quality images that interpret your prompt with creative variety.",
+ "tags": ["API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_krea2_t2i-1.webp",
+ "values": {
+ "prompt": "high fashion editorial close-up portrait, tight crop framing from the chest up, low-angle upward shot, a woman with straight bangs, wearing round thin metal sunglasses and large black hoop earrings, wearing a form-fitting opaque black turtleneck sweater, dramatic silhouette lighting, only the face lit by warm red-orange light, body in deep clean black silhouette, head tilted slightly upward, background is a bold deep red to bright orange gradient with a large soft circular sunset light directly behind her, vibrant saturated warm tones, high contrast, cinematic mood, sharp focus on facial features, retro-futuristic vibe, hyperrealistic, fashion photography aesthetic, dramatic shadows, no extra objects, no hands visible, no full body shot"
+ }
+ },
+ {
+ "name": "api_krea2_style_reference",
+ "title": "Krea 2: Style Reference",
+ "description": "Upload a style reference image and input a text prompt. Generate an image matching the prompt while applying the aesthetic style from your reference.",
+ "tags": ["API", "Style Reference"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_krea2_style_reference-1.webp",
+ "values": {
+ "prompt": "90s spaghetti western movie still, lone cowboy silhouette from behind, standing in a vast desert canyon, wearing a wide-brimmed hat, long duster coat and bandana, holding a revolver at his side, saguaro cacti in the foreground, hazy orange dust storm atmosphere, warm sepia and burnt sienna color palette, golden hour sunset light, soft atmospheric haze, vintage film grain, cinematic wide shot, dramatic composition, gritty old west aesthetic, hyperrealistic textures"
+ }
+ }
+ ]
+ },
+ "ltx-2": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ltx2_5_flf2v-1.webp",
+ "provider": "LTXV",
+ "modality": "video",
+ "node": {
+ "id": "LtxApi25ImageToVideo",
+ "displayName": "LTX 2.5 Image To Video",
+ "template": "api_ltx2_5_flf2v"
+ },
+ "fields": [
+ {
+ "name": "image",
+ "label": "Image",
+ "hint": "First frame to be used for the video.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "last_frame",
+ "label": "Last frame",
+ "hint": "Last frame to be used for the video.",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ }
+ ],
+ "defaults": {
+ "prompt": "LTX-2.5 (Pro)"
+ },
+ "examples": [
+ {
+ "name": "api_ltx2_5_flf2v",
+ "title": "LTX-2.5 (Pro): FLF2V",
+ "description": "Generate a video from two reference images using LTX-2.5, blending the content of both frames into a single animated sequence. Ideal for creating transition shots, morphing between two subjects or scenes, and building multi-shot narratives from still references.",
+ "tags": ["API", "FLF2V"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ltx2_5_flf2v-1.webp",
+ "values": {
+ "prompt": "LTX-2.5 (Pro)"
+ }
+ },
+ {
+ "name": "api_ltx2_5_t2v",
+ "title": "LTX-2.5 (Pro): Text to Video",
+ "description": "Generate video from text with LTX 2.5, a video model built for fast, high-quality production work. Type a prompt and get a cinematic clip with sharp detail, accurate motion, and support for native multishot scenes that hold character and style across cuts.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ltx2_5_t2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_ltx2_5_i2v",
+ "title": "LTX-2.5 (Pro): Image to Video",
+ "description": "Generate video from a single image using LTX-2.5's fast distilled model, delivering cinematic multi-shot sequences with consistent characters, lighting, and style across cuts. The workflow outputs a video file with native multishot support and automatic duration prediction. Ideal for rapid storyboarding, social media content creation, and pre-visualization in commercial production pipelines.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_ltx2_5_i2v-1.webp",
+ "values": {
+ "prompt": "LTX-2.5 (Fast)"
+ }
+ }
+ ]
+ },
+ "luma-dream-machine": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_luma_ray3_3_t2v-1.webp",
+ "provider": "Luma",
+ "modality": "video",
+ "node": {
+ "id": "LumaRay32TextToVideoNode",
+ "displayName": "Luma Ray 3.2 Text to Video",
+ "template": "api_luma_ray3_3_t2v"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Text prompt for the video generation.",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "kind": "select",
+ "options": ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"],
+ "default": "16:9"
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["360p", "540p", "720p", "1080p"],
+ "default": "720p"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "kind": "select",
+ "options": ["5s", "10s"],
+ "default": "5s"
+ },
+ {
+ "name": "loop",
+ "label": "Loop",
+ "hint": "Make the video loop seamlessly. Only available with 5s duration.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "prompt": "Cinematic tracking shot of a fierce young woman in battle-worn chrome armor riding a massive white tiger with glowing blue neural stripes, galloping across a scorched futuristic battlefield, shattered mechs and burning wreckage behind them, dust and embers in the air, heroic and defiant, epic sci-fi fantasy, golden hour light, 4K, shallow depth of field",
+ "aspect_ratio": "1:1",
+ "resolution": "720p",
+ "duration": "5s",
+ "loop": false
+ },
+ "examples": [
+ {
+ "name": "api_luma_ray3_3_t2v",
+ "title": "Luma Ray 3.2: Text to Video",
+ "description": "Generate cinematic-quality videos from text prompts using Luma Ray 3.2, with optional video extension by providing a generation ID from a previous run. Ideal for creating short film sequences, marketing content, and iterative video refinement.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_luma_ray3_3_t2v-1.webp",
+ "values": {
+ "prompt": "Cinematic tracking shot of a fierce young woman in battle-worn chrome armor riding a massive white tiger with glowing blue neural stripes, galloping across a scorched futuristic battlefield, shattered mechs and burning wreckage behind them, dust and embers in the air, heroic and defiant, epic sci-fi fantasy, golden hour light, 4K, shallow depth of field",
+ "aspect_ratio": "1:1",
+ "resolution": "720p",
+ "duration": "5s",
+ "loop": false
+ }
+ },
+ {
+ "name": "api_luma_ray3_3_i2v",
+ "title": "Luma Ray 3.2: Image to Video",
+ "description": "Generate cinematic-quality videos from text prompts using Luma Ray 3.2, with support for extending previous generations by providing a generation ID. The workflow accepts 1 input image and produces 1 video output, enabling seamless iterative refinement. Ideal for creating short film sequences, marketing content, and professional video production.",
+ "tags": ["Image to Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_luma_ray3_3_i2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_luma_ray3_2_video_edit",
+ "title": "Luma Ray 3.2: Video Edit",
+ "description": "Edit videos using natural language commands with Luma Ray 3.2, processing one input video and generating an edited output based on your textual instructions. ",
+ "tags": ["API", "Video Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_luma_ray3_2_video_edit-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "magnific-ai": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_magnific_image_style_transfer-1.webp",
+ "provider": "Magnific",
+ "modality": "image",
+ "priceUsdFrom": 0.11,
+ "node": {
+ "id": "MagnificImageStyleTransferNode",
+ "displayName": "Magnific Image Style Transfer",
+ "template": "api_magnific_image_style_transfer"
+ },
+ "fields": [
+ {
+ "name": "image",
+ "label": "Image",
+ "hint": "The image to apply style transfer to.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "reference_image",
+ "label": "Reference image",
+ "hint": "The reference image to extract style from.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "style_strength",
+ "label": "Style strength",
+ "hint": "Percentage of style strength.",
+ "kind": "number",
+ "min": 0,
+ "max": 100,
+ "step": 1,
+ "default": 100
+ },
+ {
+ "name": "structure_strength",
+ "label": "Structure strength",
+ "hint": "Maintains the structure of the original image.",
+ "kind": "number",
+ "min": 0,
+ "max": 100,
+ "step": 1,
+ "default": 50
+ },
+ {
+ "name": "flavor",
+ "label": "Flavor",
+ "hint": "Style transfer flavor.",
+ "kind": "select",
+ "options": [
+ "faithful",
+ "gen_z",
+ "psychedelia",
+ "detaily",
+ "clear",
+ "donotstyle",
+ "donotstyle_sharp"
+ ],
+ "default": "faithful"
+ },
+ {
+ "name": "engine",
+ "label": "Engine",
+ "hint": "Processing engine selection.",
+ "kind": "select",
+ "options": [
+ "balanced",
+ "definio",
+ "illusio",
+ "3d_cartoon",
+ "colorful_anime",
+ "caricature",
+ "real",
+ "super_real",
+ "softy"
+ ],
+ "default": "balanced"
+ },
+ {
+ "name": "portrait_mode",
+ "label": "Portrait mode",
+ "hint": "Enable portrait mode for facial enhancements.",
+ "kind": "select",
+ "options": ["disabled", "enabled"],
+ "default": "disabled"
+ },
+ {
+ "name": "fixed_generation",
+ "label": "Fixed generation",
+ "kind": "toggle",
+ "default": true
+ }
+ ],
+ "defaults": {
+ "prompt": "Fantasy portrait of a winged rider and unicorn, (glittering pink fantasy background:1.3), (retro anime hand-painted style:1.4), (muted warm color palette:1.2), (visible brushstroke texture:1.2)",
+ "style_strength": 70,
+ "structure_strength": 41,
+ "flavor": "faithful",
+ "engine": "balanced",
+ "portrait_mode": "disabled",
+ "fixed_generation": true
+ },
+ "examples": [
+ {
+ "name": "api_magnific_image_style_transfer",
+ "title": "Magnific: Style Reference",
+ "description": "Upload a target image and a style reference image. Generate a new image that merges the artistic style of the reference with the structure of your target.",
+ "tags": ["API", "Style Reference"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_magnific_image_style_transfer-1.webp",
+ "values": {
+ "prompt": "Fantasy portrait of a winged rider and unicorn, (glittering pink fantasy background:1.3), (retro anime hand-painted style:1.4), (muted warm color palette:1.2), (visible brushstroke texture:1.2)",
+ "style_strength": 70,
+ "structure_strength": 41,
+ "flavor": "faithful",
+ "engine": "balanced",
+ "portrait_mode": "disabled",
+ "fixed_generation": true
+ }
+ },
+ {
+ "name": "api_magnific_image_upscale_creative",
+ "title": "Image Upscale: Magnific Creative",
+ "description": "Upload an image and set the magnification level. Generate an upscaled version of your image with support for up to 16x enlargement.",
+ "tags": ["API", "Image Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_magnific_image_upscale_creative-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_magnific_image_upscale_precise",
+ "title": "Image Upscale: Magnific Precise",
+ "description": "Upload an image to precisely upscale it using the Magnific model, generating a high-resolution version with enhanced detail.",
+ "tags": ["API", "Image Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_magnific_image_upscale_precise-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "meshy-7": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy7_image_to_model-1.webp",
+ "provider": "Meshy",
+ "modality": "text",
+ "node": {
+ "id": "MeshyImageToModelNode",
+ "displayName": "Meshy: Image to Model",
+ "template": "api_meshy7_image_to_model"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["meshy-7", "meshy-6", "latest"],
+ "default": "meshy-7"
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "should_remesh",
+ "label": "Should remesh",
+ "hint": "When set to false, returns an unprocessed triangular mesh.",
+ "kind": "select",
+ "options": ["true", "false"],
+ "default": "true"
+ },
+ {
+ "name": "topology",
+ "label": "Topology",
+ "kind": "select",
+ "options": ["triangle", "quad"],
+ "default": "triangle"
+ },
+ {
+ "name": "target_polycount",
+ "label": "Target polycount",
+ "kind": "number",
+ "min": 100,
+ "max": 300000,
+ "step": 1,
+ "default": 300000
+ },
+ {
+ "name": "symmetry_mode",
+ "label": "Symmetry mode",
+ "kind": "select",
+ "options": ["auto", "on", "off"],
+ "default": "auto"
+ },
+ {
+ "name": "should_texture",
+ "label": "Should texture",
+ "kind": "select",
+ "options": ["true", "false"],
+ "default": "true"
+ },
+ {
+ "name": "enable_pbr",
+ "label": "Enable pbr",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "texture_prompt",
+ "label": "Texture prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "texture_image",
+ "label": "Texture image",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "texture_resolution",
+ "label": "Texture resolution",
+ "kind": "select",
+ "options": ["2k", "4k", "8k"],
+ "default": "2k"
+ },
+ {
+ "name": "pose_mode",
+ "label": "Pose mode",
+ "hint": "Specify the pose mode for the generated model.",
+ "kind": "select",
+ "options": ["", "A-pose", "T-pose"],
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "ultra_mode",
+ "label": "Ultra mode",
+ "hint": "Run an extra refinement pass for higher-fidelity geometry with finer surface detail.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "meshy-7",
+ "should_remesh": "true",
+ "topology": "triangle",
+ "target_polycount": 300000,
+ "symmetry_mode": "auto",
+ "should_texture": "true",
+ "enable_pbr": false,
+ "texture_prompt": "",
+ "texture_resolution": "2k",
+ "pose_mode": "",
+ "seed": 999999,
+ "ultra_mode": false
+ },
+ "examples": [
+ {
+ "name": "api_meshy7_image_to_model",
+ "title": "Meshy 7: Image to 3D",
+ "description": "Turn a single image into a production-ready 3D model with Meshy 7, generating a textured mesh that faithfully mirrors your reference's geometry, proportions, and surface details. Ideal for character busts that preserve facial expression, complex mechanical assemblies with correctly placed parts, and dense surface relief like engraved coins or ornate props.",
+ "tags": ["API", "Image to 3D"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy7_image_to_model-1.webp",
+ "values": {
+ "model": "meshy-7",
+ "should_remesh": "true",
+ "topology": "triangle",
+ "target_polycount": 300000,
+ "symmetry_mode": "auto",
+ "should_texture": "true",
+ "enable_pbr": false,
+ "texture_prompt": "",
+ "texture_resolution": "2k",
+ "pose_mode": "",
+ "seed": 999999,
+ "ultra_mode": false
+ }
+ },
+ {
+ "name": "api_meshy7_text_to_model",
+ "title": "Meshy 7: Text to 3D",
+ "description": "Generate production-ready 3D models from a single reference image with Meshy 7, an image-to-3D model that sets a new standard for geometry alignment, faithfully matching the input's proportions, part placement, and surface details. Ideal for concept art turnarounds, character and prop modeling from sketches, and any workflow where preserving the original design's intent is critical.",
+ "tags": ["API", "3D"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy7_text_to_model-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "meshy-ai": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy_image_to_model-1.webp",
+ "provider": "Meshy",
+ "modality": "text",
+ "node": {
+ "id": "MeshyImageToModelNode",
+ "displayName": "Meshy: Image to Model",
+ "template": "api_meshy_image_to_model"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["meshy-7", "meshy-6", "latest"],
+ "default": "meshy-7"
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "should_remesh",
+ "label": "Should remesh",
+ "hint": "When set to false, returns an unprocessed triangular mesh.",
+ "kind": "select",
+ "options": ["true", "false"],
+ "default": "true"
+ },
+ {
+ "name": "topology",
+ "label": "Topology",
+ "kind": "select",
+ "options": ["triangle", "quad"],
+ "default": "triangle"
+ },
+ {
+ "name": "target_polycount",
+ "label": "Target polycount",
+ "kind": "number",
+ "min": 100,
+ "max": 300000,
+ "step": 1,
+ "default": 300000
+ },
+ {
+ "name": "symmetry_mode",
+ "label": "Symmetry mode",
+ "kind": "select",
+ "options": ["auto", "on", "off"],
+ "default": "auto"
+ },
+ {
+ "name": "should_texture",
+ "label": "Should texture",
+ "kind": "select",
+ "options": ["true", "false"],
+ "default": "true"
+ },
+ {
+ "name": "enable_pbr",
+ "label": "Enable pbr",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "texture_prompt",
+ "label": "Texture prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "texture_image",
+ "label": "Texture image",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "texture_resolution",
+ "label": "Texture resolution",
+ "kind": "select",
+ "options": ["2k", "4k", "8k"],
+ "default": "2k"
+ },
+ {
+ "name": "pose_mode",
+ "label": "Pose mode",
+ "hint": "Specify the pose mode for the generated model.",
+ "kind": "select",
+ "options": ["", "A-pose", "T-pose"],
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "ultra_mode",
+ "label": "Ultra mode",
+ "hint": "Run an extra refinement pass for higher-fidelity geometry with finer surface detail.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "meshy-6",
+ "should_remesh": "true",
+ "topology": "triangle",
+ "target_polycount": 300000,
+ "symmetry_mode": "auto",
+ "should_texture": "true",
+ "enable_pbr": false,
+ "texture_prompt": "",
+ "texture_resolution": "2k",
+ "pose_mode": "",
+ "seed": 0,
+ "ultra_mode": false
+ },
+ "examples": [
+ {
+ "name": "api_meshy_image_to_model",
+ "title": "Meshy 6: Image to Model",
+ "description": "Upload an image and generate a 3D model with Meshy 6. Create characters, objects, or mechanical parts with production-quality geometry and clean topology.",
+ "tags": ["3D", "Image to Model", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy_image_to_model-1.webp",
+ "values": {
+ "model": "meshy-6",
+ "should_remesh": "true",
+ "topology": "triangle",
+ "target_polycount": 300000,
+ "symmetry_mode": "auto",
+ "should_texture": "true",
+ "enable_pbr": false,
+ "texture_prompt": "",
+ "texture_resolution": "2k",
+ "pose_mode": "",
+ "seed": 0,
+ "ultra_mode": false
+ }
+ },
+ {
+ "name": "api_meshy_multi_image_to_model",
+ "title": "Meshy 6: Multi-Image to Model",
+ "description": "Create high-quality 3D models from multiple images using Meshy 6. More photos mean better detail capture, accurate proportions, and cleaner mesh structure.",
+ "tags": ["3D", "API", "Image to 3D"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy_multi_image_to_model-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_meshy_text_to_model",
+ "title": "Meshy 6: Text to Model",
+ "description": "Generate high-quality 3D models from text prompts using Meshy 6. Create characters with refined geometry, mechanical objects with sharp edges, or game-ready low-poly assets.",
+ "tags": ["3D", "Text to Model", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy_text_to_model-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "minimax": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_minimax_h3_max_i2v-1.webp",
+ "provider": "MiniMax",
+ "modality": "video",
+ "node": {
+ "id": "MinimaxHailuo03FirstLastFrameNode",
+ "displayName": "MiniMax H3 First-Last-Frame to Video",
+ "template": "api_minimax_h3_max_i2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "Model to use for video generation.",
+ "kind": "select",
+ "options": ["MiniMax H3"],
+ "default": "MiniMax H3"
+ },
+ {
+ "name": "first_frame",
+ "label": "First frame",
+ "hint": "First frame image for the video.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "last_frame",
+ "label": "Last frame",
+ "hint": "Optional last frame image for the video.",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AIGC watermark to the video.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {},
+ "examples": [
+ {
+ "name": "api_minimax_h3_max_i2v",
+ "title": "MiniMax H3 Max: Image to Video",
+ "description": "Generate video from a source image using MiniMax H3 Max, animating your still frame while preserving its composition, visual identity, and aspect ratio. The model delivers faster-than-real-time generation with strong prompt adherence and polished cinematic aesthetics. Ideal for bringing character art to life, animating product shots, and creating motion from concept images.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_minimax_h3_max_i2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_minimax_h3_max_flf2v",
+ "title": "MiniMax H3 Max: FLF2V",
+ "description": "Generate polished, prompt-faithful videos faster than real time with MiniMax H3 Max, a post-trained model tuned for stronger prompt adherence and vivid cinematic aesthetics. This workflow supports text-to-video, image-to-video animation, and directed first-to-last-frame transitions, delivering clean compositions and cohesive lighting directly from the model. Ideal for rapid concept exploration, cinematic motion graphics, and high-throughput video comparison.",
+ "tags": ["API", "FLF2V"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_minimax_h3_max_flf2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_minimax_h3_max_t2v",
+ "title": "MiniMax H3 Max: Text to Video",
+ "description": "Generate polished, prompt-faithful video from text using Minimax H3 Max, producing a single finished video clip with no input files required. Ideal for rapid concept exploration, cinematic text-to-video scenes, and high-throughput creative iteration where speed and visual quality matter.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_minimax_h3_max_t2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "nano-banana": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_nano_banana_pro-1.webp",
+ "provider": "Gemini",
+ "modality": "image",
+ "node": {
+ "id": "GeminiImage2Node",
+ "displayName": "Nano Banana Pro (Google Gemini Image)",
+ "template": "api_nano_banana_pro"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": [
+ "gemini-3-pro-image-preview",
+ "Nano Banana 2 (Gemini 3.1 Flash Image)"
+ ],
+ "default": "gemini-3-pro-image-preview"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "kind": "select",
+ "options": [
+ "auto",
+ "1:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "21:9"
+ ],
+ "default": "auto"
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "hint": "Target output resolution. For 2K/4K the native Gemini upscaler is used.",
+ "kind": "select",
+ "options": ["1K", "2K", "4K"],
+ "default": "1K"
+ },
+ {
+ "name": "response_modalities",
+ "label": "Response modalities",
+ "kind": "select",
+ "options": ["IMAGE+TEXT", "IMAGE"],
+ "default": "IMAGE+TEXT"
+ },
+ {
+ "name": "images",
+ "label": "Images",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "system_prompt",
+ "label": "System prompt",
+ "hint": "Foundational instructions that dictate an AI's behavior.",
+ "kind": "text",
+ "multiline": true,
+ "required": false
+ }
+ ],
+ "defaults": {
+ "prompt": "Have the suit corresponding to this character strike a casual and fashionable pose",
+ "model": "gemini-3-pro-image-preview",
+ "seed": 999999,
+ "aspect_ratio": "1:1",
+ "resolution": "1K",
+ "response_modalities": "IMAGE",
+ "system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
+ },
+ "examples": [
+ {
+ "name": "api_nano_banana_pro",
+ "title": "Nano Banana Pro",
+ "description": "Nano-banana Pro (Gemini 3.0 Pro Image) - Studio-quality 4K image generation and editing with enhanced text rendering and character consistency.",
+ "tags": ["API", "Image", "Image Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_nano_banana_pro-1.webp",
+ "values": {
+ "prompt": "Have the suit corresponding to this character strike a casual and fashionable pose",
+ "model": "gemini-3-pro-image-preview",
+ "seed": 999999,
+ "aspect_ratio": "1:1",
+ "resolution": "1K",
+ "response_modalities": "IMAGE",
+ "system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
+ }
+ }
+ ]
+ },
+ "nano-banana-2": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_nano_banana_2_lite_image_edit-1.webp",
+ "provider": "Gemini",
+ "modality": "image",
+ "priceUsdFrom": 0.0408,
+ "node": {
+ "id": "GeminiNanoBanana2V2",
+ "displayName": "Nano Banana 2",
+ "template": "api_nano_banana_2_lite_image_edit"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": [
+ "Nano Banana 2 (Gemini 3.1 Flash Image)",
+ "Nano Banana 2 Lite"
+ ],
+ "default": "Nano Banana 2 (Gemini 3.1 Flash Image)"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ },
+ {
+ "name": "response_modalities",
+ "label": "Response modalities",
+ "kind": "select",
+ "options": ["IMAGE", "IMAGE+TEXT"],
+ "default": "IMAGE"
+ },
+ {
+ "name": "system_prompt",
+ "label": "System prompt",
+ "hint": "Foundational instructions that dictate an AI's behavior.",
+ "kind": "text",
+ "multiline": true,
+ "required": false
+ },
+ {
+ "name": "temperature",
+ "label": "Temperature",
+ "hint": "Controls randomness in generation. Lower is more focused/deterministic.",
+ "kind": "number",
+ "min": 0,
+ "max": 2,
+ "step": 0.01,
+ "default": 1
+ },
+ {
+ "name": "top_p",
+ "label": "Top p",
+ "hint": "Nucleus sampling threshold. Lower is more focused, higher more diverse.",
+ "kind": "number",
+ "min": 0,
+ "max": 1,
+ "step": 0.01,
+ "default": 0.95
+ }
+ ],
+ "defaults": {
+ "prompt": "NO changes to the F1 car's position, shape, structure and all vehicle details, car repainted glossy golden yellow, all car logos replaced with \"nano banana\" white text, full photoreal car texture. Warm orange gradient poster background, horizontal speed streaks & motion blur for extreme speed, double exposure semi-transparent helmeted driver portrait only on top blank background (never cover car). Large slanted cream text \"Nano Banana 2 Lite\" on empty upper area, small slogan text on edge blank space, text not overlay car. Cinematic racing poster, film grain, warm lighting, sharp car, only background blurred, no extra objects",
+ "model": "Nano Banana 2 Lite"
+ },
+ "examples": [
+ {
+ "name": "api_nano_banana_2_lite_image_edit",
+ "title": "Nano Banana 2 Lite: Image Edit",
+ "description": "Edit an image using Nano Banana 2 Lite, the fastest image generation model from Google’s Gemini series, producing a side-by-side comparison of the original and edited result. I",
+ "tags": ["API", "Image Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_nano_banana_2_lite_image_edit-1.webp",
+ "values": {
+ "prompt": "NO changes to the F1 car's position, shape, structure and all vehicle details, car repainted glossy golden yellow, all car logos replaced with \"nano banana\" white text, full photoreal car texture. Warm orange gradient poster background, horizontal speed streaks & motion blur for extreme speed, double exposure semi-transparent helmeted driver portrait only on top blank background (never cover car). Large slanted cream text \"Nano Banana 2 Lite\" on empty upper area, small slogan text on edge blank space, text not overlay car. Cinematic racing poster, film grain, warm lighting, sharp car, only background blurred, no extra objects",
+ "model": "Nano Banana 2 Lite"
+ }
+ },
+ {
+ "name": "api_nano_banana_2_lite_t2i",
+ "title": "Nano Banana 2 Lite: Text to Image",
+ "description": "Generate images from text descriptions using the ultra-fast Gemini 3.1 Flash-Lite Image model, designed for rapid creation and iteration with no file inputs required. This workflow produces one or more generated images based on your text prompt, with support for interleaved text and image inputs. Ideal for quick concept visualization, rapid prototyping, and iterative design exploration.",
+ "tags": ["API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_nano_banana_2_lite_t2i-1.webp",
+ "values": {
+ "prompt": "90s vintage F1 editorial poster, extreme low-angle close-up. A sleek electric blue and silver F1 car tearing through the frame, driver in an iconic yellow-black helmet. Hyperspeed motion blur, aggressive speed streaks, burning tire smoke. Massive bold yellow typography \"Nano Banana 2 Lite\" dominating a pale blue sky. Avant-garde graphic layout, halftone print texture, folded paper creases, high-contrast 35mm film grain. Minimalist micro-text and barcode at the bottom. Dynamic, ultra-fast, cinematic retro design, no logos",
+ "model": "Nano Banana 2 Lite"
+ }
+ }
+ ]
+ },
+ "openai-dall-e": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openai_gpt_image_2_t2i-1.webp",
+ "provider": "OpenAI",
+ "modality": "image",
+ "node": {
+ "id": "OpenAIGPTImageNodeV2",
+ "displayName": "OpenAI GPT Image 2",
+ "template": "api_openai_gpt_image_2_t2i"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Text prompt for GPT Image",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["gpt-image-2", "gpt-image-1.5", "gpt-image-1"],
+ "default": "gpt-image-2"
+ },
+ {
+ "name": "size",
+ "label": "Size",
+ "hint": "Image size. Select 'Custom' to use the custom width and height.",
+ "kind": "select",
+ "options": [
+ "auto",
+ "1024x1024",
+ "1024x1536",
+ "1536x1024",
+ "2048x2048",
+ "2048x1152",
+ "1152x2048",
+ "3840x2160",
+ "2160x3840",
+ "Custom"
+ ],
+ "default": "auto"
+ },
+ {
+ "name": "custom_width",
+ "label": "Custom width",
+ "hint": "Used only when `size` is 'Custom'. Must be a multiple of 16.",
+ "kind": "number",
+ "min": 1024,
+ "max": 3840,
+ "step": 16,
+ "default": 1024
+ },
+ {
+ "name": "custom_height",
+ "label": "Custom height",
+ "hint": "Used only when `size` is 'Custom'. Must be a multiple of 16.",
+ "kind": "number",
+ "min": 1024,
+ "max": 3840,
+ "step": 16,
+ "default": 1024
+ },
+ {
+ "name": "background",
+ "label": "Background",
+ "hint": "Return image with or without background.",
+ "kind": "select",
+ "options": ["auto", "opaque"],
+ "default": "auto"
+ },
+ {
+ "name": "n",
+ "label": "N",
+ "hint": "How many images to generate",
+ "kind": "number",
+ "min": 1,
+ "max": 8,
+ "step": 1,
+ "default": 1
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "not implemented yet in backend",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "prompt": "An extreme close-up, high-contrast portrait of a woman's face, partially obscured by deep black shadows. The word 'GPT IMAGE 2' is projected onto her face in brilliant, glowing orange neon light, with the text cutting directly across her eye and eyelashes. The image is designed as a futuristic poster with a vertical sidebar on the right containing graphic UI elements, technical symbols, a barcode, and minimalist typography. The overall color palette is dominated by intense red and black, capturing a moody, cinematic, and emotionally raw cyberpunk aesthetic, with professional graphic design overlays. The side bar text is promoting that it's Live in ComfyUI",
+ "model": "gpt-image-2",
+ "size": "auto",
+ "custom_width": 1024,
+ "custom_height": 1024,
+ "background": "auto"
+ },
+ "examples": [
+ {
+ "name": "api_openai_gpt_image_2_t2i",
+ "title": "GPT Image 2: Text to Image",
+ "description": "Create campaign-ready posters, product shots, and multilingual signage using OpenAI's latest model. Upload an optional reference image, write a detailed prompt, and generate high-quality, photorealistic outputs.",
+ "tags": ["API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openai_gpt_image_2_t2i-1.webp",
+ "values": {
+ "prompt": "An extreme close-up, high-contrast portrait of a woman's face, partially obscured by deep black shadows. The word 'GPT IMAGE 2' is projected onto her face in brilliant, glowing orange neon light, with the text cutting directly across her eye and eyelashes. The image is designed as a futuristic poster with a vertical sidebar on the right containing graphic UI elements, technical symbols, a barcode, and minimalist typography. The overall color palette is dominated by intense red and black, capturing a moody, cinematic, and emotionally raw cyberpunk aesthetic, with professional graphic design overlays. The side bar text is promoting that it's Live in ComfyUI",
+ "model": "gpt-image-2",
+ "size": "auto",
+ "custom_width": 1024,
+ "custom_height": 1024,
+ "background": "auto"
+ }
+ },
+ {
+ "name": "api_openai_gpt_image_2_image_edit",
+ "title": " GPT Image 2: Image Edit",
+ "description": "Upload a reference image and write a prompt to create campaign-ready posters, product shots, and multilingual signage. The model renders clean text and photorealistic outputs suitable for commercial work.",
+ "tags": ["Image Edit", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openai_gpt_image_2_image_edit-1.webp",
+ "values": {
+ "prompt": "Analyze the visual style, layout, color palette, and infographic format of the reference image. Create a product technical analysis infographic for shoe that perfectly matches the reference's design language, including layout structure, UI elements, feature callouts, and information presentation style.",
+ "model": "gpt-image-2",
+ "size": "auto",
+ "custom_width": 1024,
+ "custom_height": 1024,
+ "background": "auto"
+ }
+ },
+ {
+ "name": "api_openai_dall_e_2_inpaint",
+ "title": "OpenAI: Dall-E 2 Inpaint",
+ "description": "Edit images using inpainting with OpenAI Dall-E 2 API.",
+ "tags": ["Inpainting", "Image", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openai_dall_e_2_inpaint-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "openrouter": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openrouter_gpt5_6_luna-1.webp",
+ "provider": "OpenRouter",
+ "modality": "text",
+ "node": {
+ "id": "OpenRouterLLMNode",
+ "displayName": "OpenRouter LLM",
+ "template": "api_openrouter_gpt5_6_luna"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Text input to the model.",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed for sampling. Set to 0 to omit. Most models treat this as a hint only.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "system_prompt",
+ "label": "System prompt",
+ "hint": "Foundational instructions that dictate the model's behavior.",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ }
+ ],
+ "defaults": {
+ "prompt": ""
+ },
+ "examples": [
+ {
+ "name": "api_openrouter_gpt5_6_luna",
+ "title": "GPT-5.6 Luna",
+ "description": "GPT-5.6 Luna streamlines visual pre-production by analyzing a single reference image and generating structured creative text from a user prompt. It takes 1 input image and produces no explicit visual outputs, focusing instead on rapid, standardized copywriting. Ideal for batch scene description expansion, shot list organization, and high-volume creative ideation.",
+ "tags": ["API", "Text Generation"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openrouter_gpt5_6_luna-1.webp",
+ "values": {
+ "prompt": ""
+ }
+ },
+ {
+ "name": "api_openrouter_gpt5_6_terra",
+ "title": "GPT-5.6 Terra",
+ "description": "Describe a scene or world using GPT-5.6 Terra, a balanced multimodal model that interprets one uploaded image to guide visual storytelling and style consistency. Ideal for worldbuilding, mood board creation, and maintaining cohesive aesthetics across a series of works.",
+ "tags": ["API", "Text Generation"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openrouter_gpt5_6_terra-1.webp",
+ "values": {
+ "prompt": ""
+ }
+ },
+ {
+ "name": "api_openrouter_gpt5_6_sol",
+ "title": "GPT-5.6: Sol",
+ "description": "GPT-5.6 Sol is a multimodal model workflow for visual storytelling, taking 1 input image and a user prompt to generate detailed scene descriptions and narrative sequences. Ideal for world-building, multi-shot storyboarding, and maintaining consistent art style across long-form illustration or video projects.",
+ "tags": ["API", "Text Generation"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_openrouter_gpt5_6_sol-1.webp",
+ "values": {
+ "prompt": ""
+ }
+ }
+ ]
+ },
+ "pixverse": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_pixverse_t2v-1.webp",
+ "provider": "PixVerse",
+ "modality": "video",
+ "node": {
+ "id": "PixverseTextToVideoNode",
+ "displayName": "PixVerse Text to Video",
+ "template": "api_pixverse_t2v"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Prompt for the video generation",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "kind": "select",
+ "options": ["16:9", "4:3", "1:1", "3:4", "9:16"],
+ "default": "16:9"
+ },
+ {
+ "name": "quality",
+ "label": "Quality",
+ "kind": "select",
+ "options": ["360p", "540p", "720p", "1080p"],
+ "default": "360p"
+ },
+ {
+ "name": "motion_mode",
+ "label": "Motion mode",
+ "kind": "select",
+ "options": ["normal", "fast"],
+ "default": "normal"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed for video generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "negative_prompt",
+ "label": "Negative prompt",
+ "hint": "An optional text description of undesired elements on an image.",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ }
+ ],
+ "defaults": {
+ "prompt": "A band of adorable toy rabbits rocks out on the moon's surface. They play a variety of instruments like guitars, drums, and keyboards under a star - filled sky with the Earth and moon in the background. Concert lights add a vibrant touch to this intergalactic musical performance. ",
+ "aspect_ratio": "16:9",
+ "quality": "720p"
+ },
+ "examples": [
+ {
+ "name": "api_pixverse_t2v",
+ "title": "PixVerse: Text to Video",
+ "description": "Generate videos with accurate prompt interpretation and stunning video dynamics.",
+ "tags": ["Text to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_pixverse_t2v-1.webp",
+ "values": {
+ "prompt": "A band of adorable toy rabbits rocks out on the moon's surface. They play a variety of instruments like guitars, drums, and keyboards under a star - filled sky with the Earth and moon in the background. Concert lights add a vibrant touch to this intergalactic musical performance. ",
+ "aspect_ratio": "16:9",
+ "quality": "720p"
+ }
+ },
+ {
+ "name": "api_pixverse_i2v",
+ "title": "PixVerse: Image to Video",
+ "description": "Generate dynamic videos from static images with motion and effects using PixVerse.",
+ "tags": ["Image to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_pixverse_i2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_pixverse_template_i2v",
+ "title": "PixVerse Templates: Image to Video",
+ "description": "Generate dynamic videos from static images with motion and effects using PixVerse.",
+ "tags": ["Image to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_pixverse_template_i2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "quiver": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_quiver_text_to_svg-1.webp",
+ "provider": "Quiver",
+ "priceUsdFrom": 0.286,
+ "node": {
+ "id": "QuiverTextToSVGNode",
+ "displayName": "Quiver Text to SVG",
+ "template": "api_quiver_text_to_svg"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Text description of the desired SVG output.",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "instructions",
+ "label": "Instructions",
+ "hint": "Additional style or formatting guidance.",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "prompt": "Aggressive roaring panda head mascot logo in side profile, bold black and white flat vector design with an orange-to-red gradient border on a black background",
+ "instructions": "arrow-preview",
+ "seed": 1
+ },
+ "examples": [
+ {
+ "name": "api_quiver_text_to_svg",
+ "title": "Quiver: Text to SVG",
+ "description": "Input a text prompt and optional reference images to generate one or more SVG vector graphics.",
+ "tags": ["API", "Vector"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_quiver_text_to_svg-1.webp",
+ "values": {
+ "prompt": "Aggressive roaring panda head mascot logo in side profile, bold black and white flat vector design with an orange-to-red gradient border on a black background",
+ "instructions": "arrow-preview",
+ "seed": 1
+ }
+ },
+ {
+ "name": "api_quiver_image_to_svg",
+ "title": "Quiver: Image to SVG",
+ "description": "Converts an image input into an SVG output.",
+ "tags": ["API", "Vector"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_quiver_image_to_svg-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "qwen-3": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_qwen3_image_edit-1.webp",
+ "provider": "Qwen",
+ "modality": "image",
+ "node": {
+ "id": "QwenImageEditApi",
+ "displayName": "Qwen Image 3 Edit",
+ "template": "api_qwen3_image_edit"
+ },
+ "fields": [
+ {
+ "name": "size",
+ "label": "Size",
+ "kind": "select",
+ "options": ["match input", "auto", "custom"],
+ "default": "match input"
+ },
+ {
+ "name": "n",
+ "label": "N",
+ "hint": "Number of images to generate, returned as a batch.",
+ "kind": "number",
+ "min": 1,
+ "max": 6,
+ "step": 1,
+ "default": 1
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ },
+ {
+ "name": "prompt_extend",
+ "label": "Prompt extend",
+ "hint": "Whether to enhance the prompt with AI assistance.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AI-generated watermark to the result.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {},
+ "examples": [
+ {
+ "name": "api_qwen3_image_edit",
+ "title": "Qwen Image 3.0 Pro: Image Edit",
+ "description": "Qwen Image 3.0 Pro performs advanced image editing with rich multi-image input, generating complex layouts like newspapers, storyboards, menus, and exam papers in a single pass while preserving fine details down to 10px text, micro-expressions, and individual hairs. Supports native rendering across 12 languages with realistic simulation of web pages, games, and live streams. Ideal for professional content production, interface mockups, and high-fidelity commercial imagery requiring authentic detail.",
+ "tags": ["API", "Image Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_qwen3_image_edit-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_qwen3_t2i",
+ "title": "Qwen Image 3.0 Pro: Text to Image",
+ "description": "Generate detailed, production-ready images from text prompts using the Qwen Image 3.0 Pro model, supporting up to 4.5k tokens for complex layouts like posters, infographics, and storyboards. It renders crisp 10px text, realistic textures, and native support for 12 languages and over 100 art styles, with optional 1-3 reference images for fusion editing. Ideal for marketing materials, educational diagrams, and UI design mockups.",
+ "tags": ["API", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_qwen3_t2i-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "recraft": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_recraft_v4_1_t2i-1.webp",
+ "provider": "Recraft",
+ "modality": "image",
+ "node": {
+ "id": "RecraftV4TextToImageNode",
+ "displayName": "Recraft V4 Text to Image",
+ "template": "api_recraft_v4_1_t2i"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Prompt for the image generation. Maximum 10,000 characters.",
+ "kind": "text",
+ "multiline": true,
+ "required": true
+ },
+ {
+ "name": "negative_prompt",
+ "label": "Negative prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": false
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": [
+ "recraftv4_1",
+ "recraftv4_1_utility",
+ "recraftv4_1_pro",
+ "recraftv4_1_utility_pro",
+ "recraftv4",
+ "recraftv4_pro",
+ "recraftv4_styles",
+ "recraftv4_styles_pro"
+ ],
+ "default": "recraftv4_1"
+ },
+ {
+ "name": "size",
+ "label": "Size",
+ "hint": "The size of the generated image.",
+ "kind": "select",
+ "options": [
+ "1024x1024",
+ "1536x768",
+ "768x1536",
+ "1280x832",
+ "832x1280",
+ "1216x896",
+ "896x1216",
+ "1152x896",
+ "896x1152",
+ "832x1344",
+ "1280x896",
+ "896x1280",
+ "1344x768",
+ "768x1344"
+ ],
+ "default": "1024x1024"
+ },
+ {
+ "name": "n",
+ "label": "N",
+ "hint": "The number of images to generate.",
+ "kind": "number",
+ "min": 1,
+ "max": 6,
+ "step": 1,
+ "default": 1
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "style_id",
+ "label": "Style id",
+ "kind": "text",
+ "multiline": false,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "style_match",
+ "label": "Style match",
+ "kind": "select",
+ "options": ["precise", "flexible"],
+ "default": "precise"
+ }
+ ],
+ "defaults": {
+ "prompt": "portrait of a young man with a short buzzed platinum blonde fade haircut, silver mirrored wraparound futuristic sport sunglasses, small silver ear stud, wearing a black leather jacket with a raised collar, one hand gripping the collar near his chin, head tilted down, gaze lowered, upper body three-quarter view, slightly high camera angle, medium close-up, shallow depth of field, soft diffused studio lighting with gentle shadows, cool grey-blue gradient background, muted monochrome palette with cool tones, fine skin texture, subtle leather grain, matte finish, realistic fashion editorial photography, natural and clean look, sharp focus, high detail, 85mm lens",
+ "negative_prompt": "",
+ "model": "recraftv4_1",
+ "size": "1024x1024",
+ "n": 1,
+ "seed": 999999
+ },
+ "examples": [
+ {
+ "name": "api_recraft_v4_1_t2i",
+ "title": "Recraft 4.1: Text to Image",
+ "description": "Generate photorealistic and illustrative images from text prompts using Recraft V4.1, producing one high-quality image per generation. This model excels at interpreting short prompts with creative flair, delivering natural photorealism, expressive vectors, and clean illustrations. Ideal for concept art, logo and typography design, and lifestyle product mockups.",
+ "tags": ["API", "Image", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_recraft_v4_1_t2i-1.webp",
+ "values": {
+ "prompt": "portrait of a young man with a short buzzed platinum blonde fade haircut, silver mirrored wraparound futuristic sport sunglasses, small silver ear stud, wearing a black leather jacket with a raised collar, one hand gripping the collar near his chin, head tilted down, gaze lowered, upper body three-quarter view, slightly high camera angle, medium close-up, shallow depth of field, soft diffused studio lighting with gentle shadows, cool grey-blue gradient background, muted monochrome palette with cool tones, fine skin texture, subtle leather grain, matte finish, realistic fashion editorial photography, natural and clean look, sharp focus, high detail, 85mm lens",
+ "negative_prompt": "",
+ "model": "recraftv4_1",
+ "size": "1024x1024",
+ "n": 1,
+ "seed": 999999
+ }
+ },
+ {
+ "name": "api_recraft_v4_1_text_to_vector",
+ "title": "Recraft 4.1: Text to Vector",
+ "description": "Generate a clean, flat vector logo from a text prompt using Recraft V4.1, producing one scalable SVG output with no file input required. Ideal for branding and logo design, vector illustration projects, and creating consistent flat-color graphics for presentations or merchandise.",
+ "tags": ["Vector", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_recraft_v4_1_text_to_vector-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_recraft_v4_t2i",
+ "title": "Recraft v4: Text to Image",
+ "description": "Input a text prompt to generate a high-resolution image. Use the Recraft V4 model for enhanced realism, text accuracy, and detailed vector graphics. Output a 1024x1024 or 2048x2048 image based on your selected version.",
+ "tags": ["API", "Image", "Text to Image"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_recraft_v4_t2i-1.webp",
+ "values": {
+ "prompt": "Full-length stunning model in long black dress, with thin belt, black hat and boots high fashion, face is bowed down, hat is covering her entire face, leading a sleek white horse; dress trailing in wind; low 35-45mm, eye-level, side sunlight or hard key 45°, shadows clean, desert as a backdrop, decisive stride tyle by helmut newton.",
+ "negative_prompt": "",
+ "model": "recraftv4",
+ "size": "1024x1024",
+ "n": 1,
+ "seed": 999999
+ }
+ }
+ ]
+ },
+ "rodin-3d": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_rodin3d_gen2_5_image_to_3d-1.webp",
+ "provider": "Rodin",
+ "node": {
+ "id": "Rodin3D_Gen25_Image",
+ "displayName": "Rodin 3D Gen-2.5 - Image to 3D",
+ "template": "api_rodin3d_gen2_5_image_to_3d"
+ },
+ "fields": [],
+ "defaults": {},
+ "examples": [
+ {
+ "name": "api_rodin3d_gen2_5_image_to_3d",
+ "title": "Rodin Gen2.5: Image to Model",
+ "description": "Upload single or multi-view images to create a 3D model with adjustable quality and enhanced texture",
+ "tags": ["3D", "API", "Image to 3D"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_rodin3d_gen2_5_image_to_3d-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_rodin3d_gen2_5_text_to_3d",
+ "title": "Rodin Gen2.5: Text to Model",
+ "description": "Input a text description or upload reference images. Generate a detailed 3D model with textures, exportable in multiple formats.",
+ "tags": ["3D", "API", "Text to Model"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_rodin3d_gen2_5_text_to_3d-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_rodin_gen2",
+ "title": "Rodin: Gen-2 Image to Model",
+ "description": "Generate detailed 4X mesh quality 3D models from photos using Rodin Gen2",
+ "tags": ["Image to 3D", "3D", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_rodin_gen2-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "runway": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_runway_aleph2_video_edit-1.webp",
+ "provider": "Runway",
+ "modality": "video",
+ "priceUsdFrom": 0.4004,
+ "node": {
+ "id": "RunwayAleph2VideoToVideoNode",
+ "displayName": "Runway Aleph2 Video to Video",
+ "template": "api_runway_aleph2_video_edit"
+ },
+ "fields": [
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Describes what should appear in the output (1-1000 characters).",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "video",
+ "label": "Video",
+ "hint": "Input video to edit. Must be 2-30 seconds at 30 fps or lower.",
+ "kind": "file",
+ "accept": "video",
+ "required": true
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Random seed for generation",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "public_figure_threshold",
+ "label": "Public figure threshold",
+ "hint": "Content moderation for recognizable public figures.",
+ "kind": "select",
+ "options": ["auto", "low"],
+ "default": "low"
+ }
+ ],
+ "defaults": {
+ "prompt": "Change the scene to a surfing scene and replace the characters with surfers",
+ "seed": 999999,
+ "public_figure_threshold": "low"
+ },
+ "examples": [
+ {
+ "name": "api_runway_aleph2_video_edit",
+ "title": "Runway Aleph2: Video Edit",
+ "description": "Generate a single edited video that preserves original motion and timing while applying your chosen changes. Ideal for portrait and product relighting, consistent lighting across photo sets, and e-commerce apparel presentation.",
+ "tags": ["API", "Video Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_runway_aleph2_video_edit-1.webp",
+ "values": {
+ "prompt": "Change the scene to a surfing scene and replace the characters with surfers",
+ "seed": 999999,
+ "public_figure_threshold": "low"
+ }
+ },
+ {
+ "name": "api_runway_gen4_turo_image_to_video",
+ "title": "Runway: Gen4 Turbo Image to Video",
+ "description": "Generate dynamic videos from images using Runway Gen4 Turbo.",
+ "tags": ["Image to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_runway_gen4_turo_image_to_video-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_runway_reference_to_image",
+ "title": "Runway: Reference to Image",
+ "description": "Generate new images based on reference styles and compositions with Runway's AI.",
+ "tags": ["Image", "API", "Style Reference"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_runway_reference_to_image-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "seedance-2": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_5_video_editing-1.webp",
+ "provider": "ByteDance",
+ "modality": "video",
+ "node": {
+ "id": "ByteDance2ReferenceNodeV2",
+ "displayName": "ByteDance Seedance 2.5 Reference to Video",
+ "template": "api_seedance2_5_video_editing"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": [
+ "Seedance 2.5",
+ "Seedance 2.0",
+ "Seedance 2.0 Fast",
+ "Seedance 2.0 Mini"
+ ],
+ "default": "Seedance 2.5"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add a watermark to the video.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "Seedance 2.5"
+ },
+ "examples": [
+ {
+ "name": "api_seedance2_5_video_editing",
+ "title": "Seedance2.5: Video Editing",
+ "description": "Edit existing video clips with Seedance 2.5 by describing changes in natural language, enabling local object removal, background swaps, scene replacements, and style transfers while preserving the original composition and motion. Feed in 1 video and receive 1 edited video output with temporally consistent results across frames. Ideal for e-commerce background replacement, stylized remakes of footage, and ad re-editing with targeted retouching.",
+ "tags": ["API", "Video Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_5_video_editing-1.webp",
+ "values": {
+ "model": "Seedance 2.5"
+ }
+ },
+ {
+ "name": "api_seedance2_5_r2v",
+ "title": "Seedance 2.5: Reference to Video",
+ "description": "Generate reference-driven videos with Seedance 2.5 by supplying up to 20 images, 6 video clips, and 6 audio clips to control character consistency, visual style, and motion rhythm in a single 4–30 second output with synchronized sound and lip-synced dialogue. Ideal for e-commerce product showcases, brand advertising, and character-driven short series.",
+ "tags": ["API", "Reference to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_5_r2v-1.webp",
+ "values": {
+ "model": "Seedance 2.5"
+ }
+ },
+ {
+ "name": "api_seedance2_5_t2v",
+ "title": "Seedance 2.5: Text to Video",
+ "description": "Generate 30-second cinematic videos from text prompts with Seedance 2.5, producing synchronized sound and music alongside the footage. Input a single text prompt to create one video with precise camera control and multi-shot storytelling. Ideal for brand films, episodic series, and e-commerce content where quality matters more than budget.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_5_t2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "seedance-2-0": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_0_r2v-1.webp",
+ "provider": "ByteDance",
+ "modality": "video",
+ "node": {
+ "id": "ByteDance2ReferenceNodeV2",
+ "displayName": "ByteDance Seedance 2.5 Reference to Video",
+ "template": "api_seedance2_0_r2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": [
+ "Seedance 2.5",
+ "Seedance 2.0",
+ "Seedance 2.0 Fast",
+ "Seedance 2.0 Mini"
+ ],
+ "default": "Seedance 2.5"
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add a watermark to the video.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "Seedance 2.0"
+ },
+ "examples": [
+ {
+ "name": "api_seedance2_0_r2v",
+ "title": "Seedance 2.0: Reference to Video",
+ "description": "Generate cinematic videos from reference images and text prompts. Preserve subject identity and composition while adding expressive motion with synchronized audio. Control camera movement and lighting through detailed prompts.",
+ "tags": ["API", "Image to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_0_r2v-1.webp",
+ "values": {
+ "model": "Seedance 2.0"
+ }
+ },
+ {
+ "name": "api_seedance2_0_flf2v",
+ "title": "Seedance2.0: First-Last-Frame to Video",
+ "description": "Upload the first and last frames of your video. Generate a high-quality video sequence using the Seedance2.0 model.",
+ "tags": ["API", "FLF2V", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_0_flf2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_seedance2_0_mini_r2v",
+ "title": "Seedance 2.0 Mini: Reference to Video",
+ "description": "Generate cinematic video from two reference images using Seedance 2.0 Mini, producing a single video output with AI-driven camera motion and consistent character generation. Ideal for storytelling, branded content, and short film creation where shot composition and visual continuity are essential.",
+ "tags": ["API", "Image to Video", "Reference to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_seedance2_0_mini_r2v-1.webp",
+ "values": {
+ "model": "Seedance 2.0 Mini"
+ }
+ }
+ ]
+ },
+ "seedance-bytedance": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bytedance_seedance1_5_image_to_video-1.webp",
+ "provider": "ByteDance",
+ "modality": "video",
+ "node": {
+ "id": "ByteDanceImageToVideoNode",
+ "displayName": "ByteDance Image to Video",
+ "template": "api_bytedance_seedance1_5_image_to_video"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": [
+ "seedance-1-5-pro-251215",
+ "seedance-1-0-pro-250528",
+ "seedance-1-0-lite-i2v-250428",
+ "seedance-1-0-pro-fast-251015"
+ ],
+ "default": "seedance-1-0-pro-fast-251015"
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "The text prompt used to generate the video.",
+ "kind": "text",
+ "multiline": true,
+ "required": true
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "hint": "First frame to be used for the video.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "hint": "The resolution of the output video.",
+ "kind": "select",
+ "options": ["480p", "720p", "1080p"],
+ "default": "480p"
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "hint": "The aspect ratio of the output video.",
+ "kind": "select",
+ "options": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16", "21:9"],
+ "default": "adaptive"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "hint": "The duration of the output video in seconds.",
+ "kind": "number",
+ "min": 3,
+ "max": 12,
+ "step": 1,
+ "default": 5
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "camera_fixed",
+ "label": "Camera fixed",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an \"AI generated\" watermark to the video.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "generate_audio",
+ "label": "Generate audio",
+ "hint": "This parameter is ignored for any model except seedance-1-5-pro.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "seedance-1-5-pro-251215",
+ "prompt": "Shot 1: Wide shot. On a nighttime baseball field, a boy around 10 years old wearing a Land O'Lakes Explorers Club uniform stands alone at the sideline. The field stretches behind him with distant lights creating a hazy glow. The camera slowly pans right, revealing more of the empty field and emphasizing his solitude.\n\nShot 2: The camera cuts to a low-angle medium shot. The boy looks down at his hands, clenching and unclenching his fists. He takes a deep breath. The camera dollies in slowly toward his face, rising slightly as it moves, ending in a low-angle close-up that makes him appear more determined and heroic.\n\nShot 3: Cut to an extreme close-up of his eyes. His blue eyes shift, pupils dilating slightly. His brow furrows with concentration. The camera holds steady for a moment, then very slowly pushes in even closer.\n\nShot 4: Cut back to a medium close-up at eye level. The boy's expression shifts from nervous to resolute. He lifts his chin slightly and looks directly into the camera. The camera performs a subtle dolly-out while simultaneously zooming in slightly (Hitchcock effect), keeping his face the same size in frame while the background appears to compress, creating a subtle sense of tension and isolation.\n\nEnglish dialogue - the boy speaks in a quiet but firm voice: \"I've been waiting for this moment.\" Pause. \"It's time.\"\n\nBackground sounds: crickets chirping, gentle wind, distant crowd chatter that fades in and out, the metallic clink of a chain-link fence swaying, and a single sharp whistle that punctuates the end of his line. The overall atmosphere is cinematic and introspective.",
+ "resolution": "480p",
+ "aspect_ratio": "adaptive",
+ "duration": 5,
+ "seed": 999999,
+ "camera_fixed": false,
+ "watermark": false,
+ "generate_audio": true
+ },
+ "examples": [
+ {
+ "name": "api_bytedance_seedance1_5_image_to_video",
+ "title": "Seedance 1.5 Pro: Image to Video",
+ "description": "Transform images into living characters with speech, motion, and synchronized sound effects.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bytedance_seedance1_5_image_to_video-1.webp",
+ "values": {
+ "model": "seedance-1-5-pro-251215",
+ "prompt": "Shot 1: Wide shot. On a nighttime baseball field, a boy around 10 years old wearing a Land O'Lakes Explorers Club uniform stands alone at the sideline. The field stretches behind him with distant lights creating a hazy glow. The camera slowly pans right, revealing more of the empty field and emphasizing his solitude.\n\nShot 2: The camera cuts to a low-angle medium shot. The boy looks down at his hands, clenching and unclenching his fists. He takes a deep breath. The camera dollies in slowly toward his face, rising slightly as it moves, ending in a low-angle close-up that makes him appear more determined and heroic.\n\nShot 3: Cut to an extreme close-up of his eyes. His blue eyes shift, pupils dilating slightly. His brow furrows with concentration. The camera holds steady for a moment, then very slowly pushes in even closer.\n\nShot 4: Cut back to a medium close-up at eye level. The boy's expression shifts from nervous to resolute. He lifts his chin slightly and looks directly into the camera. The camera performs a subtle dolly-out while simultaneously zooming in slightly (Hitchcock effect), keeping his face the same size in frame while the background appears to compress, creating a subtle sense of tension and isolation.\n\nEnglish dialogue - the boy speaks in a quiet but firm voice: \"I've been waiting for this moment.\" Pause. \"It's time.\"\n\nBackground sounds: crickets chirping, gentle wind, distant crowd chatter that fades in and out, the metallic clink of a chain-link fence swaying, and a single sharp whistle that punctuates the end of his line. The overall atmosphere is cinematic and introspective.",
+ "resolution": "480p",
+ "aspect_ratio": "adaptive",
+ "duration": 5,
+ "seed": 999999,
+ "camera_fixed": false,
+ "watermark": false,
+ "generate_audio": true
+ }
+ },
+ {
+ "name": "api_bytedance_image_to_video",
+ "title": "Seedance 1.0 Pro: Image to Video",
+ "description": "Transform static images into dynamic videos using ByteDance's Seedance model. Analyzes image structure and generates natural motion with consistent visual style and coherent video sequences.",
+ "tags": ["API", "Image to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bytedance_image_to_video-1.webp",
+ "values": {
+ "model": "seedance-1-0-pro-250528",
+ "prompt": "The girl shows a charming smile",
+ "resolution": "480p",
+ "aspect_ratio": "adaptive",
+ "duration": 5,
+ "seed": 0,
+ "camera_fixed": false,
+ "watermark": false
+ }
+ },
+ {
+ "name": "api_bytedance_seedance1_5_flf2v",
+ "title": "Seedance 1.5 Pro: FLF2V",
+ "description": "Upload a start frame and end frame, and Seedance 1.5 Pro automatically generates a smooth video transition with synchronized audio between them.",
+ "tags": ["FLF2V", "Image to Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bytedance_seedance1_5_flf2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "sonilo": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sonilo_v2m-1.webp",
+ "provider": "Sonilo",
+ "modality": "audio",
+ "priceUsdFrom": 0.009,
+ "node": {
+ "id": "SoniloVideoToMusic",
+ "displayName": "Sonilo Video to Music",
+ "template": "api_sonilo_v2m"
+ },
+ "fields": [
+ {
+ "name": "video",
+ "label": "Video",
+ "hint": "Input video to generate music from. Maximum duration: 6 minutes.",
+ "kind": "file",
+ "accept": "video",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "prompt": "Sense of absurdity, a leopard sprinting at full speed in the wilderness, silent film, comedy",
+ "seed": 0
+ },
+ "examples": [
+ {
+ "name": "api_sonilo_v2m",
+ "title": "Sonilo: Video Soundtrack Generation",
+ "description": "Generate synchronized soundtracks from video footage. Input a video to produce music that matches its pacing and emotional cues, outputting a perfectly timed audio file.",
+ "tags": ["API", "Audio", "Music"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sonilo_v2m-1.webp",
+ "values": {
+ "prompt": "Sense of absurdity, a leopard sprinting at full speed in the wilderness, silent film, comedy",
+ "seed": 0
+ }
+ },
+ {
+ "name": "api_sonilo_t2m",
+ "title": "Sonilo: Text to Music Generation",
+ "description": "Generate high-quality, production-ready music from text prompts. Input descriptive text to create original soundtracks with streaming playback and precise duration control.",
+ "tags": ["API", "Audio", "Text to Music"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sonilo_t2m-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "sync": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sync_so_talking_image-1.webp",
+ "provider": "sync.so",
+ "modality": "video",
+ "priceUsdFrom": 0.19019,
+ "node": {
+ "id": "SyncTalkingImageNode",
+ "displayName": "sync.so Talking Image",
+ "template": "api_sync_so_talking_image"
+ },
+ "fields": [
+ {
+ "name": "image",
+ "label": "Image",
+ "hint": "A single image with a clearly visible face, up to 4K (4096x2160).",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "audio",
+ "label": "Audio",
+ "kind": "file",
+ "accept": "audio",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "sync.so generation model. Image input is exclusive to sync-3.",
+ "kind": "select",
+ "options": ["sync-3"],
+ "default": "sync-3"
+ },
+ {
+ "name": "speaker_selection",
+ "label": "Speaker selection",
+ "kind": "select",
+ "options": ["default", "coordinates"],
+ "default": "default"
+ },
+ {
+ "name": "speaker_x",
+ "label": "Speaker x",
+ "kind": "number",
+ "min": 0,
+ "max": 4096,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "speaker_y",
+ "label": "Speaker y",
+ "kind": "number",
+ "min": 0,
+ "max": 4096,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "auto_downscale",
+ "label": "Auto downscale",
+ "kind": "toggle",
+ "default": true
+ }
+ ],
+ "defaults": {
+ "prompt": "Close-up beauty ad. She holds the Berry Gel Cream tube near her cheek, looks at camera, and speaks softly with subtle lip movement. Keep mouth opening small and natural, no exaggerated wide open mouth. Gentle smile, calm head motion, about 5–6 seconds.",
+ "seed": 999999,
+ "model": "sync-3",
+ "speaker_selection": "default",
+ "speaker_x": 0,
+ "speaker_y": 0,
+ "auto_downscale": true
+ },
+ "examples": [
+ {
+ "name": "api_sync_so_talking_image",
+ "title": "Sync 3: Talking Image",
+ "description": "Generate a talking-head video from a single face photo and an audio clip, with lips and lower-face motion precisely synchronized to the speech. This process outputs one video from one image and one audio input, keeping hands, products, and background completely unchanged. Ideal for product demos, e-commerce introductions, and marketing videos where a static product-holding photo is paired with a voiceover.",
+ "tags": ["API", "Lip Sync"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sync_so_talking_image-1.webp",
+ "values": {
+ "prompt": "Close-up beauty ad. She holds the Berry Gel Cream tube near her cheek, looks at camera, and speaks softly with subtle lip movement. Keep mouth opening small and natural, no exaggerated wide open mouth. Gentle smile, calm head motion, about 5–6 seconds.",
+ "seed": 999999,
+ "model": "sync-3",
+ "speaker_selection": "default",
+ "speaker_x": 0,
+ "speaker_y": 0,
+ "auto_downscale": true
+ }
+ },
+ {
+ "name": "api_sync_so_lip_sync_video",
+ "title": "Sync 3: Video Lip-Sync",
+ "description": "Synchronize a video's lip movements with a new audio track using the Sync Labs sync-3 model, which automatically adjusts the speaker’s mouth to match your uploaded audio. This workflow takes 1 video and 1 audio input to produce 1 synced video output. Ideal for dubbing foreign-language content, correcting mismatched dialogue in video production, or animating a static portrait to speak.",
+ "tags": ["API", "Lip Sync"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_sync_so_lip_sync_video-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "topaz-labs": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_topaz_image_enhance_wonder3_5-1.webp",
+ "provider": "Topaz",
+ "modality": "image",
+ "node": {
+ "id": "TopazImageEnhanceV2",
+ "displayName": "Topaz Image Enhance",
+ "template": "api_topaz_image_enhance_wonder3_5"
+ },
+ "fields": [
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["Reimagine", "Bloom 2", "Wonder 3.5"],
+ "default": "Reimagine"
+ },
+ {
+ "name": "enhancement_strength",
+ "label": "Enhancement strength",
+ "hint": "Enhancement level for varying input conditions.",
+ "kind": "select",
+ "options": ["low", "medium", "high"],
+ "default": "high"
+ },
+ {
+ "name": "grain",
+ "label": "Grain",
+ "hint": "Add grain to the output image.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "grain_model",
+ "label": "Grain model",
+ "hint": "Is ignored if grain is disabled.",
+ "kind": "select",
+ "options": ["silver", "gaussian", "grey"],
+ "default": "silver"
+ },
+ {
+ "name": "grain_strength",
+ "label": "Grain strength",
+ "hint": "Strength of the grain effect. Is ignored if grain is disabled.",
+ "kind": "number",
+ "min": 0,
+ "max": 1,
+ "step": 0.01,
+ "default": 0.5
+ },
+ {
+ "name": "grain_size",
+ "label": "Grain size",
+ "hint": "Size of the grain particles. Is ignored if grain is disabled.",
+ "kind": "number",
+ "min": 1,
+ "max": 5,
+ "step": 0.1,
+ "default": 1
+ },
+ {
+ "name": "grain_density",
+ "label": "Grain density",
+ "hint": "Intensity of the grain effect. Is ignored if grain is disabled.",
+ "kind": "number",
+ "min": 0,
+ "max": 1,
+ "step": 0.01,
+ "default": 0.5
+ },
+ {
+ "name": "output_width",
+ "label": "Output width",
+ "kind": "number",
+ "min": 0,
+ "max": 32000,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "output_height",
+ "label": "Output height",
+ "kind": "number",
+ "min": 0,
+ "max": 32000,
+ "step": 1,
+ "default": 0
+ }
+ ],
+ "defaults": {
+ "model": "Wonder 3.5",
+ "enhancement_strength": "high",
+ "grain": false,
+ "grain_model": "silver",
+ "grain_strength": 0.5,
+ "grain_size": 1,
+ "grain_density": 0.5,
+ "output_width": 0,
+ "output_height": 0
+ },
+ "examples": [
+ {
+ "name": "api_topaz_image_enhance_wonder3_5",
+ "title": "Image Upscale: Topaz Wonder 3.5",
+ "description": "Upscale and enhance a single image using Topaz's Wonder 3.5 generative model, which adds fine detail, reduces noise, and sharpens text and structured graphics while offering Low, Medium, and High enhancement strengths. The workflow takes 1 input image and produces 1 enhanced output alongside a side-by-side comparison view. Ideal for restoring old or compressed photos, improving product shots and marketing visuals, and preparing low-resolution images for print or large-format display.",
+ "tags": ["API", "Image Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_topaz_image_enhance_wonder3_5-1.webp",
+ "values": {
+ "model": "Wonder 3.5",
+ "enhancement_strength": "high",
+ "grain": false,
+ "grain_model": "silver",
+ "grain_strength": 0.5,
+ "grain_size": 1,
+ "grain_density": 0.5,
+ "output_width": 0,
+ "output_height": 0
+ }
+ },
+ {
+ "name": "api_topaz_image_enhance_bloom2",
+ "title": "Image Upscale: Topaz Bloom 2",
+ "description": "Enhance AI-generated images with Bloom 2, a creative upscaling model that adds new detail, texture, and visual elements while offering a Creativity control from 1–9 for subtle refinement or bold reinterpretation. It accepts 1 input image and produces 1 enhanced output, with optional Face Recovery, Color Preservation, and grain settings for fine-tuned results. Ideal for improving AI artwork and illustrations, adding realism to CG renders, and refining facial detail in generated portraits.",
+ "tags": ["API", "Image Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_topaz_image_enhance_bloom2-1.webp",
+ "values": {
+ "model": "Bloom 2",
+ "prompt": "",
+ "creativity": 3,
+ "seed": 649,
+ "color_preservation": true,
+ "grain": false,
+ "grain_model": "silver",
+ "grain_strength": 0.5,
+ "grain_size": 1,
+ "grain_density": 0.5,
+ "output_width": 0,
+ "output_height": 0
+ }
+ },
+ {
+ "name": "api_topaz_image_enhance",
+ "title": "Image Upscale: Topaz Reimagine",
+ "description": "Professional image enhancement using Topaz's Reimagine model with face enhancement and detail restoration.",
+ "tags": ["Image Upscale", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_topaz_image_enhance-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "tripo-3d": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_tripo3_1_image_to_model-1.webp",
+ "provider": "Tripo",
+ "modality": "text",
+ "node": {
+ "id": "TripoTextureNode",
+ "displayName": "Tripo: Texture model",
+ "template": "api_tripo3_1_image_to_model"
+ },
+ "fields": [
+ {
+ "name": "texture",
+ "label": "Texture",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "pbr",
+ "label": "Pbr",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "texture_quality",
+ "label": "Texture quality",
+ "kind": "select",
+ "options": ["standard", "detailed"],
+ "default": "standard"
+ },
+ {
+ "name": "texture_alignment",
+ "label": "Texture alignment",
+ "kind": "select",
+ "options": ["original_image", "geometry"],
+ "default": "original_image"
+ },
+ {
+ "name": "texture_prompt",
+ "label": "Texture prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ }
+ ],
+ "defaults": {
+ "texture": true,
+ "pbr": true
+ },
+ "examples": [
+ {
+ "name": "api_tripo3_1_image_to_model",
+ "title": "Tripo H3.1: Image to Model",
+ "description": "Upload a reference image of your object. Generate a high-detail 3D model with dense geometry and PBR-ready materials.",
+ "tags": ["3D", "API", "Image to 3D"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_tripo3_1_image_to_model-1.webp",
+ "values": {
+ "texture": true,
+ "pbr": true
+ }
+ },
+ {
+ "name": "api_tripo_p1_image_to_model",
+ "title": "Tripo P1: Image to Model",
+ "description": "Upload a reference image of your subject. Generate a game-ready 3D model with clean topology and optimized polygon budgets",
+ "tags": ["3D", "API", "Image to 3D"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_tripo_p1_image_to_model-1.webp",
+ "values": {
+ "texture": true,
+ "pbr": true
+ }
+ },
+ {
+ "name": "api_tripo_p1_text_to_model",
+ "title": "Tripo P1: Text to Model",
+ "description": "Input a text description of a 3D model. Generate a game-ready 3D model with clean topology and optimized polygon counts",
+ "tags": ["API", "3D", "Text to Model"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_tripo_p1_text_to_model-1.webp",
+ "values": {
+ "texture": true,
+ "pbr": true
+ }
+ }
+ ]
+ },
+ "vidu": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_vidu_q3_text_to_video-1.webp",
+ "provider": "Vidu",
+ "modality": "video",
+ "node": {
+ "id": "Vidu3TextToVideoNode",
+ "displayName": "Vidu Q3 Text-to-Video Generation",
+ "template": "api_vidu_q3_text_to_video"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "Model to use for video generation.",
+ "kind": "select",
+ "options": ["viduq3-pro", "viduq3-turbo"],
+ "default": "viduq3-pro"
+ },
+ {
+ "name": "aspect_ratio",
+ "label": "Aspect ratio",
+ "hint": "The aspect ratio of the output video.",
+ "kind": "select",
+ "options": ["16:9", "9:16", "3:4", "4:3", "1:1"],
+ "default": "16:9"
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "hint": "Resolution of the output video.",
+ "kind": "select",
+ "options": ["720p", "1080p"],
+ "default": "720p"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "hint": "Duration of the output video in seconds.",
+ "kind": "number",
+ "min": 1,
+ "max": 16,
+ "step": 1,
+ "default": 5
+ },
+ {
+ "name": "audio",
+ "label": "Audio",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "A textual description for video generation, with a maximum length of 2000 characters.",
+ "kind": "text",
+ "multiline": true,
+ "required": true
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 1
+ }
+ ],
+ "defaults": {
+ "model": "viduq3-pro",
+ "aspect_ratio": "16:9",
+ "resolution": "720p",
+ "duration": 6,
+ "audio": true,
+ "prompt": "Urban street chase, night, neon reflections. High-octane action aesthetic with dynamic camera movement, vibrant neon colors against dark streets, motion blur. Photorealistic cinematic quality, RED camera high frame rate for slow-motion capability, anamorphic lens flares from streetlights.\n\nDirector: Justin Lin\nCinematographer: Stephen F. Windon (Fast & Furious franchise)\n\nShot 1 (0-3s): Low-angle tracking shot mounted on car hood. Driver's intense face through windshield, knuckles white gripping steering wheel. Neon signs blur past on either side - streaks of pink, blue, green. He grits teeth and shouts: \"Hold on!\" Yanks wheel hard right. Sound: engine roaring at high RPM, tires screeching on asphalt, wind rushing, EDM bass-heavy music pumping.\n\nShot 2 (3-6s): Exterior wide shot, high angle from above. Car drifts around corner in slow-motion, rear tires smoking, sparks flying from undercarriage scraping pavement. Neon puddle reflections on wet street. Camera rotates 180 degrees following the drift arc. Behind the car, two police cruisers with flashing red-blue lights struggle to make the turn - one clips a parked car, mirror exploding. Final frame: Hero car accelerates away from camera in real-time speed, taillights glowing red, disappearing into tunnel with motion blur streaks. Sound: tire screech extended in slow-mo becoming deep rumble, metal scrape, collision crunch from cop car, then sudden speed-up with doppler shift as hero car rockets away.\n\nColor Grading: Vibrant neon colors - cyan, magenta, yellow - against deep blue-black night. Wet street reflections double all light sources. High contrast with glowing highlights.\n\nAudio: Aggressive mix - powerful engine notes, tire squeals at multiple pitches, metal impacts, doppler shifts. Electronic music with heavy bass drop at the drift moment. Police sirens distant then fading.",
+ "seed": 999999
+ },
+ "examples": [
+ {
+ "name": "api_vidu_q3_text_to_video",
+ "title": "Vidu Q3 Audio-Visual Video Generation",
+ "description": "Input a text prompt or upload an image to generate a 1-16 second video with synchronized audio and automatic scene transitions.",
+ "tags": ["API", "Text to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_vidu_q3_text_to_video-1.webp",
+ "values": {
+ "model": "viduq3-pro",
+ "aspect_ratio": "16:9",
+ "resolution": "720p",
+ "duration": 6,
+ "audio": true,
+ "prompt": "Urban street chase, night, neon reflections. High-octane action aesthetic with dynamic camera movement, vibrant neon colors against dark streets, motion blur. Photorealistic cinematic quality, RED camera high frame rate for slow-motion capability, anamorphic lens flares from streetlights.\n\nDirector: Justin Lin\nCinematographer: Stephen F. Windon (Fast & Furious franchise)\n\nShot 1 (0-3s): Low-angle tracking shot mounted on car hood. Driver's intense face through windshield, knuckles white gripping steering wheel. Neon signs blur past on either side - streaks of pink, blue, green. He grits teeth and shouts: \"Hold on!\" Yanks wheel hard right. Sound: engine roaring at high RPM, tires screeching on asphalt, wind rushing, EDM bass-heavy music pumping.\n\nShot 2 (3-6s): Exterior wide shot, high angle from above. Car drifts around corner in slow-motion, rear tires smoking, sparks flying from undercarriage scraping pavement. Neon puddle reflections on wet street. Camera rotates 180 degrees following the drift arc. Behind the car, two police cruisers with flashing red-blue lights struggle to make the turn - one clips a parked car, mirror exploding. Final frame: Hero car accelerates away from camera in real-time speed, taillights glowing red, disappearing into tunnel with motion blur streaks. Sound: tire screech extended in slow-mo becoming deep rumble, metal scrape, collision crunch from cop car, then sudden speed-up with doppler shift as hero car rockets away.\n\nColor Grading: Vibrant neon colors - cyan, magenta, yellow - against deep blue-black night. Wet street reflections double all light sources. High contrast with glowing highlights.\n\nAudio: Aggressive mix - powerful engine notes, tire squeals at multiple pitches, metal impacts, doppler shifts. Electronic music with heavy bass drop at the drift moment. Police sirens distant then fading.",
+ "seed": 999999
+ }
+ },
+ {
+ "name": "api_vidu_q3_image_to_video",
+ "title": "Vidu Q3 Image-to-Video with Audio",
+ "description": "Upload an image and provide a text prompt to generate a 1-16 second video with synchronized audio and intelligent scene transitions.",
+ "tags": ["API", "Image to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_vidu_q3_image_to_video-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_vidu_q2_i2v",
+ "title": "Vidu Q2: Image to Video",
+ "description": "Transform static images into dynamic 1080p videos with cinematic camera control, multi-subject consistency",
+ "tags": ["Image to Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_vidu_q2_i2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "wan-3-0": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan3_0_r2v-1.webp",
+ "provider": "Wan",
+ "modality": "video",
+ "node": {
+ "id": "Wan3ReferenceToVideoApi",
+ "displayName": "Wan 3.0 Reference to Video",
+ "template": "api_wan3_0_r2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["wan3.0-video", "wan3.0-video-prime"],
+ "default": "wan3.0-video"
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["1080P", "720P", "480P"],
+ "default": "1080P"
+ },
+ {
+ "name": "ratio",
+ "label": "Ratio",
+ "kind": "select",
+ "options": ["adaptive", "16:9", "9:16", "1:1", "4:3", "3:4"],
+ "default": "adaptive"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "kind": "select",
+ "options": ["auto"],
+ "default": "auto"
+ },
+ {
+ "name": "audio",
+ "label": "Audio",
+ "hint": "Whether the output video contains an audio track.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "prompt_extend",
+ "label": "Prompt extend",
+ "hint": "Whether to enhance the prompt with AI assistance.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 42
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AI-generated watermark to the result.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "wan3.0-video",
+ "prompt": "Generate a 5-second, 16:9 street dance shoe showcase video: using @Image1 as the shoe reference and @Image2 as the character reference, a young man wearing the orange-and-white sneakers performs a street dance routine in front of a deep-blue backdrop, showcasing the shoes in motion throughout.\n\nMultimodal reference layer:\n- @Image1 (product spec): strictly keep the shoe design: the orange-and-white color blocking, streamlined silhouette, engineered mesh upper, breathable textile lining, dual-density midsole foam, Max-Air unit at the heel, and dynamic lacing system; ignore the callout text, arrows, numbering, and exploded view in the original\n- @Image2 (character portrait): strictly keep the character and the backdrop tone: a young man with short dark hair, a plain grey hoodie, futuristic white-framed sunglasses with blue iridescent lenses, on a deep-blue background; no text anywhere in the frame\n\nGlobal settings:\n- Scene and materials: seamless deep-blue studio backdrop matching the character reference, subtle floor reflections; streetwear commercial texture, high saturation and contrast\n- Visual style: hip-hop dance commercial, dynamic composition with a strong edit feel, the orange-and-white shoe as the visual anchor against the deep blue\n- Camera language: opening tilt-down to the feet, low-angle follow on the footwork, closing slide-and-freeze, the camera glued to the shoe's movement the whole time\n- Lighting: hard top light plus side-backlight with a cool rim glow, the floor reflecting the shoe's motion trail\n\nStoryboard:\n[0-1.5s] Slide-in entry: the character glides sideways into frame from off-screen, body grooving to the beat, the camera whipping down from a half-body shot to the feet, the orange-and-white sneaker drawing a smooth slide across the floor, sole squeaking softly\n\n[1.5-3.5s] Dance combo: the character chains a wave, kick, spin, and squat in a continuous street dance combo, the camera following the footwork low-angle as mesh texture, dynamic lacing, and the translucent air unit flash clearly in the fast motion, every landing hitting the floor with a crisp thud\n[3.5-5s] Hero freeze: the character slides on one knee to the camera, leaning back with one finger pointed at the lens; the camera finishes on a close-up of the shoe, the orange-and-white sneaker stopping dead center, freezing into a dynamic hero shot\n\nAudio design: layered ambience: heavy-bass hip-hop beat with DJ scratches; sole friction, shoe landings, and fabric whip sounds, every move landing on the beat; no dialogue, no voiceover.\n\nNegative constraints: hands never in pockets; no text, graffiti, callouts, or UI anywhere in the frame; no subtitles, no black frames, no jump cuts, no camera shake; do not alter the shoe's colorway or the character's outfit.",
+ "resolution": "720P",
+ "ratio": "adaptive",
+ "duration": "auto",
+ "audio": true,
+ "prompt_extend": true,
+ "seed": 999999,
+ "watermark": false
+ },
+ "examples": [
+ {
+ "name": "api_wan3_0_r2v",
+ "title": "Wan3.0: Reference to Video",
+ "description": "Generate a video from two reference images using Wan3.0's reference-to-video capability, which produces up to 30 seconds of footage with character consistency and lifelike visuals. Ideal for creating consistent character animations, scene replication from visual references, and producing audiovisual content from static imagery.",
+ "tags": ["API", "Reference to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan3_0_r2v-1.webp",
+ "values": {
+ "model": "wan3.0-video",
+ "prompt": "Generate a 5-second, 16:9 street dance shoe showcase video: using @Image1 as the shoe reference and @Image2 as the character reference, a young man wearing the orange-and-white sneakers performs a street dance routine in front of a deep-blue backdrop, showcasing the shoes in motion throughout.\n\nMultimodal reference layer:\n- @Image1 (product spec): strictly keep the shoe design: the orange-and-white color blocking, streamlined silhouette, engineered mesh upper, breathable textile lining, dual-density midsole foam, Max-Air unit at the heel, and dynamic lacing system; ignore the callout text, arrows, numbering, and exploded view in the original\n- @Image2 (character portrait): strictly keep the character and the backdrop tone: a young man with short dark hair, a plain grey hoodie, futuristic white-framed sunglasses with blue iridescent lenses, on a deep-blue background; no text anywhere in the frame\n\nGlobal settings:\n- Scene and materials: seamless deep-blue studio backdrop matching the character reference, subtle floor reflections; streetwear commercial texture, high saturation and contrast\n- Visual style: hip-hop dance commercial, dynamic composition with a strong edit feel, the orange-and-white shoe as the visual anchor against the deep blue\n- Camera language: opening tilt-down to the feet, low-angle follow on the footwork, closing slide-and-freeze, the camera glued to the shoe's movement the whole time\n- Lighting: hard top light plus side-backlight with a cool rim glow, the floor reflecting the shoe's motion trail\n\nStoryboard:\n[0-1.5s] Slide-in entry: the character glides sideways into frame from off-screen, body grooving to the beat, the camera whipping down from a half-body shot to the feet, the orange-and-white sneaker drawing a smooth slide across the floor, sole squeaking softly\n\n[1.5-3.5s] Dance combo: the character chains a wave, kick, spin, and squat in a continuous street dance combo, the camera following the footwork low-angle as mesh texture, dynamic lacing, and the translucent air unit flash clearly in the fast motion, every landing hitting the floor with a crisp thud\n[3.5-5s] Hero freeze: the character slides on one knee to the camera, leaning back with one finger pointed at the lens; the camera finishes on a close-up of the shoe, the orange-and-white sneaker stopping dead center, freezing into a dynamic hero shot\n\nAudio design: layered ambience: heavy-bass hip-hop beat with DJ scratches; sole friction, shoe landings, and fabric whip sounds, every move landing on the beat; no dialogue, no voiceover.\n\nNegative constraints: hands never in pockets; no text, graffiti, callouts, or UI anywhere in the frame; no subtitles, no black frames, no jump cuts, no camera shake; do not alter the shoe's colorway or the character's outfit.",
+ "resolution": "720P",
+ "ratio": "adaptive",
+ "duration": "auto",
+ "audio": true,
+ "prompt_extend": true,
+ "seed": 999999,
+ "watermark": false
+ }
+ },
+ {
+ "name": "api_wan3_0_i2v",
+ "title": "Wan3.0: Image to Video",
+ "description": "Create up to 30 seconds of high-fidelity video from a single image using Wan 3.0, which supports text, image, audio, and document inputs for versatile scene generation. Produces authentic, realistic footage with unique facial details and believable motion in one pass. Ideal for cinematic storytelling, product visualization, and documentary-style scene recreation.",
+ "tags": ["API", "Image to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan3_0_i2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_wan3_0_t2v",
+ "title": "Wan3.0: Text to Video",
+ "description": "Generate videos up to 30 seconds directly from text prompts using Wan3.0-Video, producing a single video output with lifelike visuals and synchronized sound. This workflow transforms written descriptions into immersive, production-ready footage with strong character consistency and cinematic quality. Ideal for cinematic storytelling, character-driven animations, and quick multimedia content creation.",
+ "tags": ["API", "Text to Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan3_0_t2v-1.webp",
+ "values": {
+ "model": "wan3.0-video",
+ "prompt": "Generate a 5-second, 16:9 ultra-widescreen plush universe adventure clip: a spaceship crafted entirely from plush fabric, buttons, zippers, and polyester stuffing blasts off from a yarn planet, then is swallowed whole by a colossal deep-blue shaggy plush whale, tumbling into a wondrous plush toy world inside its mouth.\n\nVisual style: hyper-detailed plush textures, cinematic cosmic scale, an endearing aesthetic juxtaposed against tense action, exaggerated FPV camera work, realistic soft-body physics; yarn strands, buttons, and cotton fluff rendered crisp and sharp.\n\nSubject: three small plush animals (a rabbit, a fox, and a crow) piloting a zipper ship with stitched seams and button-covered instrument panels; the whale has deep-blue shaggy fur and glass-button eyes.\n\nStoryboard:\n[0-2.5s] Launch: inside the cockpit a red warning button blinks rapidly, the rabbit pulls down an oversized zipper lever, and the front hatch splits open like a cloth sack; the camera rockets backward out of the ship as it blasts off from a knitted crater on the yarn planet, thrusters trailing plumes of white cotton fluff.\n[2.5-5s] Swallowed whole: a fuzzy nebula parts and the colossal whale opens its gaping maw, engulfing the ship; inside, the whale's mouth turns out to be a colossal plush toy world: huge soft fuzzy teeth line the cavity like pillars, suspended building blocks, stuffed dolls, and jingling bells collide midair, and the ship sprints low over the tongue's surface as its plush pile ripples violently; the camera tumbles continuously, freezing on the ship threading through a jungle of plush toys toward a glowing zipper skyline deep inside the whale.",
+ "resolution": "720P",
+ "ratio": "adaptive",
+ "duration": "auto",
+ "audio": true,
+ "prompt_extend": true,
+ "seed": 999999,
+ "watermark": false
+ }
+ }
+ ]
+ },
+ "wan-api": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan_image_to_video-1.webp",
+ "provider": "Wan",
+ "modality": "video",
+ "node": {
+ "id": "WanImageToVideoApi",
+ "displayName": "Wan Image to Video",
+ "template": "api_wan_image_to_video"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "Model to use.",
+ "kind": "select",
+ "options": ["wan2.5-i2v-preview", "wan2.6-i2v"],
+ "default": "wan2.6-i2v"
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Prompt describing the elements and visual features. Supports English and Chinese.",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "negative_prompt",
+ "label": "Negative prompt",
+ "hint": "Negative prompt describing what to avoid.",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["480P", "720P", "1080P"],
+ "default": "720P"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "hint": "Duration 15 available only for WAN2.6 model.",
+ "kind": "number",
+ "min": 5,
+ "max": 15,
+ "step": 5,
+ "default": 5
+ },
+ {
+ "name": "audio",
+ "label": "Audio",
+ "hint": "Audio must contain a clear, loud voice, without extraneous noise or background music.",
+ "kind": "file",
+ "accept": "audio",
+ "required": false
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "generate_audio",
+ "label": "Generate audio",
+ "hint": "If no audio input is provided, generate audio automatically.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "prompt_extend",
+ "label": "Prompt extend",
+ "hint": "Whether to enhance the prompt with AI assistance.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AI-generated watermark to the result.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "shot_type",
+ "label": "Shot type",
+ "kind": "select",
+ "options": ["single", "multi"],
+ "default": "single"
+ }
+ ],
+ "defaults": {
+ "model": "wan2.5-i2v-preview",
+ "prompt": "A cinematic, over-the-shoulder shot of a modern military conflict in a vast, arid desert landscape. The foreground is heavily blurred, showing the back of a soldier's camouflaged helmet and weapon, creating a first-person perspective from behind rocky cover. In the sun-drenched midground, soldiers in full desert combat gear are positioned around armored tanks on the sandy terrain; one soldier is crouched and aiming their rifle. A large, violent explosion erupts with orange fire and billowing tan smoke behind the central tank. In the far background, a range of rugged, snow-capped mountains rises against a clear, bright teal-blue sky. The image has a shallow depth of field, a distinct teal-and-orange cinematic color grade, and a tense, action-packed atmosphere.",
+ "negative_prompt": "",
+ "resolution": "720P",
+ "duration": 5,
+ "seed": 999999,
+ "generate_audio": true,
+ "prompt_extend": true,
+ "watermark": false
+ },
+ "examples": [
+ {
+ "name": "api_wan_image_to_video",
+ "title": "Wan2.5: Image to Video",
+ "description": "Transform images into videos with synchronized audio, enhanced motion, and superior quality.",
+ "tags": ["Image to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan_image_to_video-1.webp",
+ "values": {
+ "model": "wan2.5-i2v-preview",
+ "prompt": "A cinematic, over-the-shoulder shot of a modern military conflict in a vast, arid desert landscape. The foreground is heavily blurred, showing the back of a soldier's camouflaged helmet and weapon, creating a first-person perspective from behind rocky cover. In the sun-drenched midground, soldiers in full desert combat gear are positioned around armored tanks on the sandy terrain; one soldier is crouched and aiming their rifle. A large, violent explosion erupts with orange fire and billowing tan smoke behind the central tank. In the far background, a range of rugged, snow-capped mountains rises against a clear, bright teal-blue sky. The image has a shallow depth of field, a distinct teal-and-orange cinematic color grade, and a tense, action-packed atmosphere.",
+ "negative_prompt": "",
+ "resolution": "720P",
+ "duration": 5,
+ "seed": 999999,
+ "generate_audio": true,
+ "prompt_extend": true,
+ "watermark": false
+ }
+ },
+ {
+ "name": "api_wan_r2v",
+ "title": "WAN2.6: Reference to Video",
+ "description": "Creating identity-preserved videos with natural movement and cinematic quality.",
+ "tags": ["API", "Character Reference", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan_r2v-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_wan_text_to_video",
+ "title": "Wan2.5: Text to Video",
+ "description": "Generate videos with synchronized audio, enhanced motion, and superior quality.",
+ "tags": ["Image to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan_text_to_video-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "wan2-6": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_6_i2v-1.webp",
+ "provider": "Wan",
+ "modality": "video",
+ "node": {
+ "id": "WanImageToVideoApi",
+ "displayName": "Wan Image to Video",
+ "template": "api_wan2_6_i2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "hint": "Model to use.",
+ "kind": "select",
+ "options": ["wan2.5-i2v-preview", "wan2.6-i2v"],
+ "default": "wan2.6-i2v"
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "hint": "Prompt describing the elements and visual features. Supports English and Chinese.",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "negative_prompt",
+ "label": "Negative prompt",
+ "hint": "Negative prompt describing what to avoid.",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["480P", "720P", "1080P"],
+ "default": "720P"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "hint": "Duration 15 available only for WAN2.6 model.",
+ "kind": "number",
+ "min": 5,
+ "max": 15,
+ "step": 5,
+ "default": 5
+ },
+ {
+ "name": "audio",
+ "label": "Audio",
+ "hint": "Audio must contain a clear, loud voice, without extraneous noise or background music.",
+ "kind": "file",
+ "accept": "audio",
+ "required": false
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "generate_audio",
+ "label": "Generate audio",
+ "hint": "If no audio input is provided, generate audio automatically.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "prompt_extend",
+ "label": "Prompt extend",
+ "hint": "Whether to enhance the prompt with AI assistance.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AI-generated watermark to the result.",
+ "kind": "toggle",
+ "default": false
+ },
+ {
+ "name": "shot_type",
+ "label": "Shot type",
+ "kind": "select",
+ "options": ["single", "multi"],
+ "default": "single"
+ }
+ ],
+ "defaults": {
+ "model": "wan2.6-i2v",
+ "prompt": "A cinematic low-angle tracking shot follows a glossy red supercar speeding along a winding road at golden hour. The camera rides inches above the asphalt near the front wheel, locked to the car as trees and scenery streak into smooth motion blur, intense parallax and lens flare from the setting sun. The car body reflections flow like liquid, wheel spin blur, sharp subject with shallow depth of field, realistic lighting, 4K, 60fps, speed ramp, premium car commercial style.\n",
+ "negative_prompt": "low quality, blurry, out of focus, jittery camera, excessive shake, warped car body, deformed wheels, extra wheels, bad reflections, artifacts, banding, flicker, text, watermark, logo, oversaturated, noisy",
+ "resolution": "720P",
+ "duration": 5,
+ "seed": 999999,
+ "generate_audio": true,
+ "prompt_extend": true,
+ "watermark": false,
+ "shot_type": "single"
+ },
+ "examples": [
+ {
+ "name": "api_wan2_6_i2v",
+ "title": "Wan2.6: Image to Video",
+ "description": "Transform images into high-quality videos with enhanced image quality, smoother motion, 1080P resolution support, and natural movement generation for professional results.",
+ "tags": ["Image to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_6_i2v-1.webp",
+ "values": {
+ "model": "wan2.6-i2v",
+ "prompt": "A cinematic low-angle tracking shot follows a glossy red supercar speeding along a winding road at golden hour. The camera rides inches above the asphalt near the front wheel, locked to the car as trees and scenery streak into smooth motion blur, intense parallax and lens flare from the setting sun. The car body reflections flow like liquid, wheel spin blur, sharp subject with shallow depth of field, realistic lighting, 4K, 60fps, speed ramp, premium car commercial style.\n",
+ "negative_prompt": "low quality, blurry, out of focus, jittery camera, excessive shake, warped car body, deformed wheels, extra wheels, bad reflections, artifacts, banding, flicker, text, watermark, logo, oversaturated, noisy",
+ "resolution": "720P",
+ "duration": 5,
+ "seed": 999999,
+ "generate_audio": true,
+ "prompt_extend": true,
+ "watermark": false,
+ "shot_type": "single"
+ }
+ },
+ {
+ "name": "api_wan2_6_t2v",
+ "title": "Wan2.6: Text to Video",
+ "description": "Generate high-quality videos from text prompts with enhanced image quality, smoother motion, 1080P resolution support, and improved prompt understanding for natural, professional results.",
+ "tags": ["Text to Video", "Video", "API"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_6_t2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "wan2-7": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_7_i2v-1.webp",
+ "provider": "Wan",
+ "modality": "video",
+ "node": {
+ "id": "Wan2ImageToVideoApi",
+ "displayName": "Wan 2.7 Image to Video",
+ "template": "api_wan2_7_i2v"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["wan2.7-i2v"],
+ "default": "wan2.7-i2v"
+ },
+ {
+ "name": "prompt",
+ "label": "Prompt",
+ "kind": "text",
+ "multiline": true,
+ "required": true,
+ "default": ""
+ },
+ {
+ "name": "negative_prompt",
+ "label": "Negative prompt",
+ "hint": "Negative prompt describing what to avoid.",
+ "kind": "text",
+ "multiline": true,
+ "required": false,
+ "default": ""
+ },
+ {
+ "name": "resolution",
+ "label": "Resolution",
+ "kind": "select",
+ "options": ["720P", "1080P"],
+ "default": "720P"
+ },
+ {
+ "name": "duration",
+ "label": "Duration",
+ "kind": "number",
+ "min": 2,
+ "max": 15,
+ "step": 1,
+ "default": 5
+ },
+ {
+ "name": "first_frame",
+ "label": "First frame",
+ "hint": "First frame image. The output aspect ratio is derived from this image.",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "last_frame",
+ "label": "Last frame",
+ "hint": "Last frame image. The model generates a video transitioning from first to last frame.",
+ "kind": "file",
+ "accept": "image",
+ "required": false
+ },
+ {
+ "name": "audio",
+ "label": "Audio",
+ "kind": "file",
+ "accept": "audio",
+ "required": false
+ },
+ {
+ "name": "seed",
+ "label": "Seed",
+ "hint": "Seed to use for generation.",
+ "kind": "number",
+ "min": 0,
+ "max": 999999,
+ "step": 1,
+ "default": 0
+ },
+ {
+ "name": "prompt_extend",
+ "label": "Prompt extend",
+ "hint": "Whether to enhance the prompt with AI assistance.",
+ "kind": "toggle",
+ "default": true
+ },
+ {
+ "name": "watermark",
+ "label": "Watermark",
+ "hint": "Whether to add an AI-generated watermark to the result.",
+ "kind": "toggle",
+ "default": false
+ }
+ ],
+ "defaults": {
+ "model": "wan2.7-i2v",
+ "prompt": "Starting from the front view, the camera slowly orbits behind the TV-headed figure, settling over its shoulder and looking out across the dim, blurred office into the darkness beyond. A deep ambient bass tone hums. The figure doesn't move, but the screen's glow casts a faint rectangle of light forward into the dark room. TV Head (quietly): \"Something's out there.\" The screen flickers once. \"It's been watching us back.\"\n",
+ "negative_prompt": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,字幕,文本",
+ "resolution": "720P",
+ "duration": 10,
+ "seed": 999999,
+ "prompt_extend": true,
+ "watermark": false
+ },
+ "examples": [
+ {
+ "name": "api_wan2_7_i2v",
+ "title": "Wan2.7: Image to Video",
+ "description": "Upload an image and audio file to generate a video with synchronized sound, using the first and last frames for control.",
+ "tags": ["API", "Image to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_7_i2v-1.webp",
+ "values": {
+ "model": "wan2.7-i2v",
+ "prompt": "Starting from the front view, the camera slowly orbits behind the TV-headed figure, settling over its shoulder and looking out across the dim, blurred office into the darkness beyond. A deep ambient bass tone hums. The figure doesn't move, but the screen's glow casts a faint rectangle of light forward into the dark room. TV Head (quietly): \"Something's out there.\" The screen flickers once. \"It's been watching us back.\"\n",
+ "negative_prompt": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,字幕,文本",
+ "resolution": "720P",
+ "duration": 10,
+ "seed": 999999,
+ "prompt_extend": true,
+ "watermark": false
+ }
+ },
+ {
+ "name": "api_wan2_7_video_edit",
+ "title": "Wan2.7: Video Edit",
+ "description": "Upload a video and corresponding images to edit and replace characters or scenes using the Wan2.7 model.",
+ "tags": ["API", "Video", "Video Edit"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_7_video_edit-1.webp",
+ "values": {}
+ },
+ {
+ "name": "api_wan2_7_t2v",
+ "title": "Wan2.7: Text to Video",
+ "description": "Generate videos from text prompts using Wan 2.7. Supports audio reference to create lip-synced video",
+ "tags": ["API", "Lip Sync", "Text to Video", "Video"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wan2_7_t2v-1.webp",
+ "values": {}
+ }
+ ]
+ },
+ "wavespeed": {
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wavespeed_image_upscale-1.webp",
+ "provider": "WaveSpeed",
+ "modality": "image",
+ "node": {
+ "id": "WavespeedImageUpscaleNode",
+ "displayName": "WaveSpeed Image Upscale",
+ "template": "api_wavespeed_image_upscale"
+ },
+ "fields": [
+ {
+ "name": "model",
+ "label": "Model",
+ "kind": "select",
+ "options": ["SeedVR2", "Ultimate"],
+ "default": "SeedVR2"
+ },
+ {
+ "name": "image",
+ "label": "Image",
+ "kind": "file",
+ "accept": "image",
+ "required": true
+ },
+ {
+ "name": "target_resolution",
+ "label": "Target resolution",
+ "kind": "select",
+ "options": ["2K", "4K", "8K"],
+ "default": "2K"
+ }
+ ],
+ "defaults": {
+ "model": "SeedVR2",
+ "target_resolution": "2K"
+ },
+ "examples": [
+ {
+ "name": "api_wavespeed_image_upscale",
+ "title": "Image Upscale: WaveSpeed",
+ "description": "Upload an image to upscale its resolution. Generate an enhanced 2K, 4K, or 8K output that preserves details and reduces artifacts in JPEG, PNG, or WEBP format.",
+ "tags": ["API", "Image Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wavespeed_image_upscale-1.webp",
+ "values": {
+ "model": "SeedVR2",
+ "target_resolution": "2K"
+ }
+ },
+ {
+ "name": "api_wavespeed_seedvr2_ai_image_fix",
+ "title": "Image Upscale: WaveSpeed SeedVR2",
+ "description": "Upload an AI-generated image to restore details and upscale. The workflow preserves colors and sharpness while minimizing artifacts. Output is a high-quality, enlarged version of your input.",
+ "tags": ["API", "Image Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wavespeed_seedvr2_ai_image_fix-1.webp",
+ "values": {
+ "model": "SeedVR2",
+ "target_resolution": "4K"
+ }
+ },
+ {
+ "name": "api_wavespeed_flshvsr_video_upscale",
+ "title": "Video Upscale: WaveSpeed FlashVSR",
+ "description": "Upload a video to upscale it to 720p, 1080p, 2K, or 4K. The workflow enhances detail, reduces artifacts, and ensures consistent motion for a high-quality, natural-looking output.",
+ "tags": ["API", "Video Upscale"],
+ "thumbnailUrl": "https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_wavespeed_flshvsr_video_upscale-1.webp",
+ "values": {}
+ }
+ ]
+ }
+}
diff --git a/apps/website/src/config/workshop-playground.test.ts b/apps/website/src/config/workshop-playground.test.ts
index cf38f11971c..7a1611106e2 100644
--- a/apps/website/src/config/workshop-playground.test.ts
+++ b/apps/website/src/config/workshop-playground.test.ts
@@ -3,22 +3,80 @@ import { describe, expect, it } from 'vitest'
import {
MAX_UPLOAD_BYTES,
defaultValues,
- schemaFor,
+ schemaForModel,
validateForm
} from './workshop-playground'
import { buildSnippet } from './workshop-snippets'
+import type { GeneratedField } from './workshop'
-describe('playground form', () => {
- const schema = schemaFor('video')
+const generatedFields: GeneratedField[] = [
+ {
+ kind: 'text',
+ name: 'prompt',
+ label: 'Prompt',
+ multiline: true,
+ required: true
+ },
+ {
+ kind: 'select',
+ name: 'mode',
+ label: 'Mode',
+ options: ['std', 'pro'],
+ default: 'pro'
+ },
+ { kind: 'toggle', name: 'audio', label: 'Audio', default: true },
+ {
+ kind: 'file',
+ name: 'image',
+ label: 'Image',
+ accept: 'image',
+ required: false
+ }
+]
+
+describe('schemaForModel', () => {
+ it('uses the generated node inputs when present', () => {
+ const schema = schemaForModel({
+ fields: generatedFields,
+ modality: 'video'
+ })
+ expect(schema.map((f) => f.kind)).toEqual([
+ 'text',
+ 'select',
+ 'toggle',
+ 'file'
+ ])
+ })
+
+ it('falls back to a modality schema otherwise', () => {
+ const schema = schemaForModel({ fields: [], modality: 'video' })
+ expect(schema.map((f) => f.name)).toContain('duration')
+ })
+})
- it('seeds selects and numbers, leaves text and files empty', () => {
+describe('defaultValues', () => {
+ const schema = schemaForModel({ fields: generatedFields, modality: 'video' })
+
+ it('seeds selects, numbers and toggles, leaves text and files empty', () => {
const values = defaultValues(schema)
- expect(values.aspectRatio).toBe('16:9')
- expect(values.duration).toBe(5)
- expect(values.prompt).toBeUndefined()
- expect(values.image).toBeUndefined()
+ expect(values).toEqual({
+ prompt: undefined,
+ mode: 'pro',
+ audio: true,
+ image: undefined
+ })
})
+ it('prefers the template values it is given', () => {
+ expect(
+ defaultValues(schema, { prompt: 'a cat', mode: 'std' })
+ ).toMatchObject({ prompt: 'a cat', mode: 'std', audio: true })
+ })
+})
+
+describe('validateForm', () => {
+ const schema = schemaForModel({ fields: generatedFields, modality: 'video' })
+
it('requires a prompt', () => {
expect(validateForm(schema, defaultValues(schema))).toEqual({
prompt: 'required'
@@ -59,6 +117,7 @@ describe('buildSnippet', () => {
const values = {
prompt: 'a cat',
seed: 7,
+ audio: true,
image: { name: 'ref.png', size: 1, type: 'image/png' },
unused: undefined
}
@@ -67,6 +126,7 @@ describe('buildSnippet', () => {
const python = buildSnippet('python', 'kling/kling-ai', values)
expect(python).toContain('"kling/kling-ai"')
expect(python).toContain('"prompt": "a cat"')
+ expect(python).toContain('"audio": true')
expect(python).toContain('"image": "
"')
expect(python).not.toContain('unused')
})
diff --git a/apps/website/src/config/workshop-playground.ts b/apps/website/src/config/workshop-playground.ts
index c8157bc0a8e..a52e588a8af 100644
--- a/apps/website/src/config/workshop-playground.ts
+++ b/apps/website/src/config/workshop-playground.ts
@@ -1,58 +1,132 @@
-import type { TranslationKey } from '../i18n/translations'
-import type { Modality } from './workshop'
+import { t } from '../i18n/translations'
+import type {
+ GeneratedExample,
+ GeneratedField,
+ Modality,
+ WorkshopModelDetail
+} from './workshop'
export type FieldSchema =
| {
readonly kind: 'text'
readonly name: string
- readonly label: TranslationKey
- readonly placeholder: TranslationKey
+ readonly label: string
+ readonly hint?: string
+ readonly placeholder?: string
readonly required: boolean
readonly multiline: boolean
}
| {
readonly kind: 'select'
readonly name: string
- readonly label: TranslationKey
+ readonly label: string
+ readonly hint?: string
readonly options: readonly string[]
readonly defaultValue: string
}
| {
readonly kind: 'number'
readonly name: string
- readonly label: TranslationKey
+ readonly label: string
+ readonly hint?: string
readonly min: number
readonly max: number
readonly step: number
readonly defaultValue: number
}
+ | {
+ readonly kind: 'toggle'
+ readonly name: string
+ readonly label: string
+ readonly hint?: string
+ readonly defaultValue: boolean
+ }
| {
readonly kind: 'file'
readonly name: string
- readonly label: TranslationKey
+ readonly label: string
+ readonly hint?: string
readonly accept: readonly string[]
readonly maxBytes: number
readonly required: boolean
}
-interface FileValue {
+export interface FileValue {
readonly name: string
readonly size: number
readonly type: string
}
-export type FieldValue = string | number | FileValue | undefined
+export type FieldValue = string | number | boolean | FileValue | undefined
export type FormValues = Readonly>
export type FieldErrorCode = 'required' | 'tooLarge' | 'badType' | 'rejected'
export type FieldErrors = Readonly>
export const MAX_UPLOAD_BYTES = 25 * 1024 * 1024
+const ACCEPT: Record<'image' | 'video' | 'audio', readonly string[]> = {
+ image: ['image/png', 'image/jpeg', 'image/webp'],
+ video: ['video/mp4', 'video/webm', 'video/quicktime'],
+ audio: ['audio/mpeg', 'audio/wav', 'audio/x-wav', 'audio/mp4']
+}
+
+function fromGenerated(field: GeneratedField): FieldSchema {
+ switch (field.kind) {
+ case 'text':
+ return {
+ kind: 'text',
+ name: field.name,
+ label: field.label,
+ ...(field.hint ? { hint: field.hint } : {}),
+ required: field.required,
+ multiline: field.multiline
+ }
+ case 'number':
+ return {
+ kind: 'number',
+ name: field.name,
+ label: field.label,
+ ...(field.hint ? { hint: field.hint } : {}),
+ min: field.min,
+ max: field.max,
+ step: field.step,
+ defaultValue: field.default
+ }
+ case 'select':
+ return {
+ kind: 'select',
+ name: field.name,
+ label: field.label,
+ ...(field.hint ? { hint: field.hint } : {}),
+ options: field.options,
+ defaultValue: field.default
+ }
+ case 'toggle':
+ return {
+ kind: 'toggle',
+ name: field.name,
+ label: field.label,
+ ...(field.hint ? { hint: field.hint } : {}),
+ defaultValue: field.default
+ }
+ case 'file':
+ return {
+ kind: 'file',
+ name: field.name,
+ label: field.label,
+ ...(field.hint ? { hint: field.hint } : {}),
+ accept: ACCEPT[field.accept],
+ maxBytes: MAX_UPLOAD_BYTES,
+ required: field.required
+ }
+ }
+}
+
const prompt: FieldSchema = {
kind: 'text',
name: 'prompt',
- label: 'workshop.field.prompt',
- placeholder: 'workshop.field.promptPlaceholder',
+ label: t('workshop.field.prompt'),
+ placeholder: t('workshop.field.promptPlaceholder'),
required: true,
multiline: true
}
@@ -60,52 +134,42 @@ const prompt: FieldSchema = {
const seed: FieldSchema = {
kind: 'number',
name: 'seed',
- label: 'workshop.field.seed',
+ label: t('workshop.field.seed'),
min: 0,
max: 999999,
step: 1,
defaultValue: 42
}
-const imageUpload = (required: boolean): FieldSchema => ({
+const imageUpload: FieldSchema = {
kind: 'file',
name: 'image',
- label: 'workshop.field.image',
- accept: ['image/png', 'image/jpeg', 'image/webp'],
+ label: t('workshop.field.image'),
+ accept: ACCEPT.image,
maxBytes: MAX_UPLOAD_BYTES,
- required
-})
+ required: false
+}
const aspectRatio: FieldSchema = {
kind: 'select',
- name: 'aspectRatio',
- label: 'workshop.field.aspectRatio',
+ name: 'aspect_ratio',
+ label: t('workshop.field.aspectRatio'),
options: ['16:9', '9:16', '1:1', '4:3'],
defaultValue: '16:9'
}
-const schemas: Record = {
- image: [
- prompt,
- imageUpload(false),
- aspectRatio,
- {
- kind: 'select',
- name: 'resolution',
- label: 'workshop.field.resolution',
- options: ['1K', '2K', '4K'],
- defaultValue: '1K'
- },
- seed
- ],
+// Fallback schemas for models whose partner node the generator could not
+// resolve. Everything else comes from workshop-models.generated.json.
+const fallbackSchemas: Record = {
+ image: [prompt, imageUpload, aspectRatio, seed],
video: [
prompt,
- imageUpload(false),
+ imageUpload,
aspectRatio,
{
kind: 'number',
name: 'duration',
- label: 'workshop.field.duration',
+ label: t('workshop.field.duration'),
min: 2,
max: 10,
step: 1,
@@ -113,65 +177,33 @@ const schemas: Record = {
},
seed
],
- audio: [
- prompt,
- {
- kind: 'select',
- name: 'voice',
- label: 'workshop.field.voice',
- options: ['Narrator', 'Warm', 'Bright', 'Deep'],
- defaultValue: 'Narrator'
- },
- {
- kind: 'number',
- name: 'duration',
- label: 'workshop.field.duration',
- min: 5,
- max: 60,
- step: 5,
- defaultValue: 15
- }
- ],
- '3d': [
- prompt,
- imageUpload(false),
- {
- kind: 'select',
- name: 'format',
- label: 'workshop.field.format',
- options: ['GLB', 'OBJ', 'FBX'],
- defaultValue: 'GLB'
- },
- seed
- ],
- text: [
- prompt,
- {
- kind: 'number',
- name: 'maxTokens',
- label: 'workshop.field.maxTokens',
- min: 64,
- max: 4096,
- step: 64,
- defaultValue: 512
- }
- ],
+ audio: [prompt, seed],
+ '3d': [prompt, imageUpload, seed],
+ text: [prompt],
other: [prompt, seed]
}
-export function schemaFor(
- modality: Modality | undefined
+export function schemaForModel(
+ model: Pick
): readonly FieldSchema[] {
- return schemas[modality ?? 'other']
+ return model.fields.length
+ ? model.fields.map(fromGenerated)
+ : fallbackSchemas[model.modality ?? 'other']
}
-export function defaultValues(schema: readonly FieldSchema[]): FormValues {
+export function defaultValues(
+ schema: readonly FieldSchema[],
+ overrides: Readonly> = {}
+): FormValues {
return Object.fromEntries(
schema.map((field) => [
field.name,
- field.kind === 'select' || field.kind === 'number'
- ? field.defaultValue
- : undefined
+ overrides[field.name] ??
+ (field.kind === 'select' ||
+ field.kind === 'number' ||
+ field.kind === 'toggle'
+ ? field.defaultValue
+ : undefined)
])
)
}
@@ -201,112 +233,24 @@ export function validateForm(
export interface PlaygroundExample {
readonly id: string
- readonly title: TranslationKey
- readonly values: FormValues
+ readonly title: string
+ readonly description: string
+ readonly values: Readonly>
readonly outputUrl: string
}
-const SAMPLE_IMAGE =
- 'https://media.comfy.org/website/cloud/audience-creator.webp'
-const SAMPLE_IMAGE_ALT =
- 'https://media.comfy.org/website/cloud/audience-team.webp'
-const SAMPLE_VIDEO =
- 'https://media.comfy.org/website/models/video_ComfdyUI_00001_.mp4'
-
-const examples: Record = {
- image: [
- {
- id: 'product',
- title: 'workshop.examples.product',
- values: {
- prompt:
- 'Studio product shot of a matte ceramic mug on a walnut table, soft window light, shallow depth of field',
- aspectRatio: '4:3',
- resolution: '2K',
- seed: 7
- },
- outputUrl: SAMPLE_IMAGE
- },
- {
- id: 'portrait',
- title: 'workshop.examples.portrait',
- values: {
- prompt:
- 'Editorial portrait, film grain, golden hour, 85mm lens, natural skin texture',
- aspectRatio: '1:1',
- resolution: '1K',
- seed: 1201
- },
- outputUrl: SAMPLE_IMAGE_ALT
- }
- ],
- video: [
- {
- id: 'extend',
- title: 'workshop.examples.videoExtend',
- values: {
- prompt:
- 'Slow dolly-in on a rain-soaked neon street, reflections shimmering, cinematic',
- aspectRatio: '16:9',
- duration: 5,
- seed: 3
- },
- outputUrl: SAMPLE_VIDEO
- },
- {
- id: 'camera',
- title: 'workshop.examples.cameraMotion',
- values: {
- prompt:
- 'Orbit shot around a glass sculpture on a pedestal, museum lighting',
- aspectRatio: '9:16',
- duration: 8,
- seed: 88
- },
- outputUrl: SAMPLE_VIDEO
- }
- ],
- audio: [
- {
- id: 'narration',
- title: 'workshop.examples.narration',
- values: {
- prompt: 'Welcome to the Comfy Workshop. Pick a model and hit Run.',
- voice: 'Warm',
- duration: 10
- },
- outputUrl: ''
- }
- ],
- '3d': [
- {
- id: 'asset',
- title: 'workshop.examples.asset',
- values: {
- prompt: 'Low-poly stylized treasure chest, game-ready, clean topology',
- format: 'GLB',
- seed: 5
- },
- outputUrl: SAMPLE_IMAGE_ALT
- }
- ],
- text: [
- {
- id: 'brief',
- title: 'workshop.examples.brief',
- values: {
- prompt:
- 'Write three punchy taglines for a product photography studio that uses AI.',
- maxTokens: 256
- },
- outputUrl: ''
- }
- ],
- other: []
+export function examplesForModel(
+ model: Pick
+): readonly PlaygroundExample[] {
+ return model.examples.map((example: GeneratedExample) => ({
+ id: example.name,
+ title: example.title,
+ description: example.description,
+ values: example.values,
+ outputUrl: example.thumbnailUrl
+ }))
}
-export function examplesFor(
- modality: Modality | undefined
-): readonly PlaygroundExample[] {
- return examples[modality ?? 'other']
+export function isVideoUrl(url: string): boolean {
+ return /\.(mp4|webm|mov)(\?|$)/i.test(url)
}
diff --git a/apps/website/src/config/workshop-snippets.ts b/apps/website/src/config/workshop-snippets.ts
index 0b03b6692fa..4c929b4da30 100644
--- a/apps/website/src/config/workshop-snippets.ts
+++ b/apps/website/src/config/workshop-snippets.ts
@@ -10,7 +10,7 @@ export const SNIPPET_LANGUAGES: readonly SnippetLanguage[] = [
function serializableInput(
values: FormValues
-): Record {
+): Record {
return Object.fromEntries(
Object.entries(values).flatMap(([key, value]) => {
if (value === undefined) return []
diff --git a/apps/website/src/config/workshop.test.ts b/apps/website/src/config/workshop.test.ts
index b648764af8a..238f4012f7e 100644
--- a/apps/website/src/config/workshop.test.ts
+++ b/apps/website/src/config/workshop.test.ts
@@ -77,6 +77,9 @@ describe('countByModality', () => {
describe('workshopModels', () => {
it('only contains canonical partner-node models', () => {
expect(workshopModels.length).toBeGreaterThan(0)
+ expect(workshopModels.filter((m) => m.thumbnailUrl).length).toBeGreaterThan(
+ 40
+ )
expect(
isRouterModel({
slug: 'x',
diff --git a/apps/website/src/config/workshop.ts b/apps/website/src/config/workshop.ts
index 13079019ed4..927339db31e 100644
--- a/apps/website/src/config/workshop.ts
+++ b/apps/website/src/config/workshop.ts
@@ -1,6 +1,7 @@
import type { Model } from './models'
import { models } from './models'
import displayOverrides from './workshop-model-display.json'
+import generatedModels from './workshop-models.generated.json'
const MODALITIES = ['image', 'video', 'audio', '3d', 'text'] as const
export type Modality = (typeof MODALITIES)[number]
@@ -8,11 +9,11 @@ export type Modality = (typeof MODALITIES)[number]
export const MODALITY_FILTERS = ['all', ...MODALITIES, 'other'] as const
export type ModalityFilter = (typeof MODALITY_FILTERS)[number]
-// Router only serves model id + billing today. Name, provider, modality and
-// price come from this hand-maintained file until Router exposes display
-// metadata (Detailed Requirements M1/M2). Values are placeholders.
export type ModelStatus = 'deprecated' | 'degraded'
+// Hand-maintained overrides on top of workshop-models.generated.json:
+// status flags Router does not report and fallbacks for models the
+// generator could not resolve. Prices here are placeholders.
interface WorkshopModelDisplay {
readonly provider?: string
readonly modality?: Modality
@@ -21,6 +22,70 @@ interface WorkshopModelDisplay {
readonly successorSlug?: string
}
+export type GeneratedField =
+ | {
+ readonly kind: 'text'
+ readonly name: string
+ readonly label: string
+ readonly hint?: string
+ readonly multiline: boolean
+ readonly required: boolean
+ readonly default?: string
+ }
+ | {
+ readonly kind: 'number'
+ readonly name: string
+ readonly label: string
+ readonly hint?: string
+ readonly min: number
+ readonly max: number
+ readonly step: number
+ readonly default: number
+ }
+ | {
+ readonly kind: 'select'
+ readonly name: string
+ readonly label: string
+ readonly hint?: string
+ readonly options: readonly string[]
+ readonly default: string
+ }
+ | {
+ readonly kind: 'toggle'
+ readonly name: string
+ readonly label: string
+ readonly hint?: string
+ readonly default: boolean
+ }
+ | {
+ readonly kind: 'file'
+ readonly name: string
+ readonly label: string
+ readonly hint?: string
+ readonly accept: 'image' | 'video' | 'audio'
+ readonly required: boolean
+ }
+
+export interface GeneratedExample {
+ readonly name: string
+ readonly title: string
+ readonly description: string
+ readonly tags: readonly string[]
+ readonly thumbnailUrl: string
+ readonly values: Readonly>
+}
+
+interface GeneratedModel {
+ readonly thumbnailUrl?: string
+ readonly provider?: string
+ readonly modality?: Modality
+ readonly priceUsdFrom?: number
+ readonly node?: { id: string; displayName: string; template: string }
+ readonly fields: readonly GeneratedField[]
+ readonly defaults: Readonly>
+ readonly examples: readonly GeneratedExample[]
+}
+
export interface WorkshopModel {
readonly slug: string
readonly name: string
@@ -30,11 +95,24 @@ export interface WorkshopModel {
readonly provider?: string
readonly modality?: Modality
readonly creditsPerRun?: number
+ readonly priceUsdFrom?: number
+ readonly thumbnailUrl?: string
readonly status?: ModelStatus
readonly successorSlug?: string
}
+export interface WorkshopModelDetail extends WorkshopModel {
+ readonly nodeDisplayName?: string
+ readonly fields: readonly GeneratedField[]
+ readonly defaults: Readonly>
+ readonly examples: readonly GeneratedExample[]
+}
+
const display = displayOverrides as Record
+const generated = generatedModels as unknown as Record
+
+// Placeholder until Router bills the playground: 100 credits per USD.
+export const CREDITS_PER_USD = 100
function modelDetailHref(slug: string): string {
return `/workshop/models/${slug}/`
@@ -51,14 +129,32 @@ function routerIdFor(slug: string, provider?: string): string {
}
function toWorkshopModel(model: Model): WorkshopModel {
- const overrides = display[model.slug]
+ const overrides = display[model.slug] ?? {}
+ const data = generated[model.slug]
+ const provider = overrides.provider ?? data?.provider
+ const creditsPerRun =
+ data?.priceUsdFrom !== undefined
+ ? Math.round(data.priceUsdFrom * CREDITS_PER_USD)
+ : overrides.creditsPerRun
return {
slug: model.slug,
name: model.displayName,
workflowCount: model.workflowCount,
href: modelDetailHref(model.slug),
- routerId: routerIdFor(model.slug, overrides?.provider),
- ...overrides
+ routerId: routerIdFor(model.slug, provider),
+ ...(provider ? { provider } : {}),
+ ...((overrides.modality ?? data?.modality)
+ ? { modality: overrides.modality ?? data?.modality }
+ : {}),
+ ...(creditsPerRun !== undefined ? { creditsPerRun } : {}),
+ ...(data?.priceUsdFrom !== undefined
+ ? { priceUsdFrom: data.priceUsdFrom }
+ : {}),
+ ...(data?.thumbnailUrl ? { thumbnailUrl: data.thumbnailUrl } : {}),
+ ...(overrides.status ? { status: overrides.status } : {}),
+ ...(overrides.successorSlug
+ ? { successorSlug: overrides.successorSlug }
+ : {})
}
}
@@ -76,6 +172,21 @@ export function getWorkshopModel(slug: string): WorkshopModel | undefined {
return workshopModels.find((model) => model.slug === slug)
}
+export function getWorkshopModelDetail(
+ slug: string
+): WorkshopModelDetail | undefined {
+ const model = getWorkshopModel(slug)
+ if (!model) return undefined
+ const data = generated[slug]
+ return {
+ ...model,
+ ...(data?.node ? { nodeDisplayName: data.node.displayName } : {}),
+ fields: data?.fields ?? [],
+ defaults: data?.defaults ?? {},
+ examples: data?.examples ?? []
+ }
+}
+
export function modalityOf(
model: WorkshopModel
): Exclude {
diff --git a/apps/website/src/i18n/translations.ts b/apps/website/src/i18n/translations.ts
index 9f9875b91a6..6406ad8b56a 100644
--- a/apps/website/src/i18n/translations.ts
+++ b/apps/website/src/i18n/translations.ts
@@ -8210,7 +8210,19 @@ Enterprise`
'nav.credits': { en: 'credits', 'zh-CN': '积分' },
'nav.noCredits': { en: 'No credits', 'zh-CN': '无积分' },
'nav.buyCredits': { en: 'Buy credits', 'zh-CN': '购买积分' },
- 'nav.workspace': { en: 'Workspace', 'zh-CN': '工作区' },
+ 'nav.creditsLabel': { en: 'Credits', 'zh-CN': '积分' },
+ 'nav.creditsInfo': {
+ en: 'Credits are spent per run. Top up on Developer Platform.',
+ 'zh-CN': '每次运行消耗积分。可在开发者平台充值。'
+ },
+ 'nav.switchWorkspace': { en: 'Switch workspace', 'zh-CN': '切换工作区' },
+ 'nav.planAndCredits': { en: 'Plan & credits', 'zh-CN': '套餐与积分' },
+ 'nav.partnerNodesPricing': {
+ en: 'Partner nodes pricing',
+ 'zh-CN': '合作伙伴节点定价'
+ },
+ 'nav.workspaceSettings': { en: 'Workspace settings', 'zh-CN': '工作区设置' },
+ 'nav.accountSettings': { en: 'Account settings', 'zh-CN': '账户设置' },
'nav.prototypeControls': { en: 'Prototype controls', 'zh-CN': '原型控制' },
'nav.simulateZeroBalance': {
en: 'Simulate zero balance',
@@ -8257,6 +8269,7 @@ Enterprise`
'workshop.count.models': { en: 'models', 'zh-CN': '个模型' },
'workshop.card.partnerNode': { en: 'Partner node', 'zh-CN': '合作伙伴节点' },
'workshop.card.creditsPerRun': { en: 'credits / run', 'zh-CN': '积分 / 次' },
+ 'workshop.card.from': { en: 'from', 'zh-CN': '起' },
'workshop.card.priceOnPage': {
en: 'Pricing on model page',
'zh-CN': '价格见模型页'
@@ -8341,6 +8354,11 @@ Enterprise`
'zh-CN': '建议改用 {successor}'
},
'workshop.model.degraded': { en: 'Degraded', 'zh-CN': '性能下降' },
+ 'workshop.model.runsNode': {
+ en: 'Runs the {node} node',
+ 'zh-CN': '运行 {node} 节点'
+ },
+ 'workshop.model.perRun': { en: 'run', 'zh-CN': '次' },
'workshop.model.degradedBody': {
en: 'The provider is reporting slow or failing runs right now.',
'zh-CN': '提供方当前报告运行缓慢或失败。'
@@ -8361,10 +8379,7 @@ Enterprise`
'workshop.field.format': { en: 'Format', 'zh-CN': '格式' },
'workshop.field.maxTokens': { en: 'Max tokens', 'zh-CN': '最大 token 数' },
'workshop.field.upload': { en: 'Upload', 'zh-CN': '上传' },
- 'workshop.field.uploadHint': {
- en: 'PNG, JPG or WEBP up to 25 MB',
- 'zh-CN': 'PNG、JPG 或 WEBP,最大 25 MB'
- },
+ 'workshop.field.uploadLimit': { en: 'up to 25 MB', 'zh-CN': '最大 25 MB' },
'workshop.field.remove': { en: 'Remove file', 'zh-CN': '移除文件' },
'workshop.form.required': {
en: 'This field is required',
diff --git a/apps/website/src/pages/workshop/models/[slug].astro b/apps/website/src/pages/workshop/models/[slug].astro
index 12068b5d79b..bcc6f44fae9 100644
--- a/apps/website/src/pages/workshop/models/[slug].astro
+++ b/apps/website/src/pages/workshop/models/[slug].astro
@@ -3,14 +3,18 @@ import type { GetStaticPaths } from 'astro'
import BaseLayout from '../../../layouts/BaseLayout.astro'
import ModelDetail from '../../../components/workshop/ModelDetail.vue'
import { getRoutes } from '../../../config/routes'
-import { getWorkshopModel, workshopModels } from '../../../config/workshop'
+import {
+ getWorkshopModel,
+ getWorkshopModelDetail,
+ workshopModels
+} from '../../../config/workshop'
import { t } from '../../../i18n/translations'
export const getStaticPaths: GetStaticPaths = () =>
workshopModels.map((model) => ({ params: { slug: model.slug } }))
const { slug } = Astro.params
-const model = getWorkshopModel(slug as string)!
+const model = getWorkshopModelDetail(slug as string)!
const successor = model.successorSlug
? getWorkshopModel(model.successorSlug)
: undefined
@@ -23,11 +27,27 @@ const modalityLabel = {
'3d': t('workshop.filter.3d'),
text: t('workshop.filter.text')
} as const
+
+const price =
+ model.priceUsdFrom !== undefined
+ ? `${t('workshop.card.from')} ${new Intl.NumberFormat('en', {
+ style: 'currency',
+ currency: 'USD'
+ }).format(model.priceUsdFrom)}`
+ : model.creditsPerRun !== undefined
+ ? `${model.creditsPerRun} ${t('nav.credits')}`
+ : undefined
+
+const statusClass =
+ 'rounded-2xl border border-primary-comfy-orange/50 px-3 py-1 text-[11px] font-bold tracking-wider text-primary-comfy-orange uppercase'
+const pillClass =
+ 'rounded-2xl bg-transparency-white-t8 px-3 py-1 text-[11px] font-bold tracking-wider text-primary-warm-white uppercase'
---
@@ -49,81 +69,92 @@ const modalityLabel = {
-
-
- {
- model.modality && (
-
- {modalityLabel[model.modality]}
-
- )
- }
-
- {t('workshop.card.partnerNode')}
-
- {
- model.status === 'deprecated' && (
-
- {t('workshop.model.deprecated')}
-
- )
- }
- {
- model.status === 'degraded' && (
-
- {t('workshop.model.degraded')}
-
- )
- }
-
-
-
-
- {model.name}
-
-
+
+
+
+
{model.provider ?? t('workshop.card.partnerNode')}
+ {model.modality &&
{modalityLabel[model.modality]}}
+ {
+ model.status === 'deprecated' && (
+
+ {t('workshop.model.deprecated')}
+
+ )
+ }
+ {
+ model.status === 'degraded' && (
+
+ {t('workshop.model.degraded')}
+
+ )
+ }
+
+
+ {model.name}
+
+
+
+ {
+ model.nodeDisplayName
+ ? t('workshop.model.runsNode').replace('{node}', model.nodeDisplayName)
+ : t('workshop.card.partnerNode')
+ }
+ {' · '}
+ {model.workflowCount} {t('workshop.card.workflows')}
+
+
{
- model.creditsPerRun !== undefined ? (
+ price ? (
<>
-
- {model.creditsPerRun}
- {' '}
- {t('workshop.card.creditsPerRun')}
+ {price}
+ {' / '}
+ {t('workshop.model.perRun')}
>
) : (
t('workshop.card.priceOnPage')
)
}
+
+ {
+ model.status === 'deprecated' && (
+
+ {t('workshop.model.deprecatedBody')}
+ {successor && (
+
+ {t('workshop.model.deprecatedSuccessor').replace('{successor}', successor.name)} →
+
+ )}
+
+ )
+ }
+ {
+ model.status === 'degraded' && (
+
+ {t('workshop.model.degradedBody')}
+
+ )
+ }
{
- model.status === 'deprecated' && (
-
- {t('workshop.model.deprecatedBody')}
- {successor && (
-
- {t('workshop.model.deprecatedSuccessor').replace('{successor}', successor.name)} →
-
- )}
-
- )
- }
- {
- model.status === 'degraded' && (
-
- {t('workshop.model.degradedBody')}
-
+ model.thumbnailUrl && (
+
+

+
)
}
From 15e12105a031ba0fd31b3161ec3b0a21b83be6de Mon Sep 17 00:00:00 2001
From: Mariana Martinho
Date: Wed, 2 Sep 2026 01:33:27 +0000
Subject: [PATCH 005/224] feat(website): reuse Cloud login and top-up flows in
Workshop, add prototype tweaks
- Sign in links to the real Cloud login page instead of a mock dialog
- Header credits chip and account menu mirror Cloud: Add credits opens a
top-up dialog that replicates the Cloud one (presets, $5 minimum, 211
credits per dollar, confirm and pay); without a subscription the button
becomes Upgrade to add credits
- Prototype tweaks move to a single gear in the bottom-right corner:
session (signed out, new account with 35 welcome credits, existing),
subscription, zero balance and the run outcome and model state cases
- Homepage model-release carousel sends Explore and Try workflow to the
Workshop model pages
- workshop:generate script builds workshop-models.generated.json
---
apps/website/e2e/workshop.spec.ts | 83 +++--
apps/website/package.json | 3 +-
.../common/HeaderMain/HeaderAccount.vue | 60 ++--
.../common/HeaderMain/HeaderMain.vue | 4 +-
.../common/HeaderMain/HeaderMainMobile.vue | 2 +-
.../common/HeaderMain/NavColumn.vue | 2 +-
.../src/components/common/SignInDialog.vue | 93 ------
.../components/common/TopUpCreditsDialog.vue | 287 ++++++++++++++++++
.../components/home/ModelReleaseSection.vue | 11 +-
.../src/components/workshop/ModelDetail.vue | 99 ++----
.../components/workshop/PrototypeTweaks.vue | 233 ++++++++++++++
.../components/workshop/WorkshopHero.astro | 5 -
.../src/composables/useMockSession.test.ts | 57 +++-
.../website/src/composables/useMockSession.ts | 61 +++-
.../src/composables/usePrototypeTweaks.ts | 21 ++
.../src/composables/useSignInDialog.ts | 15 -
.../website/src/composables/useTopUpDialog.ts | 19 ++
apps/website/src/config/credits.ts | 14 +
apps/website/src/config/routes.ts | 1 +
.../website/src/config/workshop-playground.ts | 2 +-
apps/website/src/config/workshop.ts | 6 +-
apps/website/src/data/modelRelease.ts | 6 +
apps/website/src/i18n/translations.ts | 111 ++++---
apps/website/src/pages/workshop/index.astro | 2 +
.../src/pages/workshop/models/[slug].astro | 2 +
.../src/pages/workshop/workflows.astro | 2 +
26 files changed, 890 insertions(+), 311 deletions(-)
delete mode 100644 apps/website/src/components/common/SignInDialog.vue
create mode 100644 apps/website/src/components/common/TopUpCreditsDialog.vue
create mode 100644 apps/website/src/components/workshop/PrototypeTweaks.vue
create mode 100644 apps/website/src/composables/usePrototypeTweaks.ts
delete mode 100644 apps/website/src/composables/useSignInDialog.ts
create mode 100644 apps/website/src/composables/useTopUpDialog.ts
create mode 100644 apps/website/src/config/credits.ts
diff --git a/apps/website/e2e/workshop.spec.ts b/apps/website/e2e/workshop.spec.ts
index e2832c0fd96..0c22f5e99fe 100644
--- a/apps/website/e2e/workshop.spec.ts
+++ b/apps/website/e2e/workshop.spec.ts
@@ -1,9 +1,16 @@
+import type { Page } from '@playwright/test'
import { expect } from '@playwright/test'
import { test } from './fixtures/blockExternalMedia'
const MODEL_PATH = '/workshop/models/openai-dall-e/'
+async function useAccount(page: Page, kind: 'new' | 'existing') {
+ await page.getByTestId('prototype-tweaks').click()
+ await page.getByTestId('tweak-session').selectOption(kind)
+ await page.keyboard.press('Escape')
+}
+
test.describe('Workshop catalog', () => {
test('lists partner models and filters by search and modality', async ({
page
@@ -32,38 +39,41 @@ test.describe('Workshop catalog', () => {
await expect(page).toHaveURL(/\/workshop\/models\/kling-ai\/?$/)
await expect(page.getByRole('heading', { level: 1 })).toHaveText('Kling AI')
})
-})
-test.describe('Model playground', () => {
- test('asks to sign in before running and does not auto-run', async ({
+ test('homepage model releases open their Workshop model', async ({
page
}) => {
+ await page.goto('/')
+ const explore = page.getByRole('link', { name: /Explore Seedance/i })
+ await expect(explore).toHaveAttribute(
+ 'href',
+ /\/workshop\/models\/seedance-2\//
+ )
+ })
+})
+
+test.describe('Model playground', () => {
+ test('sends signed-out visitors to the Cloud login', async ({ page }) => {
await page.goto(MODEL_PATH)
const run = page.getByTestId('run-button')
await expect(run).toHaveAttribute('data-gate', 'signedOut')
-
- await run.click()
- const dialog = page.getByTestId('sign-in-dialog')
- await expect(dialog).toBeVisible()
- await dialog.getByTestId('sign-in-google').click()
-
- await expect(dialog).toBeHidden()
- await expect(page.getByTestId('signed-in-notice')).toBeVisible()
- await expect(page.getByTestId('playground-output')).toHaveAttribute(
- 'data-state',
- 'idle'
+ await expect(run).toHaveAttribute(
+ 'href',
+ 'https://cloud.comfy.org/cloud/login'
)
- await expect(run).toHaveAttribute('data-gate', 'ready')
+ await expect(
+ page.getByTestId('desktop-nav-cta').getByTestId('header-sign-in')
+ ).toHaveAttribute('href', 'https://cloud.comfy.org/cloud/login')
})
test('validates the prompt, runs, cancels and completes', async ({
page
}) => {
await page.goto(MODEL_PATH)
- await page.getByTestId('run-button').click()
- await page.getByTestId('sign-in-github').click()
+ await useAccount(page, 'existing')
const run = page.getByTestId('run-button')
+ await expect(run).toHaveAttribute('data-gate', 'ready')
await page.getByTestId('field-prompt').fill('')
await run.click()
await expect(page.getByTestId('error-prompt')).toBeVisible()
@@ -86,23 +96,48 @@ test.describe('Model playground', () => {
await expect(page.getByTestId('output-download')).toBeVisible()
await expect(
page.getByTestId('desktop-nav-cta').getByTestId('header-credits')
- ).toContainText('1,242')
+ ).toContainText('5,832')
})
- test('asks to buy credits when the balance is too low', async ({ page }) => {
+ test('a new account starts with welcome credits', async ({ page }) => {
await page.goto(MODEL_PATH)
- await page.getByTestId('run-button').click()
- await page.getByTestId('sign-in-google').click()
-
+ await useAccount(page, 'new')
+ await expect(
+ page.getByTestId('desktop-nav-cta').getByTestId('header-credits')
+ ).toContainText('35')
await page
.getByTestId('desktop-nav-cta')
.getByTestId('header-account')
.click()
- await page.getByTestId('account-simulate-balance').click()
+ await expect(page.getByTestId('account-upgrade')).toBeVisible()
+ })
+
+ test('tops up credits in place when the balance is too low', async ({
+ page
+ }) => {
+ await page.goto(MODEL_PATH)
+ await useAccount(page, 'existing')
+ await page.getByTestId('prototype-tweaks').click()
+ await page.getByTestId('tweak-zero-balance').click()
+ await page.keyboard.press('Escape')
const run = page.getByTestId('run-button')
await expect(run).toHaveAttribute('data-gate', 'noCredits')
- await expect(run).toHaveAttribute('href', /platform\.comfy\.org/)
+ await run.click()
+ const dialog = page.getByTestId('top-up-dialog')
+ await expect(dialog.getByTestId('top-up-insufficient')).toBeVisible()
+ await dialog.getByTestId('top-up-preset-25').click()
+ await expect(dialog.getByTestId('top-up-credits')).toHaveValue('5275')
+ await dialog.getByTestId('top-up-continue').click()
+ await dialog.getByTestId('top-up-pay').click()
+ await expect(dialog.getByTestId('top-up-done')).toBeVisible({
+ timeout: 10_000
+ })
+ await page.getByRole('button', { name: 'Done' }).click()
+ await expect(run).toHaveAttribute('data-gate', 'ready')
+ await expect(
+ page.getByTestId('desktop-nav-cta').getByTestId('header-credits')
+ ).toContainText('5,275')
})
test('API tab mirrors the form values', async ({ page }) => {
diff --git a/apps/website/package.json b/apps/website/package.json
index 2483d53dd63..ce371e4daed 100644
--- a/apps/website/package.json
+++ b/apps/website/package.json
@@ -19,7 +19,8 @@
"cloud-nodes:refresh-snapshot": "tsx ./scripts/refresh-cloud-nodes-snapshot.ts",
"generate:models": "tsx ./scripts/generate-models.ts",
"validate:jsonld": "tsx ./scripts/validate-jsonld.ts",
- "validate:llms-txt-links": "tsx ./scripts/validate-llms-txt-links.ts"
+ "validate:llms-txt-links": "tsx ./scripts/validate-llms-txt-links.ts",
+ "workshop:generate": "tsx ./scripts/generate-workshop-models.ts"
},
"dependencies": {
"@astrojs/sitemap": "catalog:",
diff --git a/apps/website/src/components/common/HeaderMain/HeaderAccount.vue b/apps/website/src/components/common/HeaderMain/HeaderAccount.vue
index 9d0752c1029..f6e6abe2c2c 100644
--- a/apps/website/src/components/common/HeaderMain/HeaderAccount.vue
+++ b/apps/website/src/components/common/HeaderMain/HeaderAccount.vue
@@ -23,16 +23,17 @@ import { cn } from '@comfyorg/tailwind-utils'
import Button from '@/components/ui/button/Button.vue'
import { useMockSession } from '../../../composables/useMockSession'
-import { useSignInDialog } from '../../../composables/useSignInDialog'
+import { useTopUpDialog } from '../../../composables/useTopUpDialog'
import { PRICING_URL } from '../../../config/model-pricing'
-import { externalLinks } from '../../../config/routes'
+import { externalLinks, getRoutes } from '../../../config/routes'
import type { Locale } from '../../../i18n/translations'
import { t } from '../../../i18n/translations'
const { locale = 'en' } = defineProps<{ locale?: Locale }>()
-const { session, signOut, setCredits } = useMockSession()
-const { open: openSignIn } = useSignInDialog()
+const { session, signOut } = useMockSession()
+const { open: openTopUp } = useTopUpDialog()
+const routes = getRoutes(locale)
const account = computed(() =>
session.value.status === 'signedIn' ? session.value.account : undefined
@@ -72,20 +73,19 @@ const itemClass =
+
+
+
+
+
+
@@ -231,18 +257,6 @@ const itemClass =
-
-
- {{
- hasCredits
- ? t('nav.simulateZeroBalance', locale)
- : t('nav.restoreBalance', locale)
- }}
-
diff --git a/apps/website/src/components/common/HeaderMain/HeaderMain.vue b/apps/website/src/components/common/HeaderMain/HeaderMain.vue
index 3a845a5af18..4e397fed83b 100644
--- a/apps/website/src/components/common/HeaderMain/HeaderMain.vue
+++ b/apps/website/src/components/common/HeaderMain/HeaderMain.vue
@@ -6,7 +6,7 @@ import GitHubStarBadge from '../GitHubStarBadge.vue'
import HeaderAccount from './HeaderAccount.vue'
import HeaderMainDesktop from './HeaderMainDesktop.vue'
import HeaderMainMobile from './HeaderMainMobile.vue'
-import SignInDialog from '../SignInDialog.vue'
+import TopUpCreditsDialog from '../TopUpCreditsDialog.vue'
import Button from '@/components/ui/button/Button.vue'
const { locale = 'en', githubStars = '' } = defineProps<{
@@ -88,6 +88,6 @@ const ctaButtons = [
-
+
diff --git a/apps/website/src/components/common/HeaderMain/HeaderMainMobile.vue b/apps/website/src/components/common/HeaderMain/HeaderMainMobile.vue
index 0bdf9cdcffd..0fedf615ada 100644
--- a/apps/website/src/components/common/HeaderMain/HeaderMainMobile.vue
+++ b/apps/website/src/components/common/HeaderMain/HeaderMainMobile.vue
@@ -137,7 +137,7 @@ onUnmounted(() => {
class="flex flex-col gap-y-3"
>
{{ column.header }}
diff --git a/apps/website/src/components/common/HeaderMain/NavColumn.vue b/apps/website/src/components/common/HeaderMain/NavColumn.vue
index 90bd8a8817e..5a6fbab3c4f 100644
--- a/apps/website/src/components/common/HeaderMain/NavColumn.vue
+++ b/apps/website/src/components/common/HeaderMain/NavColumn.vue
@@ -11,7 +11,7 @@ defineProps<{ column: NavColumn; locale: Locale; currentPath: string }>()
-
+
{{ column.header }}
diff --git a/apps/website/src/components/common/SignInDialog.vue b/apps/website/src/components/common/SignInDialog.vue
deleted file mode 100644
index 5ef9a8aedca..00000000000
--- a/apps/website/src/components/common/SignInDialog.vue
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
diff --git a/apps/website/src/components/common/TopUpCreditsDialog.vue b/apps/website/src/components/common/TopUpCreditsDialog.vue
new file mode 100644
index 00000000000..4225f0e2ff2
--- /dev/null
+++ b/apps/website/src/components/common/TopUpCreditsDialog.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
diff --git a/apps/website/src/components/home/ModelReleaseSection.vue b/apps/website/src/components/home/ModelReleaseSection.vue
index da04a6f38b4..4add4b383f9 100644
--- a/apps/website/src/components/home/ModelReleaseSection.vue
+++ b/apps/website/src/components/home/ModelReleaseSection.vue
@@ -1,5 +1,6 @@
+
+
+
+
+
+
+
+
+
+ {{ t('workshop.proto.title', locale) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/website/src/components/workshop/WorkshopHero.astro b/apps/website/src/components/workshop/WorkshopHero.astro
index 3bc567d7da7..46062f8b5b6 100644
--- a/apps/website/src/components/workshop/WorkshopHero.astro
+++ b/apps/website/src/components/workshop/WorkshopHero.astro
@@ -9,11 +9,6 @@ import { t } from '../../i18n/translations'
>
{t('workshop.hero.eyebrow')}
-
- {t('workshop.hero.prototype')}
-
{t('workshop.hero.heading')}
diff --git a/apps/website/src/composables/useMockSession.test.ts b/apps/website/src/composables/useMockSession.test.ts
index 89b9abd9855..accd6e30795 100644
--- a/apps/website/src/composables/useMockSession.test.ts
+++ b/apps/website/src/composables/useMockSession.test.ts
@@ -1,32 +1,65 @@
import { describe, expect, it } from 'vitest'
import type { MockSession } from './useMockSession'
-import { DEFAULT_ACCOUNT, transition } from './useMockSession'
+import {
+ EXISTING_CREDITS,
+ WELCOME_CREDITS,
+ accountFor,
+ transition
+} from './useMockSession'
const signedOut: MockSession = { status: 'signedOut' }
-const signedIn: MockSession = { status: 'signedIn', account: DEFAULT_ACCOUNT }
+const existing: MockSession = {
+ status: 'signedIn',
+ account: accountFor('existing')
+}
describe('mock session transition', () => {
- it('signs in with the default account', () => {
- expect(transition(signedOut, { type: 'signIn' })).toEqual(signedIn)
+ it('gives a new account the welcome credits and no subscription', () => {
+ expect(transition(signedOut, { type: 'signIn', kind: 'new' })).toEqual({
+ status: 'signedIn',
+ account: expect.objectContaining({
+ credits: WELCOME_CREDITS,
+ subscribed: false
+ })
+ })
})
- it('keeps an existing session on a repeated sign in', () => {
- const custom = transition(signedIn, { type: 'setCredits', credits: 0 })
- expect(transition(custom, { type: 'signIn' })).toBe(custom)
+ it('gives an existing account its balance and subscription', () => {
+ expect(transition(signedOut, { type: 'signIn', kind: 'existing' })).toEqual(
+ {
+ status: 'signedIn',
+ account: expect.objectContaining({
+ credits: EXISTING_CREDITS,
+ subscribed: true
+ })
+ }
+ )
})
- it('updates credits only while signed in', () => {
- expect(transition(signedIn, { type: 'setCredits', credits: 0 })).toEqual({
+ it('adjusts credits only while signed in and never below zero', () => {
+ expect(transition(existing, { type: 'setCredits', credits: 0 })).toEqual({
status: 'signedIn',
- account: { ...DEFAULT_ACCOUNT, credits: 0 }
+ account: { ...accountFor('existing'), credits: 0 }
})
- expect(transition(signedOut, { type: 'setCredits', credits: 0 })).toBe(
+ expect(
+ transition(existing, {
+ type: 'addCredits',
+ credits: -EXISTING_CREDITS - 5
+ })
+ ).toMatchObject({ account: { credits: 0 } })
+ expect(transition(signedOut, { type: 'addCredits', credits: 10 })).toBe(
signedOut
)
})
+ it('toggles the subscription', () => {
+ expect(
+ transition(existing, { type: 'setSubscribed', subscribed: false })
+ ).toMatchObject({ account: { subscribed: false } })
+ })
+
it('signs out from any state', () => {
- expect(transition(signedIn, { type: 'signOut' })).toEqual(signedOut)
+ expect(transition(existing, { type: 'signOut' })).toEqual(signedOut)
})
})
diff --git a/apps/website/src/composables/useMockSession.ts b/apps/website/src/composables/useMockSession.ts
index dc8f19a6b17..bf10bc8d4ca 100644
--- a/apps/website/src/composables/useMockSession.ts
+++ b/apps/website/src/composables/useMockSession.ts
@@ -5,22 +5,37 @@ export interface MockAccount {
readonly email: string
readonly workspace: string
readonly credits: number
+ readonly subscribed: boolean
}
export type MockSession =
| { readonly status: 'signedOut' }
| { readonly status: 'signedIn'; readonly account: MockAccount }
+export type AccountKind = 'new' | 'existing'
+
export type MockSessionEvent =
- | { type: 'signIn' }
+ | { type: 'signIn'; kind: AccountKind }
| { type: 'signOut' }
| { type: 'setCredits'; credits: number }
+ | { type: 'addCredits'; credits: number }
+ | { type: 'setSubscribed'; subscribed: boolean }
+
+// New Cloud accounts start with a small welcome balance; existing ones
+// carry whatever they bought.
+export const WELCOME_CREDITS = 35
+export const EXISTING_CREDITS = 5840
-export const DEFAULT_ACCOUNT: MockAccount = {
+const BASE_ACCOUNT = {
name: 'Ada Lovelace',
email: 'ada@example.com',
- workspace: "Ada's Studio",
- credits: 1250
+ workspace: "Ada's Studio"
+}
+
+export function accountFor(kind: AccountKind): MockAccount {
+ return kind === 'new'
+ ? { ...BASE_ACCOUNT, credits: WELCOME_CREDITS, subscribed: false }
+ : { ...BASE_ACCOUNT, credits: EXISTING_CREDITS, subscribed: true }
}
const SIGNED_OUT: MockSession = { status: 'signedOut' }
@@ -32,18 +47,22 @@ export function transition(
): MockSession {
switch (event.type) {
case 'signIn':
- return session.status === 'signedIn'
- ? session
- : { status: 'signedIn', account: DEFAULT_ACCOUNT }
+ return { status: 'signedIn', account: accountFor(event.kind) }
case 'signOut':
return SIGNED_OUT
case 'setCredits':
- return session.status === 'signedIn'
- ? {
- status: 'signedIn',
- account: { ...session.account, credits: event.credits }
- }
- : session
+ case 'addCredits':
+ case 'setSubscribed': {
+ if (session.status !== 'signedIn') return session
+ const account = session.account
+ const patch =
+ event.type === 'setCredits'
+ ? { credits: Math.max(0, event.credits) }
+ : event.type === 'addCredits'
+ ? { credits: Math.max(0, account.credits + event.credits) }
+ : { subscribed: event.subscribed }
+ return { status: 'signedIn', account: { ...account, ...patch } }
+ }
}
}
@@ -63,9 +82,15 @@ function readStoredSession(): MockSession {
'credits' in parsed.account &&
typeof parsed.account.credits === 'number'
) {
+ const subscribed =
+ 'subscribed' in parsed.account && parsed.account.subscribed === true
return {
status: 'signedIn',
- account: { ...DEFAULT_ACCOUNT, credits: parsed.account.credits }
+ account: {
+ ...BASE_ACCOUNT,
+ credits: parsed.account.credits,
+ subscribed
+ }
}
}
return SIGNED_OUT
@@ -99,8 +124,12 @@ export function useMockSession() {
return {
session: readonly(session),
- signIn: () => dispatch({ type: 'signIn' }),
+ signIn: (kind: AccountKind = 'existing') =>
+ dispatch({ type: 'signIn', kind }),
signOut: () => dispatch({ type: 'signOut' }),
- setCredits: (credits: number) => dispatch({ type: 'setCredits', credits })
+ setCredits: (credits: number) => dispatch({ type: 'setCredits', credits }),
+ addCredits: (credits: number) => dispatch({ type: 'addCredits', credits }),
+ setSubscribed: (subscribed: boolean) =>
+ dispatch({ type: 'setSubscribed', subscribed })
}
}
diff --git a/apps/website/src/composables/usePrototypeTweaks.ts b/apps/website/src/composables/usePrototypeTweaks.ts
new file mode 100644
index 00000000000..e3452e0f8c5
--- /dev/null
+++ b/apps/website/src/composables/usePrototypeTweaks.ts
@@ -0,0 +1,21 @@
+import { ref } from 'vue'
+
+export const RUN_OUTCOMES = [
+ 'success',
+ 'nsfw',
+ 'validation',
+ 'provider',
+ 'rateLimit'
+] as const
+export type RunOutcome = (typeof RUN_OUTCOMES)[number]
+
+export const MODEL_STATES = ['none', 'policy', 'unavailable'] as const
+export type ModelState = (typeof MODEL_STATES)[number]
+
+const outcome = ref('success')
+const modelState = ref('none')
+
+// Shared across islands so the tweaks panel drives the playground.
+export function usePrototypeTweaks() {
+ return { outcome, modelState }
+}
diff --git a/apps/website/src/composables/useSignInDialog.ts b/apps/website/src/composables/useSignInDialog.ts
deleted file mode 100644
index 9ecf4c5cf5a..00000000000
--- a/apps/website/src/composables/useSignInDialog.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { readonly, ref } from 'vue'
-
-const isOpen = ref(false)
-
-export function useSignInDialog() {
- return {
- isOpen: readonly(isOpen),
- open: () => {
- isOpen.value = true
- },
- close: () => {
- isOpen.value = false
- }
- }
-}
diff --git a/apps/website/src/composables/useTopUpDialog.ts b/apps/website/src/composables/useTopUpDialog.ts
new file mode 100644
index 00000000000..7349b297230
--- /dev/null
+++ b/apps/website/src/composables/useTopUpDialog.ts
@@ -0,0 +1,19 @@
+import { readonly, ref } from 'vue'
+
+const isOpen = ref(false)
+const insufficient = ref(false)
+
+// Shared across islands: the playground opens the dialog the header renders.
+export function useTopUpDialog() {
+ return {
+ isOpen: readonly(isOpen),
+ insufficient: readonly(insufficient),
+ open: (options: { insufficient?: boolean } = {}) => {
+ insufficient.value = options.insufficient ?? false
+ isOpen.value = true
+ },
+ close: () => {
+ isOpen.value = false
+ }
+ }
+}
diff --git a/apps/website/src/config/credits.ts b/apps/website/src/config/credits.ts
new file mode 100644
index 00000000000..50a06e9c65c
--- /dev/null
+++ b/apps/website/src/config/credits.ts
@@ -0,0 +1,14 @@
+// Mirrors src/base/credits/comfyCredits.ts in the Cloud app.
+const CREDITS_PER_USD = 211
+
+export const TOP_UP_PRESETS_USD = [10, 25, 50, 100] as const
+export const TOP_UP_MIN_USD = 5
+export const TOP_UP_MAX_USD = 10_000
+
+export function usdToCredits(usd: number): number {
+ return Math.round(usd * CREDITS_PER_USD)
+}
+
+export function creditsToUsd(credits: number): number {
+ return credits / CREDITS_PER_USD
+}
diff --git a/apps/website/src/config/routes.ts b/apps/website/src/config/routes.ts
index 84e3d2cda84..02bc496d708 100644
--- a/apps/website/src/config/routes.ts
+++ b/apps/website/src/config/routes.ts
@@ -120,6 +120,7 @@ export const externalLinks = {
apiKeys: 'https://platform.comfy.org/profile/api-keys',
blog: 'https://blog.comfy.org/',
cloud: 'https://cloud.comfy.org',
+ cloudLogin: 'https://cloud.comfy.org/cloud/login',
cloudCta: (content: string) =>
`https://cloud.comfy.org/?utm_source=comfy_org&utm_medium=website&utm_campaign=free_tier&utm_content=${content}`,
cloudStatus: 'https://status.comfy.org',
diff --git a/apps/website/src/config/workshop-playground.ts b/apps/website/src/config/workshop-playground.ts
index a52e588a8af..34ceea02f44 100644
--- a/apps/website/src/config/workshop-playground.ts
+++ b/apps/website/src/config/workshop-playground.ts
@@ -51,7 +51,7 @@ export type FieldSchema =
readonly required: boolean
}
-export interface FileValue {
+interface FileValue {
readonly name: string
readonly size: number
readonly type: string
diff --git a/apps/website/src/config/workshop.ts b/apps/website/src/config/workshop.ts
index 927339db31e..909c54dc706 100644
--- a/apps/website/src/config/workshop.ts
+++ b/apps/website/src/config/workshop.ts
@@ -2,6 +2,7 @@ import type { Model } from './models'
import { models } from './models'
import displayOverrides from './workshop-model-display.json'
import generatedModels from './workshop-models.generated.json'
+import { usdToCredits } from './credits'
const MODALITIES = ['image', 'video', 'audio', '3d', 'text'] as const
export type Modality = (typeof MODALITIES)[number]
@@ -111,9 +112,6 @@ export interface WorkshopModelDetail extends WorkshopModel {
const display = displayOverrides as Record
const generated = generatedModels as unknown as Record
-// Placeholder until Router bills the playground: 100 credits per USD.
-export const CREDITS_PER_USD = 100
-
function modelDetailHref(slug: string): string {
return `/workshop/models/${slug}/`
}
@@ -134,7 +132,7 @@ function toWorkshopModel(model: Model): WorkshopModel {
const provider = overrides.provider ?? data?.provider
const creditsPerRun =
data?.priceUsdFrom !== undefined
- ? Math.round(data.priceUsdFrom * CREDITS_PER_USD)
+ ? usdToCredits(data.priceUsdFrom)
: overrides.creditsPerRun
return {
slug: model.slug,
diff --git a/apps/website/src/data/modelRelease.ts b/apps/website/src/data/modelRelease.ts
index 69c5cd1f626..7ea530c55c0 100644
--- a/apps/website/src/data/modelRelease.ts
+++ b/apps/website/src/data/modelRelease.ts
@@ -19,6 +19,8 @@ export type ModelReleaseSlide = {
exploreLabelKey: TranslationKey
/** Locale-aware model page route for the primary CTA. */
exploreRoute: RouteKey
+ /** Workshop model that both CTAs open while the Workshop prototype is on. */
+ workshopSlug?: string
tryCta: {
labelKey: TranslationKey
href: string
@@ -34,6 +36,7 @@ export type ModelReleaseSlide = {
export const modelReleaseSlides: ModelReleaseSlide[] = [
{
id: 'seedance-2-5',
+ workshopSlug: 'seedance-2',
media: {
type: 'video',
src: 'https://media.comfy.org/website/seedance-2.5/hero.mp4',
@@ -53,6 +56,7 @@ export const modelReleaseSlides: ModelReleaseSlide[] = [
},
{
id: 'ltx-2-5',
+ workshopSlug: 'ltx-2',
media: {
type: 'video',
src: 'https://media.comfy.org/website/ltx-2.5/hero.mp4',
@@ -72,6 +76,7 @@ export const modelReleaseSlides: ModelReleaseSlide[] = [
},
{
id: 'wan-animate-2',
+ workshopSlug: 'wan-api',
media: {
type: 'video',
src: 'https://media.comfy.org/website/wan-animate-2/hero.mp4',
@@ -91,6 +96,7 @@ export const modelReleaseSlides: ModelReleaseSlide[] = [
},
{
id: 'minimax-h3',
+ workshopSlug: 'minimax',
media: {
type: 'video',
src: 'https://media.comfy.org/website/minimax/hero.mp4',
diff --git a/apps/website/src/i18n/translations.ts b/apps/website/src/i18n/translations.ts
index 6406ad8b56a..50f80136400 100644
--- a/apps/website/src/i18n/translations.ts
+++ b/apps/website/src/i18n/translations.ts
@@ -8223,12 +8223,68 @@ Enterprise`
},
'nav.workspaceSettings': { en: 'Workspace settings', 'zh-CN': '工作区设置' },
'nav.accountSettings': { en: 'Account settings', 'zh-CN': '账户设置' },
- 'nav.prototypeControls': { en: 'Prototype controls', 'zh-CN': '原型控制' },
- 'nav.simulateZeroBalance': {
- en: 'Simulate zero balance',
- 'zh-CN': '模拟零余额'
+ 'nav.addCredits': { en: 'Add credits', 'zh-CN': '添加积分' },
+ 'nav.upgradeToAddCredits': {
+ en: 'Upgrade to add credits',
+ 'zh-CN': '升级以添加积分'
},
- 'nav.restoreBalance': { en: 'Restore balance', 'zh-CN': '恢复余额' },
+
+ // Workshop – top-up dialog (mirrors credits.topUp in the Cloud app)
+ 'workshop.topUp.addMoreCredits': {
+ en: 'Add more credits',
+ 'zh-CN': '添加更多积分'
+ },
+ 'workshop.topUp.addMoreCreditsToRun': {
+ en: 'Add more credits to run',
+ 'zh-CN': '添加更多积分以运行'
+ },
+ 'workshop.topUp.insufficientMessage': {
+ en: "You don't have enough credits to run this model.",
+ 'zh-CN': '你的积分不足以运行该模型。'
+ },
+ 'workshop.topUp.selectAmount': { en: 'Select amount', 'zh-CN': '选择金额' },
+ 'workshop.topUp.youPay': { en: 'Amount (USD)', 'zh-CN': '金额(美元)' },
+ 'workshop.topUp.youGet': { en: 'Credits', 'zh-CN': '积分' },
+ 'workshop.topUp.minRequired': {
+ en: '{credits} credits minimum',
+ 'zh-CN': '最少 {credits} 积分'
+ },
+ 'workshop.topUp.maxAllowed': {
+ en: '{credits} credits maximum.',
+ 'zh-CN': '最多 {credits} 积分。'
+ },
+ 'workshop.topUp.addCredits': { en: 'Add credits', 'zh-CN': '添加积分' },
+ 'workshop.topUp.viewPricing': {
+ en: 'View pricing details',
+ 'zh-CN': '查看定价详情'
+ },
+ 'workshop.topUp.confirmTitle': { en: 'Confirm', 'zh-CN': '确认' },
+ 'workshop.topUp.confirmSubtitle': {
+ en: 'Credits are added to this workspace as soon as payment completes.',
+ 'zh-CN': '付款完成后积分会立即添加到该工作区。'
+ },
+ 'workshop.topUp.totalDueToday': {
+ en: 'Total due today',
+ 'zh-CN': '今日应付总额'
+ },
+ 'workshop.topUp.chargedImmediatelyNote': {
+ en: 'Your saved payment method is charged immediately.',
+ 'zh-CN': '将立即从你保存的付款方式扣款。'
+ },
+ 'workshop.topUp.payAmount': { en: 'Pay {amount}', 'zh-CN': '支付 {amount}' },
+ 'workshop.topUp.processing': {
+ en: 'Confirming your payment…',
+ 'zh-CN': '正在确认付款…'
+ },
+ 'workshop.topUp.purchaseSuccess': {
+ en: 'Credits added successfully!',
+ 'zh-CN': '积分添加成功!'
+ },
+ 'workshop.topUp.doneBody': {
+ en: 'Your balance is updated. Hit Run when ready.',
+ 'zh-CN': '余额已更新。准备好后点击运行。'
+ },
+ 'workshop.topUp.done': { en: 'Done', 'zh-CN': '完成' },
// Workshop – catalog pages
'workshop.title': { en: 'Workshop', 'zh-CN': '工作坊' },
@@ -8250,10 +8306,6 @@ Enterprise`
'zh-CN':
'Comfy Router 上的每个合作伙伴模型都可直接运行。登录、选择模型、点击运行。'
},
- 'workshop.hero.prototype': {
- en: 'Prototype · mock data',
- 'zh-CN': '原型 · 模拟数据'
- },
'workshop.tabs.models': { en: 'Models', 'zh-CN': '模型' },
'workshop.tabs.workflows': { en: 'Workflows', 'zh-CN': '工作流' },
'workshop.search.label': { en: 'Search models', 'zh-CN': '搜索模型' },
@@ -8311,31 +8363,6 @@ Enterprise`
'zh-CN': '专项成果'
},
- // Workshop – sign-in dialog
- 'workshop.signIn.title': { en: 'Sign in to run', 'zh-CN': '登录以运行' },
- 'workshop.signIn.description': {
- en: 'Use your Comfy Cloud account. Your settings stay on this page.',
- 'zh-CN': '使用你的 Comfy Cloud 账户。你的设置会保留在本页。'
- },
- 'workshop.signIn.google': {
- en: 'Continue with Google',
- 'zh-CN': '使用 Google 继续'
- },
- 'workshop.signIn.github': {
- en: 'Continue with GitHub',
- 'zh-CN': '使用 GitHub 继续'
- },
- 'workshop.signIn.or': { en: 'or', 'zh-CN': '或' },
- 'workshop.signIn.email': { en: 'Email', 'zh-CN': '邮箱' },
- 'workshop.signIn.continue': {
- en: 'Continue with email',
- 'zh-CN': '使用邮箱继续'
- },
- 'workshop.signIn.footnote': {
- en: 'Prototype: every option signs you in with a mock account.',
- 'zh-CN': '原型:任意选项都会以模拟账户登录。'
- },
-
// Workshop – model detail
'workshop.model.meta.description': {
en: 'Run {name} in your browser, then call it from your code.',
@@ -8522,6 +8549,22 @@ Enterprise`
'workshop.examples.brief': { en: 'Taglines', 'zh-CN': '标语' },
// Workshop – prototype controls
+ 'workshop.proto.title': {
+ en: 'Prototype controls · mock data',
+ 'zh-CN': '原型控制 · 模拟数据'
+ },
+ 'workshop.proto.session': { en: 'Session', 'zh-CN': '会话' },
+ 'workshop.proto.session.signedOut': { en: 'Signed out', 'zh-CN': '未登录' },
+ 'workshop.proto.session.new': {
+ en: 'New account (35 welcome credits)',
+ 'zh-CN': '新账户(35 赠送积分)'
+ },
+ 'workshop.proto.session.existing': {
+ en: 'Existing account',
+ 'zh-CN': '已有账户'
+ },
+ 'workshop.proto.subscribed': { en: 'Subscribed', 'zh-CN': '已订阅' },
+ 'workshop.proto.zeroBalance': { en: 'Zero balance', 'zh-CN': '零余额' },
'workshop.proto.outcome': {
en: 'Simulate run outcome',
'zh-CN': '模拟运行结果'
diff --git a/apps/website/src/pages/workshop/index.astro b/apps/website/src/pages/workshop/index.astro
index 9b576c57fdb..1abb024d849 100644
--- a/apps/website/src/pages/workshop/index.astro
+++ b/apps/website/src/pages/workshop/index.astro
@@ -1,5 +1,6 @@
---
import BaseLayout from '../../layouts/BaseLayout.astro'
+import PrototypeTweaks from '../../components/workshop/PrototypeTweaks.vue'
import WorkshopHero from '../../components/workshop/WorkshopHero.astro'
import WorkshopModelsGrid from '../../components/workshop/WorkshopModelsGrid.vue'
import WorkshopTabs from '../../components/workshop/WorkshopTabs.astro'
@@ -17,4 +18,5 @@ import { t } from '../../i18n/translations'
diff --git a/apps/website/src/pages/workshop/models/[slug].astro b/apps/website/src/pages/workshop/models/[slug].astro
index bcc6f44fae9..9c0ce22f279 100644
--- a/apps/website/src/pages/workshop/models/[slug].astro
+++ b/apps/website/src/pages/workshop/models/[slug].astro
@@ -2,6 +2,7 @@
import type { GetStaticPaths } from 'astro'
import BaseLayout from '../../../layouts/BaseLayout.astro'
import ModelDetail from '../../../components/workshop/ModelDetail.vue'
+import PrototypeTweaks from '../../../components/workshop/PrototypeTweaks.vue'
import { getRoutes } from '../../../config/routes'
import {
getWorkshopModel,
@@ -161,4 +162,5 @@ const pillClass =