Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Mirelo SFX 2.0 Video to Audio

mirelo/sfx2.0/video-to-audio

Mirelo SFX 2.0 generates a soundtrack of synchronized sound effects for a video and returns it as an audio file. It can keep or remove the original speech, return the separated speech, and take a text prompt for off-screen sounds and ambience.

Taban fiyat
$0.20USD / çalıştırma
Çalıştırma
async
Model türü
audio
Girdi alanları
8
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
Video file or URL to add sound to (base64 data URIs up to 8 MB). Must be at least 1 second long.
Optional text guiding the soundtrack (up to 2,000 characters). Name sounds the picture does not show, such as off-screen sounds or an ambience bed.
1600
Seconds of sound to generate (1–600), clamped to the video's length. Aralık: 1 ile 600 arasında.
Sounds to keep out of the result, as a short comma-separated list (up to 1,000 characters).
Keep the speech in the input's audio and generate the rest of the soundtrack around it. False generates sound effects only and suppresses speech.
Also return the input's separated speech as its own audio file (`speech_url`).
Audio format of the returned files.
Seed for reproducible outputs. -1 or omitted is random. Minimum: -1.
ÇıktıHazır

Çı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.20 / ç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/video-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 Video to Audio

Mirelo SFX 2.0 generates synchronized sound effects for a video (up to 600 s) as an audio file, keeping or removing the original speech.

Fields

FieldTypeDefaultNotes
videovideo file or URL, required—Source video, at least 1 s long.
promptstring—Off-screen sounds or ambience to add.
durationnumber 1–60010Length in seconds, capped at the video length; sets the price.
negative_promptstring—Sounds to keep out.
preserve_speechbooleantrueKeep the original speech in the soundtrack.
return_speechbooleanfalseAlso return the separated speech as speech_url.
output_formatwav / mp3 / aac / flacwavOutput file format.
seedintegerrandomFix it to compare prompt changes.

Output

FieldNotes
urlGenerated soundtrack (audio only, no video).
content_typeMIME type of the soundtrack.
speech_urlSeparated input speech, only when return_speech is true and speech was found.

Billing

$0.02 per second of generated audio: the requested duration, capped at the measured video length. One soundtrack per request.

LengthPrice
10 s (default)$0.20
30 s$0.60
120 s$2.40

Failed runs are not charged.

Prompting

  • Describe only what the picture does not show, such as off-screen sirens or a room tone.

Also on SandBase

Related: mirelo/sfx2.0/text-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.

Production API
Unified Run API uç noktası
https://api.sandbase.ai/v1/run
Model ID
mirelo/sfx2.0/video-to-audio
# 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/video-to-audio",
  "video": "https://di3otfzjg1gxa.cloudfront.net/chase.mp4",
  "prompt": "Distant police sirens, tires screeching on asphalt",
  "duration": 10,
  "output_format": "wav",
  "return_speech": false,
  "negative_prompt": "music, crowd noise",
  "preserve_speech": true
}
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"
01

Giriş Şeması

8 parametre · 1 zorunlu · 7 isteğe bağlı

ParametreTürZorunluAçıklama
videostringZorunluVideo file or URL to add sound to (base64 data URIs up to 8 MB). Must be at least 1 second long.
seedintegerİsteğe bağlıSeed for reproducible outputs. -1 or omitted is random. · Min: -1
promptstringİsteğe bağlıOptional text guiding the soundtrack (up to 2,000 characters). Name sounds the picture does not show, such as off-screen sounds or an ambience bed. · Maks. uzunluk: 2000
durationnumberİsteğe bağlıSeconds of sound to generate (1–600), clamped to the video's length. · Min: 1 · Maks: 600 · Varsayılan: 10
output_formatstringİsteğe bağlıAudio format of the returned files. · Seçenekler: wav, mp3, aac, flac · Varsayılan: "wav"
wavmp3aacflac
return_speechbooleanİsteğe bağlıAlso return the input's separated speech as its own audio file (`speech_url`). · Varsayılan: false
negative_promptstringİsteğe bağlıSounds to keep out of the result, as a short comma-separated list (up to 1,000 characters). · Maks. uzunluk: 1000
preserve_speechbooleanİsteğe bağlıKeep the speech in the input's audio and generate the rest of the soundtrack around it. False generates sound effects only and suppresses speech. · Varsayılan: true
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİ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.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
MireloSes$0.20 / çalıştırma14 Eki 2026
MireloSes$0.60 / çalıştırma14 Eki 2026

Sorular

SSS

Mirelo SFX 2.0 Video 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/video-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 Video to Audio ve katalogdaki diğer modellere erişim sağlar; Mirelo için ayrıca kayıt olmanız gerekmez.