Mirelo SFX 2.0 Text to Audio
mirelo/sfx2.0/text-to-audioMirelo SFX 2.0 generates sound effects and ambience from a text description, up to 600 seconds long. A negative prompt keeps unwanted sounds such as music or voices out of the result.
- Taban fiyat
- $0.60USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 5
Modeli deneyin
Oynatma Alanı
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Model kartı
Teknik özellikler
Fiyatlandırma
- Temel fiyat
- $0.60 / çalıştırma
Bağlam ve modaliteler
- Girdi
- Şemada tanımlı
- Çıktı
- audio
Yetenekler
- Sohbet
- Desteklenmiyor
- Görsel
- Desteklenmiyor
- Akıl yürütme
- Desteklenmiyor
- Yapılandırılmış çıktı
- Desteklenmiyor
- Fonksiyon çağırma
- Desteklenmiyor
- Ses girdisi
- Desteklenmiyor
Erişim
- Sağlayıcı
- Mirelo
- Model kimliği
- mirelo/sfx2.0/text-to-audio
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
Mirelo SFX 2.0 Text to Audio
Mirelo SFX 2.0 generates sound effects and ambience from text, from 0.1 to 600 seconds long.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Sound to generate, up to 2,000 characters. |
duration | number 0.1–600 | 30 | Length in seconds; sets the price. |
negative_prompt | string | — | Sounds to keep out. |
output_format | wav / mp3 / aac / flac | wav | Output file format. |
seed | integer | random | Fix it to compare prompt changes. |
Billing
$0.02 per second of requested audio, one file per request.
| Length | Price |
|---|---|
| 5 s | $0.10 |
| 30 s (default) | $0.60 |
| 120 s | $2.40 |
Failed runs are not charged.
Prompting
- Name the sound source, material, space and how it changes over time.
- Use
negative_promptto keep out music or voices.
Also on SandBase
Related: mirelo/sfx2.0/video-to-audio.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "mirelo/sfx2.0/text-to-audio",
"prompt": "Heavy rain on a metal roof with distant thunder",
"duration": 30,
"output_format": "wav",
"negative_prompt": "music, voices"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Giriş Şeması
5 parametre · 1 zorunlu · 4 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
prompt | string | Zorunlu | What the sound effect should sound like (1–2,000 characters). · Min. uzunluk: 1 · Maks. uzunluk: 2000 |
seed | integer | İsteğe bağlı | Seed for reproducible outputs. -1 or omitted is random. · Min: -1 |
duration | number | İsteğe bağlı | Seconds of sound to generate (0.1–600). · Min: 0.1 · Maks: 600 · Varsayılan: 30 |
output_format | string | İsteğe bağlı | Audio format of the returned file. · Seçenekler: wav, mp3, aac, flac · Varsayılan: "wav" wavmp3aacflac |
negative_prompt | string | İsteğe bağlı | Sounds to keep out of the result (up to 1,000 characters). · Maks. uzunluk: 1000 |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İnsan tarafından okunabilir hata açıklaması |
Asenkron İş Akışı
Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
Mirelo SFX 2.0 Text to AudioBu model Mirelo | Ses | $0.60 / çalıştırma | 14 Eki 2026 |
Mirelo | Ses | $0.20 / çalıştırma | 14 Eki 2026 |
Sorular
SSS
Mirelo SFX 2.0 Text to Audio'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "mirelo/sfx2.0/text-to-audio" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Ayrı bir Mirelo hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Mirelo SFX 2.0 Text to Audio ve katalogdaki diğer modellere erişim sağlar; Mirelo için ayrıca kayıt olmanız gerekmez.
