Stable Audio 2.0

Model Information

Display Name: Stable Audio 2.0

API Model ID: stability-ai/stable-audio-2

Category: Text To Audio

Description: Stable Audio 2.0 generates high-quality music and sound effects up to three minutes long at 44.1 kHz stereo, from a text prompt or by transforming an existing audio clip (audio-to-audio). **Key Features:** - Up to 3-minute, 44.1 kHz stereo output - Text-to-audio and audio-to-audio (input audio via images[]) - Controllable steps, cfg_scale, duration and seed - Trained exclusively on licensed data (AudioSparx) **Best For:** - Music demos, ideation and ambient soundscapes - Extended, detailed outputs from simple prompts

How to Use This Model

To use Stable Audio 2.0 via the HInow.ai API, use the model ID: stability-ai/stable-audio-2

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "stability-ai/stable-audio-2",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

Pricing

  • total: $0.30

Available Parameters

  • duration: Duration of the generated audio in seconds (1-190).
  • steps: Number of sampling steps (30-100).
  • guidance_scale: How strictly the result adheres to the prompt (cfg_scale). Maps to the provider's cfg_scale.
  • strength: Audio-to-audio denoising strength (0-1): 0 keeps the input audio, 1 ignores it. Only used when an input audio is provided via images[].
  • output_format: Output audio format. (Options: mp3, wav)
  • seed: Random seed for reproducibility. -1 (or omit) for a random seed.

Quick Reference

To use this model, set: "model": "stability-ai/stable-audio-2"

Featured: No

Documentation: https://hinow.ai/models/stability-ai/stable-audio-2

API Endpoint: https://api.hinow.ai/v1

Back to Models

Stable Audio 2.0

stability-ai/stable-audio-2

$0.300
per_execution

About

Stable Audio 2.0 generates high-quality music and sound effects up to three minutes long at 44.1 kHz stereo, from a text prompt or by transforming an existing audio clip (audio-to-audio).

Key Features:

  • Up to 3-minute, 44.1 kHz stereo output
  • Text-to-audio and audio-to-audio (input audio via images[])
  • Controllable steps, cfg_scale, duration and seed
  • Trained exclusively on licensed data (AudioSparx)

Best For:

  • Music demos, ideation and ambient soundscapes
  • Extended, detailed outputs from simple prompts

Capabilities

Text To AudioAudio To Audio

Parameters

duration

Duration of the generated audio in seconds (1-190).

steps

Number of sampling steps (30-100).

guidance_scale

How strictly the result adheres to the prompt (cfg_scale). Maps to the provider's cfg_scale.

strength

Audio-to-audio denoising strength (0-1): 0 keeps the input audio, 1 ignores it. Only used when an input audio is provided via images[].

output_format

Output audio format.

mp3wav
seed

Random seed for reproducibility. -1 (or omit) for a random seed.

Code Examples

curl -X POST https://api.hinow.ai/v1/audio/speech \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "stability-ai/stable-audio-2",
    "prompt": "Hello, welcome to Hinow AI!",
    "parameters": {
      "duration": "",
      "steps": "",
      "guidance_scale": "",
      "strength": "",
      "output_format": "mp3",
      "seed": ""
    }
  }'