Mirelo SFX 2.0 Video to Audio
mirelo/sfx2.0/video-to-audioMirelo 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.
- 기본 가격
- $0.20USD / 실행
- 실행
- async
- 모델 유형
- audio
- 입력 필드
- 8
모델 사용해 보기
Playground
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
모델 카드
사양
요금
- 기본 가격
- $0.20 / 실행
컨텍스트 및 모달리티
- 입력
- 스키마 정의
- 출력
- audio
기능
- 채팅
- 지원되지 않음
- 비전
- 지원되지 않음
- 추론
- 지원되지 않음
- 구조화된 출력
- 지원되지 않음
- 함수 호출
- 지원되지 않음
- 오디오 입력
- 지원되지 않음
접근
- 제공업체
- Mirelo
- 모델 ID
- mirelo/sfx2.0/video-to-audio
- 실행
- async
- 기본 URL
- https://api.sandbase.ai
- API
- Unified Run API
- 엔드포인트
- /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
| Field | Type | Default | Notes |
|---|---|---|---|
video | video file or URL, required | — | Source video, at least 1 s long. |
prompt | string | — | Off-screen sounds or ambience to add. |
duration | number 1–600 | 10 | Length in seconds, capped at the video length; sets the price. |
negative_prompt | string | — | Sounds to keep out. |
preserve_speech | boolean | true | Keep the original speech in the soundtrack. |
return_speech | boolean | false | Also return the separated speech as speech_url. |
output_format | wav / mp3 / aac / flac | wav | Output file format. |
seed | integer | random | Fix it to compare prompt changes. |
Output
| Field | Notes |
|---|---|
url | Generated soundtrack (audio only, no video). |
content_type | MIME type of the soundtrack. |
speech_url | Separated 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.
| Length | Price |
|---|---|
| 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.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 OpenAI 호환 엔드포인트입니다.
# 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"입력 스키마
8개 매개변수 · 필수 1개 · 선택 7개
| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
video | string | 필수 | Video file or URL to add sound to (base64 data URIs up to 8 MB). Must be at least 1 second long. |
seed | integer | 선택 | Seed for reproducible outputs. -1 or omitted is random. · 최소: -1 |
prompt | string | 선택 | 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. · 최대 길이: 2000 |
duration | number | 선택 | Seconds of sound to generate (1–600), clamped to the video's length. · 최소: 1 · 최대: 600 · 기본값: 10 |
output_format | string | 선택 | Audio format of the returned files. · 옵션: wav, mp3, aac, flac · 기본값: "wav" wavmp3aacflac |
return_speech | boolean | 선택 | Also return the input's separated speech as its own audio file (`speech_url`). · 기본값: false |
negative_prompt | string | 선택 | Sounds to keep out of the result, as a short comma-separated list (up to 1,000 characters). · 최대 길이: 1000 |
preserve_speech | boolean | 선택 | 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. · 기본값: true |
출력 스키마
| 필드 | 유형 | 설명 |
|---|---|---|
id | string | 생성 작업의 고유 식별자 |
status | string | 작업 상태: pending, running, completed, failed, timeout |
model | string | 생성에 사용된 모델 |
outputs | array | 출력 항목 배열 |
outputs[].url | string | 생성된 아티팩트의 URL |
outputs[].content_type | string | MIME 유형(예: image/png, video/mp4) |
error | object | null | 실패 시 오류 세부 정보, 성공 시 null |
error.type | string | 기계 판독 가능한 오류 유형 코드 |
error.message | string | 사람이 읽을 수 있는 오류 설명 |
비동기 워크플로
이 모델은 비동기식으로 실행됩니다. 요청을 제출한 다음 결과를 폴링하세요.
- 제출: /v1/run로 POST한 뒤 반환된
id를 읽으세요. - 폴링: 상태가
completed,failed또는timeout이 될 때까지 /v1/run/{id}를 GET하세요. - 가져오기: 완료된 응답에서
outputs를 읽으세요.
원하는 모델을 선택하세요
모델 비교
| 모델 | 유형 | 기본 가격 | 출시 |
|---|---|---|---|
Mirelo | 오디오 | $0.20 / 실행 | 2026년 10월 14일 |
Mirelo | 오디오 | $0.60 / 실행 | 2026년 10월 14일 |
질문
FAQ
SandBase를 통해 Mirelo SFX 2.0 Video to Audio을 호출하려면 어떻게 하나요?
SandBase API 키를 만든 다음, 모델 ID "mirelo/sfx2.0/video-to-audio"를 사용해 https://api.sandbase.ai의 Unified Run API (/v1/run)로 요청을 보내세요. 이 페이지의 요청 예시에 정확한 페이로드가 나와 있습니다.
별도의 Mirelo 계정이 필요한가요?
아니요. SandBase API 키 하나와 잔액만 있으면 Mirelo SFX 2.0 Video to Audio과 카탈로그의 다른 모델을 모두 사용할 수 있습니다. Mirelo에 별도로 가입할 필요는 없습니다.
