Overview
About this model
Text to audio — music beds and sound effects, 44.1kHz stereo, up to 47 seconds.
View model card on HuggingFaceSpecifications
Model details
- Provider
- Stability AI
- Modality
- Music & audio
- Pricing
- $8.00 / 1M tok
API
Call it in code
One OpenAI-compatible API. Swap the model id and you're done.
Python
import requests
BASE_URL = "https://api.ecohash.com/v1"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
audio = requests.post(
f"{BASE_URL}/audio/music",
headers=HEADERS,
json={
"model": "stable-audio-open",
"prompt": "warm lo-fi piano loop with soft vinyl crackle",
"duration": 10,
"response_format": "wav",
},
).content # WAV bytescurl
curl https://api.ecohash.com/v1/audio/music \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d {
"model": "stable-audio-open",
"prompt": "warm lo-fi piano loop with soft vinyl crackle",
"duration": 10,
"response_format": "wav"
} \
--output music.wavFAQ
Common questions
- How much does the Stable Audio Open 1.0 API cost?
- Stable Audio Open 1.0 is $8.00 per 1M output tokens on EcoHash. That figure comes live from the EcoHash billing system, so the price shown on this page is the price you are billed — there is no separate list price to reconcile.
- What are the Stable Audio Open 1.0 limits on EcoHash?
- Stable Audio Open 1.0 is served through the EcoHash API; the specifications table on this page is generated from the same API the runtime uses.
- Can I use Stable Audio Open 1.0 commercially through EcoHash?
- EcoHash hosts Stable Audio Open 1.0 under the model publisher's own licence and does not change its terms, so whether your use is permitted is decided by that licence — read it on the model card at https://huggingface.co/stabilityai/stable-audio-open-1.0. The EcoHash Terms of Service additionally require you to comply with each model's licence and acceptable-use policy. Your EcoHash bill for API usage is separate from, and does not grant, any right under the model's licence.