From 8df269e0b5eb0c0e7788b5cede5c002c69b31dea Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 04:27:01 +0000 Subject: [PATCH 1/6] Update tutorials/api-nodes/pricing.mdx --- tutorials/api-nodes/pricing.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tutorials/api-nodes/pricing.mdx b/tutorials/api-nodes/pricing.mdx index 5e7b437e..77fb01c9 100644 --- a/tutorials/api-nodes/pricing.mdx +++ b/tutorials/api-nodes/pricing.mdx @@ -106,6 +106,23 @@ The following table lists the pricing of the current API Nodes. All prices are i | Kling Text to Video | Video | duration, model_name | kling-v2-5-turbo, 10s | 0.7 | +## Lightricks + +| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | +| ------------------- | -------- | ---------------------------- | --------------- | ------- | +| LTX Text to Video | Video | model, resolution | ltx-2-fast, FHD | 0.04 | +| LTX Text to Video | Video | model, resolution | ltx-2-fast, QHD | 0.08 | +| LTX Text to Video | Video | model, resolution | ltx-2-fast, UHD | 0.16 | +| LTX Text to Video | Video | model, resolution | ltx-2-pro, FHD | 0.06 | +| LTX Text to Video | Video | model, resolution | ltx-2-pro, QHD | 0.12 | +| LTX Text to Video | Video | model, resolution | ltx-2-pro, UHD | 0.24 | +| LTX Image to Video | Video | model, resolution | ltx-2-fast, FHD | 0.04 | +| LTX Image to Video | Video | model, resolution | ltx-2-fast, QHD | 0.08 | +| LTX Image to Video | Video | model, resolution | ltx-2-fast, UHD | 0.16 | +| LTX Image to Video | Video | model, resolution | ltx-2-pro, FHD | 0.06 | +| LTX Image to Video | Video | model, resolution | ltx-2-pro, QHD | 0.12 | +| LTX Image to Video | Video | model, resolution | ltx-2-pro, UHD | 0.24 | + ## Luma | Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | From 81f551af02590b02395139dfd24a340d2a849d10 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 04:27:42 +0000 Subject: [PATCH 2/6] Update zh-CN/tutorials/api-nodes/pricing.mdx --- zh-CN/tutorials/api-nodes/pricing.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/zh-CN/tutorials/api-nodes/pricing.mdx b/zh-CN/tutorials/api-nodes/pricing.mdx index 848ebfa7..3b7c33d6 100644 --- a/zh-CN/tutorials/api-nodes/pricing.mdx +++ b/zh-CN/tutorials/api-nodes/pricing.mdx @@ -107,6 +107,23 @@ sidebarTitle: "调用价格" | Kling Text to Video | 视频 | 时长, model_name | kling-v2-5-turbo, 10s | 0.7 | +## Lightricks + +| 模型(节点名称) | 类别 | 影响价格的参数 | 参数组合 | 价格(美元$) | +| ------------------- | ---- | -------------- | --------------- | ------------- | +| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-fast, FHD | 0.04 | +| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-fast, QHD | 0.08 | +| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-fast, UHD | 0.16 | +| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-pro, FHD | 0.06 | +| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-pro, QHD | 0.12 | +| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-pro, UHD | 0.24 | +| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-fast, FHD | 0.04 | +| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-fast, QHD | 0.08 | +| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-fast, UHD | 0.16 | +| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-pro, FHD | 0.06 | +| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-pro, QHD | 0.12 | +| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-pro, UHD | 0.24 | + ## Luma | 模型(节点名称) | 类别 | 影响价格的参数 | 参数组合 | 价格(美元$) | From 50907d112f9602f94edbf22df874eeb015e70384 Mon Sep 17 00:00:00 2001 From: ComfyUI Wiki Date: Tue, 28 Oct 2025 12:36:34 +0800 Subject: [PATCH 3/6] Update pricing --- tutorials/api-nodes/pricing.mdx | 70 +++++++++++++-------------- zh-CN/tutorials/api-nodes/pricing.mdx | 6 +-- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/tutorials/api-nodes/pricing.mdx b/tutorials/api-nodes/pricing.mdx index 77fb01c9..3aec3097 100644 --- a/tutorials/api-nodes/pricing.mdx +++ b/tutorials/api-nodes/pricing.mdx @@ -102,26 +102,26 @@ The following table lists the pricing of the current API Nodes. All prices are i | Kling Video Effects | Video | duration, effect_scene | dizzydizzy or bloombloom, 5 | 0.49 | | Kling Video Effects | Video | duration, effect_scene | fuzzyfuzzy or squish or expansion, 5 | 0.28 | | Kling Video Extend | Video | NA | NA | 0.28 | -| Kling Text to Video | Video | duration, model_name | kling-v2-5-turbo, 5s | 0.35 | -| Kling Text to Video | Video | duration, model_name | kling-v2-5-turbo, 10s | 0.7 | +| Kling Text to Video | Video | duration, model_name | kling-v2-5-turbo, 5s | 0.35 | +| Kling Text to Video | Video | duration, model_name | kling-v2-5-turbo, 10s | 0.7 | ## Lightricks -| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | -| ------------------- | -------- | ---------------------------- | --------------- | ------- | -| LTX Text to Video | Video | model, resolution | ltx-2-fast, FHD | 0.04 | -| LTX Text to Video | Video | model, resolution | ltx-2-fast, QHD | 0.08 | -| LTX Text to Video | Video | model, resolution | ltx-2-fast, UHD | 0.16 | -| LTX Text to Video | Video | model, resolution | ltx-2-pro, FHD | 0.06 | -| LTX Text to Video | Video | model, resolution | ltx-2-pro, QHD | 0.12 | -| LTX Text to Video | Video | model, resolution | ltx-2-pro, UHD | 0.24 | -| LTX Image to Video | Video | model, resolution | ltx-2-fast, FHD | 0.04 | -| LTX Image to Video | Video | model, resolution | ltx-2-fast, QHD | 0.08 | -| LTX Image to Video | Video | model, resolution | ltx-2-fast, UHD | 0.16 | -| LTX Image to Video | Video | model, resolution | ltx-2-pro, FHD | 0.06 | -| LTX Image to Video | Video | model, resolution | ltx-2-pro, QHD | 0.12 | -| LTX Image to Video | Video | model, resolution | ltx-2-pro, UHD | 0.24 | +| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | +| ------------------ | -------- | ---------------------------- | --------------- | ----------- | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, FHD | 0.04/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, QHD | 0.08/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, UHD | 0.16/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, FHD | 0.06/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, QHD | 0.12/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, UHD | 0.24/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, FHD | 0.04/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, QHD | 0.08/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, UHD | 0.16/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, FHD | 0.06/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, QHD | 0.12/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, UHD | 0.24/second | ## Luma @@ -169,22 +169,22 @@ The following table lists the pricing of the current API Nodes. All prices are i ## Google -| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | -| ----------------------------- | -------- | ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| Google Veo 3.1 Video Generation | Video | model, generate_audio | veo-3.1-fast-generate-001, true | $0.15/second | -| Google Veo 3.1 Video Generation | Video | model, generate_audio | veo-3.1-standard-generate-001, true | $0.40/second | -| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-fast-generate-001, false | $0.10/second | -| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-fast-generate-001, true | $0.15/second | -| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-generate-001, false | $0.20/second | -| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-generate-001, true | $0.40/second | -| Google Veo2 Video Generation | Video | duration | 5 | 2.5 | -| Google Veo2 Video Generation | Video | duration | 8 | 4 | -| Google Gemini | Text | model | gemini-2.5-flash-preview-04-17 | $1.25/1M input tokens + $10/1M output tokens (< 200K tokens) | -| Google Gemini | Text | model | gemini-2.5-pro-preview-05-06 | $0.16/1M input tokens + $0.6/1M output tokens + $1/1M input audio tokens (< 200K tokens) | -| Google Gemini | Text | model | gemini-2.5-flash | $0.3/1M input tokens(txt, img, vid) + $2.5/1M output tex tokens + $1/1M input audio tokens (< 200K tokens) | -| Google Gemini | Text | model | gemini-2.5-pro | $1.25/1M input tokens (text, img, vid) + $10/1M output tokens (< 200K total tokens) | -| Google Gemini | Text | model | gemini-2.5-pro-preview-05-06 | $1.25/1M input tokens(text, img, vid) + $10/1M output tokens (< 200K total tokens) | -| Google Gemini Image | Image | model | gemini-2.5-flash-image-preview | $0.3/1M input tokens (text, video, image) + $1/1M input tokens (audio) + $2.5/1M output tokens (text) + $30/1M output tokens (image) | +| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | +| ------------------------------- | -------- | ---------------------------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | +| Google Veo 3.1 Video Generation | Video | model, generate_audio | veo-3.1-fast-generate-001, true | $0.15/second | +| Google Veo 3.1 Video Generation | Video | model, generate_audio | veo-3.1-standard-generate-001, true | $0.40/second | +| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-fast-generate-001, false | $0.10/second | +| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-fast-generate-001, true | $0.15/second | +| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-generate-001, false | $0.20/second | +| Google Veo 3 Video Generatoin | Video | model, generate_audio | veo-3.0-generate-001, true | $0.40/second | +| Google Veo2 Video Generation | Video | duration | 5 | 2.5 | +| Google Veo2 Video Generation | Video | duration | 8 | 4 | +| Google Gemini | Text | model | gemini-2.5-flash-preview-04-17 | $1.25/1M input tokens + $10/1M output tokens (< 200K tokens) | +| Google Gemini | Text | model | gemini-2.5-pro-preview-05-06 | $0.16/1M input tokens + $0.6/1M output tokens + $1/1M input audio tokens (< 200K tokens) | +| Google Gemini | Text | model | gemini-2.5-flash | $0.3/1M input tokens(txt, img, vid) + $2.5/1M output tex tokens + $1/1M input audio tokens (< 200K tokens) | +| Google Gemini | Text | model | gemini-2.5-pro | $1.25/1M input tokens (text, img, vid) + $10/1M output tokens (< 200K total tokens) | +| Google Gemini | Text | model | gemini-2.5-pro-preview-05-06 | $1.25/1M input tokens(text, img, vid) + $10/1M output tokens (< 200K total tokens) | +| Google Gemini Image | Image | model | gemini-2.5-flash-image-preview | $0.3/1M input tokens (text, video, image) + $1/1M input tokens (audio) + $2.5/1M output tokens (text) + $30/1M output tokens (image) | ## Minimax @@ -405,9 +405,9 @@ The following table lists the pricing of the current API Nodes. All prices are i | Stability AI Upscale Conservative | Image | NA | NA | 0.40 | | Stability AI Upscale Creative | Image | NA | NA | 0.60 | | Stability AI Upscale Fast | Image | NA | NA | 0.02 | -| Stability AI Audio 2.5 - Audio To Audio | Audio | model | stability-audio-2.5 | 0.2 | | Audio | In Development | https://platform.stability.ai/pricing?_gl=1*14dfgai*_ga*NzE3NDIxNDQ5LjE3NTE1MTg5MTA.*_ga_W4CMY55YQZ*czE3NTI4ODQ4NjckbzIkZzAkdDE3NTI4ODQ4NjckajYwJGwwJGgw*_gcl_au*MjAxNjk0NjEwNy4xNzUyODg0ODY3 | | | No | | No | No -| Stability AI Audio 2.5 - Inpaint | Audio | model | stability-audio-2.5 | 0.2 | | Audio | In Development | https://platform.stability.ai/pricing?_gl=1*14dfgai*_ga*NzE3NDIxNDQ5LjE3NTE1MTg5MTA.*_ga_W4CMY55YQZ*czE3NTI4ODQ4NjckbzIkZzAkdDE3NTI4ODQ4NjckajYwJGwwJGgw*_gcl_au*MjAxNjk0NjEwNy4xNzUyODg0ODY3 | | | No | | No | No -| Stability AI Audio 2.5 - Text To Audio | Audio | model | stability-audio-2.5 | 0.2 | | Audio | In Development | https://platform.stability.ai/pricing?_gl=1*14dfgai*_ga*NzE3NDIxNDQ5LjE3NTE1MTg5MTA.*_ga_W4CMY55YQZ*czE3NTI4ODQ4NjckbzIkZzAkdDE3NTI4ODQ4NjckajYwJGwwJGgw*_gcl_au*MjAxNjk0NjEwNy4xNzUyODg0ODY3 | | | No | | No | No +| Stability AI Audio 2.5 - Audio To Audio | Audio | model | stability-audio-2.5 | 0.2 | +| Stability AI Audio 2.5 - Inpaint | Audio | model | stability-audio-2.5 | 0.2 | +| Stability AI Audio 2.5 - Text To Audio | Audio | model | stability-audio-2.5 | 0.2 | ## Vidu diff --git a/zh-CN/tutorials/api-nodes/pricing.mdx b/zh-CN/tutorials/api-nodes/pricing.mdx index 3b7c33d6..df3fed79 100644 --- a/zh-CN/tutorials/api-nodes/pricing.mdx +++ b/zh-CN/tutorials/api-nodes/pricing.mdx @@ -408,9 +408,9 @@ sidebarTitle: "调用价格" | Stability AI Upscale Conservative | 图像 | NA | NA | 0.40 | | Stability AI Upscale Creative | 图像 | NA | NA | 0.60 | | Stability AI Upscale Fast | 图像 | NA | NA | 0.02 | -| Stability AI Audio 2.5 - Audio To Audio | 音频 | 模型 | stability-audio-2.5 | 0.2 | | Audio | In Development | https://platform.stability.ai/pricing?_gl=1*14dfgai*_ga*NzE3NDIxNDQ5LjE3NTE1MTg5MTA.*_ga_W4CMY55YQZ*czE3NTI4ODQ4NjckbzIkZzAkdDE3NTI4ODQ4NjckajYwJGwwJGgw*_gcl_au*MjAxNjk0NjEwNy4xNzUyODg0ODY3 | | | No | | No | No -| Stability AI Audio 2.5 - Inpaint | 音频 | 模型 | stability-audio-2.5 | 0.2 | | Audio | In Development | https://platform.stability.ai/pricing?_gl=1*14dfgai*_ga*NzE3NDIxNDQ5LjE3NTE1MTg5MTA.*_ga_W4CMY55YQZ*czE3NTI4ODQ4NjckbzIkZzAkdDE3NTI4ODQ4NjckajYwJGwwJGgw*_gcl_au*MjAxNjk0NjEwNy4xNzUyODg0ODY3 | | | No | | No | No -| Stability AI Audio 2.5 - Text To Audio | 音频 | 模型 | stability-audio-2.5 | 0.2 | | Audio | In Development | https://platform.stability.ai/pricing?_gl=1*14dfgai*_ga*NzE3NDIxNDQ5LjE3NTE1MTg5MTA.*_ga_W4CMY55YQZ*czE3NTI4ODQ4NjckbzIkZzAkdDE3NTI4ODQ4NjckajYwJGwwJGgw*_gcl_au*MjAxNjk0NjEwNy4xNzUyODg0ODY3 | | | No | | No | No +| Stability AI Audio 2.5 - Audio To Audio | 音频 | 模型 | stability-audio-2.5 | 0.2 | +| Stability AI Audio 2.5 - Inpaint | 音频 | 模型 | stability-audio-2.5 | 0.2 | +| Stability AI Audio 2.5 - Text To Audio | 音频 | 模型 | stability-audio-2.5 | 0.2 | ## Vidu From b75ee1de8b4a4d53520f4a800d6399672f04d6a6 Mon Sep 17 00:00:00 2001 From: ComfyUI Wiki Date: Tue, 28 Oct 2025 12:39:35 +0800 Subject: [PATCH 4/6] Update pricing --- tutorials/api-nodes/pricing.mdx | 28 +++++++++++++-------------- zh-CN/tutorials/api-nodes/pricing.mdx | 26 ++++++++++++------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/tutorials/api-nodes/pricing.mdx b/tutorials/api-nodes/pricing.mdx index 3aec3097..96b7cd30 100644 --- a/tutorials/api-nodes/pricing.mdx +++ b/tutorials/api-nodes/pricing.mdx @@ -108,20 +108,20 @@ The following table lists the pricing of the current API Nodes. All prices are i ## Lightricks -| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | -| ------------------ | -------- | ---------------------------- | --------------- | ----------- | -| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, FHD | 0.04/second | -| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, QHD | 0.08/second | -| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, UHD | 0.16/second | -| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, FHD | 0.06/second | -| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, QHD | 0.12/second | -| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, UHD | 0.24/second | -| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, FHD | 0.04/second | -| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, QHD | 0.08/second | -| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, UHD | 0.16/second | -| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, FHD | 0.06/second | -| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, QHD | 0.12/second | -| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, UHD | 0.24/second | +| Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | +| ------------------ | -------- | ---------------------------- | --------------------- | ----------- | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, 1920x1080 | 0.04/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, 2560x1440 | 0.08/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-fast, 3840x2160 | 0.16/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, 1920x1080 | 0.06/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, 2560x1440 | 0.12/second | +| LTX Text to Video | Video | model, resolution, duration | ltx-2-pro, 3840x2160 | 0.24/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, 1920x1080 | 0.04/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, 2560x1440 | 0.08/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-fast, 3840x2160 | 0.16/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, 1920x1080 | 0.06/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, 2560x1440 | 0.12/second | +| LTX Image to Video | Video | model, resolution, duration | ltx-2-pro, 3840x2160 | 0.24/second | ## Luma diff --git a/zh-CN/tutorials/api-nodes/pricing.mdx b/zh-CN/tutorials/api-nodes/pricing.mdx index df3fed79..743b3bed 100644 --- a/zh-CN/tutorials/api-nodes/pricing.mdx +++ b/zh-CN/tutorials/api-nodes/pricing.mdx @@ -109,20 +109,20 @@ sidebarTitle: "调用价格" ## Lightricks -| 模型(节点名称) | 类别 | 影响价格的参数 | 参数组合 | 价格(美元$) | +| 模型(节点名称) | 类别 | 影响价格的参数 | 参数组合 | 价格(美元$) | | ------------------- | ---- | -------------- | --------------- | ------------- | -| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-fast, FHD | 0.04 | -| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-fast, QHD | 0.08 | -| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-fast, UHD | 0.16 | -| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-pro, FHD | 0.06 | -| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-pro, QHD | 0.12 | -| LTX Text to Video | 视频 | 模型, 分辨率 | ltx-2-pro, UHD | 0.24 | -| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-fast, FHD | 0.04 | -| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-fast, QHD | 0.08 | -| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-fast, UHD | 0.16 | -| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-pro, FHD | 0.06 | -| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-pro, QHD | 0.12 | -| LTX Image to Video | 视频 | 模型, 分辨率 | ltx-2-pro, UHD | 0.24 | +| LTX Text to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-fast, 1920x1080 | 0.04 | +| LTX Text to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-fast, 2560x1440 | 0.08 | +| LTX Text to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-fast, 3840x2160 | 0.16 | +| LTX Text to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-pro, 1920x1080 | 0.06 | +| LTX Text to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-pro, 2560x1440 | 0.12 | +| LTX Text to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-pro, 3840x2160 | 0.24 | +| LTX Image to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-fast, 1920x1080 | 0.04 | +| LTX Image to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-fast, 2560x1440 | 0.08 | +| LTX Image to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-fast, 3840x2160 | 0.16 | +| LTX Image to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-pro, 1920x1080 | 0.06 | +| LTX Image to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-pro, 2560x1440 | 0.12 | +| LTX Image to Video | 视频 | 模型, 分辨率, 时长 | ltx-2-pro, 3840x2160 | 0.24 | ## Luma From c4acab702f30d3f05636acd72868f59253e57386 Mon Sep 17 00:00:00 2001 From: ComfyUI Wiki Date: Tue, 28 Oct 2025 13:57:36 +0800 Subject: [PATCH 5/6] Update Chinese version of javascript_examples.mdx to match PR #508 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR synchronizes the Chinese documentation with the changes made in PR #508 (Contextmenu migration). The updates replace deprecated monkey-patching patterns with the new recommended extension hooks for context menus. Changes: - Updated background menu section to use `getCanvasMenuItems` method instead of monkey-patching `LGraphCanvas.prototype.getCanvasMenuOptions` - Updated node menu section to use `getNodeMenuItems` method instead of monkey-patching in `beforeRegisterNodeDef()` - Updated submenu section to use declarative `submenu` property with `options` array instead of `LiteGraph.ContextMenu` These changes align with the best practices introduced in the context menu migration guide and ensure Chinese documentation stays in sync with English documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- zh-CN/custom-nodes/js/javascript_examples.mdx | 122 ++++++++++-------- 1 file changed, 69 insertions(+), 53 deletions(-) diff --git a/zh-CN/custom-nodes/js/javascript_examples.mdx b/zh-CN/custom-nodes/js/javascript_examples.mdx index 43be848d..472b4bec 100644 --- a/zh-CN/custom-nodes/js/javascript_examples.mdx +++ b/zh-CN/custom-nodes/js/javascript_examples.mdx @@ -8,72 +8,88 @@ title: "带注释的示例" ### 背景菜单 -主背景菜单(在画布上右键)是通过调用 `LGraph.getCanvasMenuOptions` 生成的。添加自定义菜单选项的一种方式是劫持这个调用: +主背景菜单(在画布上右键)是通过调用 `LGraphCanvas.getCanvasMenuOptions` 生成的。标准的编辑方式是在扩展上实现 `getCanvasMenuItems` 方法: -```Javascript -/* 在 setup() 中 */ - const original_getCanvasMenuOptions = LGraphCanvas.prototype.getCanvasMenuOptions; - LGraphCanvas.prototype.getCanvasMenuOptions = function () { - // 获取基础选项 - const options = original_getCanvasMenuOptions.apply(this, arguments); - options.push(null); // 插入分隔线 - options.push({ - content: "菜单的文本", - callback: async () => { - // 执行任意操作 - } - }) - return options; - } +```javascript +app.registerExtension({ + name: "MyExtension", + getCanvasMenuItems(canvas) { + const items = [] + items.push(null) // 插入分隔线 + items.push({ + content: "菜单的文本", + callback: async () => { + // 执行任意操作 + } + }) + return items + } +}); ``` ### 节点菜单 -当你在节点上右键时,菜单同样是通过 `node.getExtraMenuOptions` 生成的。但这次不是返回一个 options 对象,而是将其作为参数传入…… +当你在节点上右键时,菜单同样是通过 `node.getExtraMenuOptions` 生成的。 +标准的方式是在扩展上实现 `getNodeMenuItems` 方法: ```javascript -/* 在 beforeRegisterNodeDef() 中 */ -if (nodeType?.comfyClass=="MyNodeClass") { - const original_getExtraMenuOptions = nodeType.prototype.getExtraMenuOptions; - nodeType.prototype.getExtraMenuOptions = function(_, options) { - original_getExtraMenuOptions?.apply(this, arguments); - options.push({ - content: "做点有趣的事", - callback: async () => { - // 有趣的操作 - } - }) - } -} +app.registerExtension({ + name: "MyExtension", + getNodeMenuItems(node) { + const items = [] + + // 如果需要,你可以按节点类型过滤 + if (node.comfyClass === "MyNodeClass") { + items.push({ + content: "做点有趣的事", + callback: async () => { + // 有趣的操作 + } + }) + } + + return items + } +}); ``` ### 子菜单 -如果你想要子菜单,可以提供一个回调,使用 `LiteGraph.ContextMenu` 创建它: +如果你想要子菜单,使用带有 `options` 数组的 `submenu` 属性: ```javascript -function make_submenu(value, options, e, menu, node) { - const submenu = new LiteGraph.ContextMenu( - ["选项 1", "选项 2", "选项 3"], - { - event: e, - callback: function (v) { - // 用 v (=="选项 x") 做点什么 - }, - parentMenu: menu, - node:node - } - ) -} - -/* ... */ - options.push( - { - content: "带选项的菜单", - has_submenu: true, - callback: make_submenu, - } - ) +app.registerExtension({ + name: "MyExtension", + getCanvasMenuItems(canvas) { + const items = [] + items.push({ + content: "带选项的菜单", + submenu: { + options: [ + { + content: "选项 1", + callback: (v) => { + // 用 v 做点什么 + } + }, + { + content: "选项 2", + callback: (v) => { + // 用 v 做点什么 + } + }, + { + content: "选项 3", + callback: (v) => { + // 用 v 做点什么 + } + } + ] + } + }) + return items + } +}); ``` ## 捕获 UI 事件 From 2dda6bf9ab2390a54a10d7c697cdd5822e539168 Mon Sep 17 00:00:00 2001 From: ComfyUI Wiki Date: Tue, 28 Oct 2025 14:02:30 +0800 Subject: [PATCH 6/6] Fix typos --- tutorials/api-nodes/pricing.mdx | 160 ++++++++++++++++---------------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/tutorials/api-nodes/pricing.mdx b/tutorials/api-nodes/pricing.mdx index 96b7cd30..75fbccdc 100644 --- a/tutorials/api-nodes/pricing.mdx +++ b/tutorials/api-nodes/pricing.mdx @@ -131,40 +131,40 @@ The following table lists the pricing of the current API Nodes. All prices are i | Luma Text to Image | Image | model | photo-flash-1 | 0.0019 | | Luma Image to Image | Image | model | photon-1 | 0.0073 | | Luma Image to Image | Image | model | photon-1 | 0.0073 | -| Luma Image to Video | Video | duration, model, resoluion | ray-1-6, 720p, 5s | 0.35 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 4k, 5s | 6.37 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 4k, 9s | 11.47 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 540p, 5s | 0.4 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 540p, 9s | 0.72 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 720p, 5s | 0.71 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 720p, 9s | 1.27 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 1080p, 5s | 1.59 | -| Luma Image to Video | Video | duration, model, resoluion | ray-2, 1080p, 9s | 2.87 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 4k, 5s | 2.19 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 4k, 9s | 3.94 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 540p, 5s | 0.14 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 540p, 9s | 0.25 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 720p, 5s | 0.24 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 720p, 9s | 0.44 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 1080p, 5s | 0.55 | -| Luma Image to Video | Video | duration, model, resoluion | ray-flash-2, 1080p, 9s | 0.99 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-1-6, 720p, 5s | 0.35 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 4k, 5s | 6.37 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 4k, 9s | 11.47 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 540p, 5s | 0.4 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 540p, 9s | 0.72 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 720p, 5s | 0.71 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 720p, 9s | 1.27 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 1080p, 5s | 1.59 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-2, 1080p, 9s | 2.87 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 4k, 5s | 2.19 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 4k, 9s | 3.94 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 540p, 5s | 0.14 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 540p, 9s | 0.25 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 720p, 5s | 0.24 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 720p, 9s | 0.44 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 1080p, 5s | 0.55 | -| Luma Text-to-video | Video | duration, model, resoluion | ray-flash-2, 1080p, 9s | 0.99 | +| Luma Image to Video | Video | duration, model, resolution | ray-1-6, 720p, 5s | 0.35 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 4k, 5s | 6.37 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 4k, 9s | 11.47 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 540p, 5s | 0.4 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 540p, 9s | 0.72 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 720p, 5s | 0.71 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 720p, 9s | 1.27 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 1080p, 5s | 1.59 | +| Luma Image to Video | Video | duration, model, resolution | ray-2, 1080p, 9s | 2.87 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 4k, 5s | 2.19 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 4k, 9s | 3.94 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 540p, 5s | 0.14 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 540p, 9s | 0.25 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 720p, 5s | 0.24 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 720p, 9s | 0.44 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 1080p, 5s | 0.55 | +| Luma Image to Video | Video | duration, model, resolution | ray-flash-2, 1080p, 9s | 0.99 | +| Luma Text-to-video | Video | duration, model, resolution | ray-1-6, 720p, 5s | 0.35 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 4k, 5s | 6.37 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 4k, 9s | 11.47 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 540p, 5s | 0.4 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 540p, 9s | 0.72 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 720p, 5s | 0.71 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 720p, 9s | 1.27 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 1080p, 5s | 1.59 | +| Luma Text-to-video | Video | duration, model, resolution | ray-2, 1080p, 9s | 2.87 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 4k, 5s | 2.19 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 4k, 9s | 3.94 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 540p, 5s | 0.14 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 540p, 9s | 0.25 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 720p, 5s | 0.24 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 720p, 9s | 0.44 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 1080p, 5s | 0.55 | +| Luma Text-to-video | Video | duration, model, resolution | ray-flash-2, 1080p, 9s | 0.99 | ## Google @@ -288,57 +288,57 @@ The following table lists the pricing of the current API Nodes. All prices are i | Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | | ------------------------- | -------- | ---------------------------- | --------------- | ------- | -| PixVerse Text to Video | Video | duration, quality, resoluion | 360p fast 5s | 0.9 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 360p normal 5s | 0.45 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 360p normal 8s | 0.9 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 540p fast 5s | 0.9 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 540p normal 5s | 0.45 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 540p normal 8s | 0.9 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 720p fast 5s | 1.2 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 720p normal 5s | 0.6 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 720p normal 8s | 1.2 | -| PixVerse Text to Video | Video | duration, quality, resoluion | 1080p normal 5s | 1.2 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 360p fast 5s | 0.9 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 360p normal 5s | 0.45 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 360p normal 8s | 0.9 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 540p fast 5s | 0.9 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 540p normal 5s | 0.45 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 540p normal 8s | 0.9 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 720p fast 5s | 1.2 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 720p normal 5s | 0.6 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 720p normal 8s | 1.2 | -| PixVerse Transition Video | Video | duration, quality, resoluion | 1080p normal 5s | 1.2 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 360p fast 5s | 0.9 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 360p normal 5s | 0.45 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 360p normal 8s | 0.9 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 540p fast 5s | 0.9 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 540p normal 5s | 0.45 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 540p normal 8s | 0.9 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 720p fast 5s | 1.2 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 720p normal 5s | 0.6 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 720p normal 8s | 1.2 | -| PixVerseImage to Video | Video | duration, quality, resoluion | 1080p normal 5s | 1.2 | +| PixVerse Text to Video | Video | duration, quality, resolution | 360p fast 5s | 0.9 | +| PixVerse Text to Video | Video | duration, quality, resolution | 360p normal 5s | 0.45 | +| PixVerse Text to Video | Video | duration, quality, resolution | 360p normal 8s | 0.9 | +| PixVerse Text to Video | Video | duration, quality, resolution | 540p fast 5s | 0.9 | +| PixVerse Text to Video | Video | duration, quality, resolution | 540p normal 5s | 0.45 | +| PixVerse Text to Video | Video | duration, quality, resolution | 540p normal 8s | 0.9 | +| PixVerse Text to Video | Video | duration, quality, resolution | 720p fast 5s | 1.2 | +| PixVerse Text to Video | Video | duration, quality, resolution | 720p normal 5s | 0.6 | +| PixVerse Text to Video | Video | duration, quality, resolution | 720p normal 8s | 1.2 | +| PixVerse Text to Video | Video | duration, quality, resolution | 1080p normal 5s | 1.2 | +| PixVerse Transition Video | Video | duration, quality, resolution | 360p fast 5s | 0.9 | +| PixVerse Transition Video | Video | duration, quality, resolution | 360p normal 5s | 0.45 | +| PixVerse Transition Video | Video | duration, quality, resolution | 360p normal 8s | 0.9 | +| PixVerse Transition Video | Video | duration, quality, resolution | 540p fast 5s | 0.9 | +| PixVerse Transition Video | Video | duration, quality, resolution | 540p normal 5s | 0.45 | +| PixVerse Transition Video | Video | duration, quality, resolution | 540p normal 8s | 0.9 | +| PixVerse Transition Video | Video | duration, quality, resolution | 720p fast 5s | 1.2 | +| PixVerse Transition Video | Video | duration, quality, resolution | 720p normal 5s | 0.6 | +| PixVerse Transition Video | Video | duration, quality, resolution | 720p normal 8s | 1.2 | +| PixVerse Transition Video | Video | duration, quality, resolution | 1080p normal 5s | 1.2 | +| PixVerseImage to Video | Video | duration, quality, resolution | 360p fast 5s | 0.9 | +| PixVerseImage to Video | Video | duration, quality, resolution | 360p normal 5s | 0.45 | +| PixVerseImage to Video | Video | duration, quality, resolution | 360p normal 8s | 0.9 | +| PixVerseImage to Video | Video | duration, quality, resolution | 540p fast 5s | 0.9 | +| PixVerseImage to Video | Video | duration, quality, resolution | 540p normal 5s | 0.45 | +| PixVerseImage to Video | Video | duration, quality, resolution | 540p normal 8s | 0.9 | +| PixVerseImage to Video | Video | duration, quality, resolution | 720p fast 5s | 1.2 | +| PixVerseImage to Video | Video | duration, quality, resolution | 720p normal 5s | 0.6 | +| PixVerseImage to Video | Video | duration, quality, resolution | 720p normal 8s | 1.2 | +| PixVerseImage to Video | Video | duration, quality, resolution | 1080p normal 5s | 1.2 | ## Pika | Model(Node name) | Category | Parameters that affect price | Parameter combo | Price $ | | ------------------------------------- | -------- | ---------------------------- | --------------- | ------- | -| Pika Scenes (Video Image Composition) | Video | duration, resoluion | 720p, 5s | 0.3 | -| Pika Scenes (Video Image Composition) | Video | duration, resoluion | 720p, 10s | 0.4 | -| Pika Scenes (Video Image Composition) | Video | duration, resoluion | 1080p, 5s | 0.5 | -| Pika Scenes (Video Image Composition) | Video | duration, resoluion | 1080p, 10s | 1.5 | -| Pika Start and End Frame to Video | Video | duration, resoluion | 720p, 5s | 0.2 | -| Pika Start and End Frame to Video | Video | duration, resoluion | 720p, 10s | 0.25 | -| Pika Start and End Frame to Video | Video | duration, resoluion | 1080p, 5s | 0.3 | -| Pika Start and End Frame to Video | Video | duration, resoluion | 1080p, 10s | 1 | -| Pika Text to Video | Video | duration, resoluion | 720p, 5s | 0.2 | -| Pika Text to Video | Video | duration, resoluion | 720p, 10s | 0.6 | -| Pika Text to Video | Video | duration, resoluion | 1080p, 5s | 0.45 | -| Pika Text to Video | Video | duration, resoluion | 1080p, 10s | 1 | -| PikaImage to Video | Video | duration, resoluion | 720p, 5s | 0.2 | -| PikaImage to Video | Video | duration, resoluion | 720p, 10s | 0.6 | -| PikaImage to Video | Video | duration, resoluion | 1080p, 5s | 0.45 | -| PikaImage to Video | Video | duration, resoluion | 1080p, 10s | 1 | +| Pika Scenes (Video Image Composition) | Video | duration, resolution | 720p, 5s | 0.3 | +| Pika Scenes (Video Image Composition) | Video | duration, resolution | 720p, 10s | 0.4 | +| Pika Scenes (Video Image Composition) | Video | duration, resolution | 1080p, 5s | 0.5 | +| Pika Scenes (Video Image Composition) | Video | duration, resolution | 1080p, 10s | 1.5 | +| Pika Start and End Frame to Video | Video | duration, resolution | 720p, 5s | 0.2 | +| Pika Start and End Frame to Video | Video | duration, resolution | 720p, 10s | 0.25 | +| Pika Start and End Frame to Video | Video | duration, resolution | 1080p, 5s | 0.3 | +| Pika Start and End Frame to Video | Video | duration, resolution | 1080p, 10s | 1 | +| Pika Text to Video | Video | duration, resolution | 720p, 5s | 0.2 | +| Pika Text to Video | Video | duration, resolution | 720p, 10s | 0.6 | +| Pika Text to Video | Video | duration, resolution | 1080p, 5s | 0.45 | +| Pika Text to Video | Video | duration, resolution | 1080p, 10s | 1 | +| PikaImage to Video | Video | duration, resolution | 720p, 5s | 0.2 | +| PikaImage to Video | Video | duration, resolution | 720p, 10s | 0.6 | +| PikaImage to Video | Video | duration, resolution | 1080p, 5s | 0.45 | +| PikaImage to Video | Video | duration, resolution | 1080p, 10s | 1 | | Pika Swaps (Video Object Replacement) | Video | NA | NA | 0.3 | | Pikadditios (Video Object Insertion) | Video | NA | NA | 0.3 | | Pikaffects (Video Effects) | Video | NA | NA | 0.45 |