Skip to content

[Docs] Add Stable Audio Open text-to-audio recipe#193

Merged
Isotr0py merged 3 commits into
vllm-project:mainfrom
linyueqian:feat/stable-audio-open-recipe
Jan 26, 2026
Merged

[Docs] Add Stable Audio Open text-to-audio recipe#193
Isotr0py merged 3 commits into
vllm-project:mainfrom
linyueqian:feat/stable-audio-open-recipe

Conversation

@linyueqian
Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @linyueqian, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a comprehensive documentation file that serves as a guide for integrating and utilizing the Stable Audio Open text-to-audio model with vLLM-Omni. The guide provides clear instructions for setting up the environment, generating audio through both programmatic and command-line interfaces, and understanding the model's capabilities and constraints.

Highlights

  • New Documentation: A new guide has been added for running Stable Audio Open text-to-audio generation.
  • vLLM-Omni Integration: The documentation details how to integrate and use Stable Audio Open with vLLM-Omni, including installation instructions.
  • Usage Examples: Both Python API and command-line interface (CLI) examples are provided for generating and saving audio outputs.
  • Model Details and Limitations: Key parameters, operational notes, known limitations (e.g., no realistic vocals, English-only), and licensing information for Stable Audio Open are thoroughly documented.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new usage guide for Stable Audio Open with vLLM-Omni. The guide is well-written and provides valuable information for users. I've included a couple of suggestions to correct an installation command and improve clarity.

To ensure users can find this new guide, please also add a link to it in the main README.md file. You could add a new section for 'Stability AI' similar to how other models are listed.

Comment thread StabilityAI/Stable-Audio-Open.md
|-----------|---------|-------------|
| `audio_start_in_s` | 0.0 | Audio start time in seconds |
| `audio_end_in_s` | 10.0 | Audio end time in seconds |
| `audio_length` | 10.0 | Audio duration (CLI convenience, sets end time) |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for audio_length could be more specific. To improve clarity for users, I suggest explicitly mentioning that it sets the audio_end_in_s parameter.

Suggested change
| `audio_length` | 10.0 | Audio duration (CLI convenience, sets end time) |
| `audio_length` | 10.0 | Audio duration in seconds (CLI convenience). Sets `audio_end_in_s` to this value. |

Comment thread StabilityAI/Stable-Audio-Open.md Outdated
Comment on lines +53 to +66
### Saving Audio Output

```python
import numpy as np
import soundfile as sf

# Convert to numpy if needed
if isinstance(audio, torch.Tensor):
audio = audio.cpu().float().numpy()

# Audio shape is [batch, channels, samples]
audio_data = audio[0].T # [samples, channels]
sf.write("output.wav", audio_data, 44100)
```
Copy link
Copy Markdown
Member

@Isotr0py Isotr0py Jan 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this part can cosolidate with Basic Usage above.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it i have updated it.

Comment thread StabilityAI/Stable-Audio-Open.md Outdated
Co-authored-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
@Isotr0py Isotr0py merged commit d7f4fb7 into vllm-project:main Jan 26, 2026
2 checks passed
GoldenGrapeGentleman pushed a commit to haic0/recipes-AMD that referenced this pull request Feb 6, 2026
Signed-off-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
Co-authored-by: Isotr0py <2037008807@qq.com>
haic0 pushed a commit to haic0/recipes-AMD that referenced this pull request Mar 13, 2026
Signed-off-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
Co-authored-by: Isotr0py <2037008807@qq.com>
Signed-off-by: haic0 <hc@XSZAEAIHC02.amd.com>
haic0 pushed a commit to haic0/recipes-AMD that referenced this pull request Mar 16, 2026
Signed-off-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
Co-authored-by: Isotr0py <2037008807@qq.com>
Signed-off-by: haic0 <hc@XSZAEAIHC02.amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants