Skip to content

Commit 97c09b5

Browse files
authored
Update api node pricing (#416)
* Update API node pricing * Add stable audio docs * Add input audio
1 parent 528509a commit 97c09b5

File tree

6 files changed

+148
-2
lines changed

6 files changed

+148
-2
lines changed

docs.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@
209209
"group": "Stability AI",
210210
"pages": [
211211
"tutorials/api-nodes/stability-ai/stable-image-ultra",
212-
"tutorials/api-nodes/stability-ai/stable-diffusion-3-5-image"
212+
"tutorials/api-nodes/stability-ai/stable-diffusion-3-5-image",
213+
"tutorials/api-nodes/stability-ai/stable-audio"
213214
]
214215
},
215216
{
@@ -767,7 +768,8 @@
767768
"group": "Stability AI",
768769
"pages": [
769770
"zh-CN/tutorials/api-nodes/stability-ai/stable-image-ultra",
770-
"zh-CN/tutorials/api-nodes/stability-ai/stable-diffusion-3-5-image"
771+
"zh-CN/tutorials/api-nodes/stability-ai/stable-diffusion-3-5-image",
772+
"zh-CN/tutorials/api-nodes/stability-ai/stable-audio"
771773
]
772774
},
773775
{
206 KB
Loading
202 KB
Loading
179 KB
Loading
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: "Stability AI Stable Audio 2.5 API Node ComfyUI Official workflow example"
3+
description: "This article will introduce how to use Stability AI Stable Audio 2.5 API node's text-to-audio, audio-to-audio and audio-inpainting capabilities in ComfyUI"
4+
sidebarTitle: "Stable Audio 2.5"
5+
---
6+
7+
import ReqHint from "/snippets/tutorials/api-nodes/req-hint.mdx";
8+
import UpdateReminder from "/snippets/tutorials/update-reminder.mdx";
9+
10+
The [Stability AI Stable Audio 2.5](/built-in-nodes/api-node/audio/stability-ai/stability-ai-stable-audio-2-5) API node allows you to use Stability AI's latest audio generation model to create high-quality music through text prompts, audio transformations, and audio inpainting capabilities.
11+
12+
Stable Audio 2.5 is designed for enterprise use, featuring improved musical structure, better prompt adherence, and the ability to generate minutes-long compositions in seconds. The model offers three main workflows: **Text-to-Audio** for generating music from descriptions, **Audio-to-Audio** for transforming existing audio into new compositions, and **Audio Inpainting** for completing or extending existing tracks.
13+
14+
Trained exclusively on licensed audio, Stable Audio 2.5 is commercially safe and perfect for advertisers, game studios, and content creators who need professional-quality audio generation with enterprise-grade reliability.
15+
16+
<ReqHint/>
17+
<UpdateReminder/>
18+
19+
## Text-to-Audio Workflow
20+
21+
For text-to-audio, you can generate audio through text prompts. You need to describe the music you want to generate.
22+
23+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/api_stability_ai_text_to_audio.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
24+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download JSON Workflow</p>
25+
</a>
26+
![workflow](/images/tutorial/api_nodes/stability_ai/api_stability_ai_text_to_audio.jpg)
27+
28+
1. Modify the text prompt. You should use keywords to describe the music you want to generate.
29+
2. (Optional) Modify the `duration` parameter. It's `190` by default.
30+
3. Click the `Run` button or use the shortcut `Ctrl(cmd) + Enter` to execute the audio generation. The audio will be saved to the `ComfyUI/output/audio` directory.
31+
32+
## Audio-to-Audio Workflow
33+
34+
Audio-to-audio is basically music re-sampling. You can use it to generate new music from a given piece of music, or you can just hum a melody, and then the model will generate new music based on the input audio.
35+
36+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/api_stability_ai_audio_to_audio.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
37+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download JSON Workflow</p>
38+
</a>
39+
40+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/api_nodes/stability_ai/stable_audio/beatbox.mp3" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
41+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download Input Audio</p>
42+
</a>
43+
44+
![workflow](/images/tutorial/api_nodes/stability_ai/api_stability_ai_audio_to_audio.jpg)
45+
46+
1. In this workflow, we have provided two nodes for you to input the audio(at least 6 seconds) you want to edit:
47+
- 1.1 `Record Audio` node: You can use it to record any of your music ideas, such as a hummed melody. It should be at least 6 seconds.
48+
- 1.2 `LoadAudio` node: You can use it to upload audio that you want to be used in this workflow.
49+
2. Modify the text prompt. You should use keywords to describe the music you want to generate.
50+
3. The `strength` parameter is used to control the difference from the original audio. The lower the value, the more similar the generated audio will be to the original audio.
51+
4. Click the `Run` button or use the shortcut `Ctrl(cmd) + Enter` to execute the audio generation. The audio will be saved to the `ComfyUI/output/audio` directory.
52+
53+
## Audio Inpainting Workflow
54+
55+
Audio inpainting is used to complete or extend existing tracks. You can use it to complete the missing part of music or extend the music to a longer duration.
56+
57+
You need to set where you want to start and end the inpainting.
58+
59+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/api_stability_ai_audio_inpaint.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
60+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download JSON Workflow</p>
61+
</a>
62+
63+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/api_nodes/stability_ai/stable_audio/audio_input.wav" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
64+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>Download Input Audio</p>
65+
</a>
66+
![workflow](/images/tutorial/api_nodes/stability_ai/api_stability_ai_audio_inpaint.jpg)
67+
68+
1. Upload audio to the `LoadAudio` node.
69+
2. Modify the text prompt. You should use keywords to describe the music you want to generate.
70+
3. (Optional) Modify the `duration` parameter. It's `190` by default.
71+
4. (Important) Modify the `mask_start` and `mask_end` parameters. You need to set where you want to start and end the inpainting.
72+
5. Click the `Run` button or use the shortcut `Ctrl(cmd) + Enter` to execute the audio generation. The audio will be saved to the `ComfyUI/output/audio` directory.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: "Stability AI Stable Audio 2.5 API 节点 ComfyUI 官方工作流示例"
3+
description: "本文将介绍如何在 ComfyUI 中使用 Stability AI Stable Audio 2.5 API 节点的文本转音频、音频转音频和音频修复功能"
4+
sidebarTitle: "Stable Audio 2.5"
5+
---
6+
7+
import ReqHint from "/snippets/zh/tutorials/api-nodes/req-hint.mdx";
8+
import UpdateReminder from "/snippets/zh/tutorials/update-reminder.mdx";
9+
10+
[Stability AI Stable Audio 2.5](/built-in-nodes/api-node/audio/stability-ai/stability-ai-stable-audio-2-5) API 节点允许你使用 Stability AI 最新的音频生成模型,通过文本提示、音频转换和音频修复功能来创建高质量音乐。
11+
12+
Stable Audio 2.5 专为企业使用而设计,具有改进的音乐结构、更好的提示遵循能力,以及能够在几秒钟内生成长达数分钟的作品。该模型提供三种主要工作流:**文本转音频**用于从描述生成音乐,**音频转音频**用于将现有音频转换为新作品,**音频修复**用于完成或扩展现有音轨。
13+
14+
Stable Audio 2.5 完全基于授权音频训练,商业安全,非常适合需要专业级音频生成且具有企业级可靠性的广告商、游戏工作室和内容创作者。
15+
16+
<ReqHint/>
17+
<UpdateReminder/>
18+
19+
## 文本转音频工作流
20+
21+
对于文本转音频,你可以通过文本提示生成音频。你需要描述想要生成的音乐。
22+
23+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/api_stability_ai_text_to_audio.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
24+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载 JSON 工作流</p>
25+
</a>
26+
![workflow](/images/tutorial/api_nodes/stability_ai/api_stability_ai_text_to_audio.jpg)
27+
28+
1. 修改文本提示。你应该使用关键词来描述想要生成的音乐。
29+
2. (可选)修改 `duration` 参数。默认为 `190`
30+
3. 点击 `Run` 按钮或使用快捷键 `Ctrl(cmd) + Enter` 来执行音频生成。音频将保存到 `ComfyUI/output/audio` 目录。
31+
32+
## 音频转音频工作流
33+
34+
音频转音频基本上是音乐重采样。你可以使用它从给定的音乐片段生成新音乐,或者你可以哼唱一段旋律,然后模型将基于输入音频生成新音乐。
35+
36+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/api_stability_ai_audio_to_audio.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
37+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载 JSON 工作流</p>
38+
</a>
39+
40+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/api_nodes/stability_ai/stable_audio/beatbox.mp3" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
41+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载输入音频</p>
42+
</a>
43+
44+
![workflow](/images/tutorial/api_nodes/stability_ai/api_stability_ai_audio_to_audio.jpg)
45+
46+
1. 在此工作流中,我们提供了两个节点来输入你想要编辑的音频(至少 6 秒):
47+
- 1.1 `Record Audio` 节点:你可以使用它录制任何音乐想法,例如哼唱的旋律。
48+
- 1.2 `LoadAudio` 节点:你可以使用它上传要在此工作流中使用的音频。
49+
2. 修改文本提示。你应该使用关键词来描述想要生成的音乐。
50+
3. `strength` 参数用于控制与原始音频的差异。值越低,生成的音频与原始音频越相似。
51+
4. 点击 `Run` 按钮或使用快捷键 `Ctrl(cmd) + Enter` 来执行音频生成。音频将保存到 `ComfyUI/output/audio` 目录。
52+
53+
## 音频修复工作流
54+
55+
音频修复用于完成或扩展现有音轨。你可以使用它来完成音乐的缺失部分,或将音乐扩展到更长的时长。
56+
57+
你需要设置想要开始和结束修复的位置。
58+
59+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/api_stability_ai_audio_inpaint.json" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
60+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载 JSON 工作流</p>
61+
</a>
62+
63+
<a className="prose" target='_blank' href="https://raw.githubusercontent.com/Comfy-Org/example_workflows/refs/heads/main/api_nodes/stability_ai/stable_audio/audio_input.wav" style={{ display: 'inline-block', backgroundColor: '#0078D6', color: '#ffffff', padding: '10px 20px', borderRadius: '8px', borderColor: "transparent", textDecoration: 'none', fontWeight: 'bold'}}>
64+
<p className="prose" style={{ margin: 0, fontSize: "0.8rem" }}>下载输入音频</p>
65+
</a>
66+
![workflow](/images/tutorial/api_nodes/stability_ai/api_stability_ai_audio_inpaint.jpg)
67+
68+
1. 将音频上传到 `LoadAudio` 节点。
69+
2. 修改文本提示。你应该使用关键词来描述想要生成的音乐。
70+
3. (可选)修改 `duration` 参数。默认为 `190`
71+
4. (重要)修改 `mask_start``mask_end` 参数。你需要设置想要开始和结束修复的位置。
72+
5. 点击 `Run` 按钮或使用快捷键 `Ctrl(cmd) + Enter` 来执行音频生成。音频将保存到 `ComfyUI/output/audio` 目录。

0 commit comments

Comments
 (0)