Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Index TTS 2.0

sandbase-ai/index-tts-2

Index TTS 2.0 from bilibili's IndexTeam speaks text in the voice of a reference recording (zero-shot cloning) and controls emotion separately through a second reference clip, per-emotion strengths, or a text description.

기본 가격
$0.02USD / 실행
실행
async
모델 유형
audio
입력 필드
7
프로덕션 경로

모델 사용해 보기

Playground

playground 열기
입력
The text to speak.
Reference speech audio file or URL; the output is spoken in this voice (zero-shot cloning).
Optional audio file or URL whose emotional style is transferred to the output.
01
Strength of the emotional style transfer. Higher values give stronger emotional influence. 범위: 0~1.
Per-emotion strengths (0-1) for fine-grained control: happy, angry, sad, afraid, disgusted, melancholic, surprised, calm.
Derive emotional strengths from the text (or from emotion_prompt when set). Overrides emotional_strengths.
Text whose emotion is used instead of the spoken text. Requires should_use_prompt_for_emotion.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

모델 카드

사양

요금

기본 가격
$0.02 / 실행

컨텍스트 및 모달리티

입력
스키마 정의
출력
audio

기능

채팅
지원되지 않음
비전
지원되지 않음
추론
지원되지 않음
구조화된 출력
지원되지 않음
함수 호출
지원되지 않음
오디오 입력
지원되지 않음

접근

제공업체
sandbase-ai
모델 ID
sandbase-ai/index-tts-2
실행
async
기본 URL
https://api.sandbase.ai
API
Unified Run API
엔드포인트
/v1/run

API README

Index TTS 2.0

Index TTS 2.0 clones the voice in a reference clip and speaks new text with it. Emotion is controlled separately: from a second reference clip, eight per-emotion strengths, or the emotion inferred from text.

Fields

FieldTypeDefaultNotes
textstring, required—Text to speak.
audioaudio file or URL, required—Voice to clone.
emotional_audioaudio file or URL—Clip whose emotional style is transferred.
strengthnumber 0–11Strength of the emotional style transfer.
emotional_strengthsobject of numbers 0–1—happy, angry, sad, afraid, disgusted, melancholic, surprised, calm.
should_use_prompt_for_emotionbooleanfalseInfer emotion from the text or emotion_prompt; overrides emotional_strengths.
emotion_promptstring—Text describing the emotion; used when should_use_prompt_for_emotion is true.

Billing

$0.002 per second of generated audio. The quote before submission assumes 10 seconds; the final charge uses the measured output length.

OutputPrice
10 seconds$0.02
30 seconds$0.06
1 minute$0.12

Failed runs are not charged.

Prompting

  • Use a clean 5–15 second reference clip of a single speaker.
  • Pick one emotion control: a reference clip, emotional_strengths, or should_use_prompt_for_emotion.

빌드를 시작하세요

첫 요청 보내기

통합 인증 및 사용량 추적이 있는 OpenAI 호환 엔드포인트입니다.

프로덕션 API
Unified Run API 엔드포인트
https://api.sandbase.ai/v1/run
모델 ID
sandbase-ai/index-tts-2
# 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": "sandbase-ai/index-tts-2",
  "text": "Hide! He's coming! He's coming to get us!",
  "audio": "https://storage.googleapis.com/falserverless/example_inputs/index-tts-2/tts_in.mp3",
  "strength": 1,
  "emotion_prompt": "You scared me to death! What are you, a ghost?",
  "should_use_prompt_for_emotion": false
}
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

입력 스키마

7개 매개변수 · 필수 2개 · 선택 5개

매개변수유형필수설명
textstring필수The text to speak.
audiostring필수Reference speech audio file or URL; the output is spoken in this voice (zero-shot cloning).
strengthnumber선택Strength of the emotional style transfer. Higher values give stronger emotional influence. · 최소: 0 · 최대: 1 · 기본값: 1
emotion_promptstring선택Text whose emotion is used instead of the spoken text. Requires should_use_prompt_for_emotion.
emotional_audiostring선택Optional audio file or URL whose emotional style is transferred to the output.
emotional_strengthsobject선택Per-emotion strengths (0-1) for fine-grained control: happy, angry, sad, afraid, disgusted, melancholic, surprised, calm.
should_use_prompt_for_emotionboolean선택Derive emotional strengths from the text (or from emotion_prompt when set). Overrides emotional_strengths. · 기본값: false
02

출력 스키마

필드유형설명
idstring생성 작업의 고유 식별자
statusstring작업 상태: pending, running, completed, failed, timeout
modelstring생성에 사용된 모델
outputsarray출력 항목 배열
outputs[].urlstring생성된 아티팩트의 URL
outputs[].content_typestringMIME 유형(예: image/png, video/mp4)
errorobject | null실패 시 오류 세부 정보, 성공 시 null
error.typestring기계 판독 가능한 오류 유형 코드
error.messagestring사람이 읽을 수 있는 오류 설명

비동기 워크플로

이 모델은 비동기식으로 실행됩니다. 요청을 제출한 다음 결과를 폴링하세요.

  1. 제출: /v1/run로 POST한 뒤 반환된 id를 읽으세요.
  2. 폴링: 상태가 completed, failed 또는 timeout이 될 때까지 /v1/run/{id}를 GET하세요.
  3. 가져오기: 완료된 응답에서 outputs를 읽으세요.

원하는 모델을 선택하세요

모델 비교

모든 이미지 및 비디오 모델
모델유형기본 가격출시
Index TTS 2.0이 모델
sandbase-ai
오디오$0.02 / 실행2025년 10월 7일
SandBase AI오디오$0.01 / 실행2026년 6월 16일
SandBase AI오디오$0.06 / 실행2026년 1월 7일
SandBase AI오디오$0.01 / 실행2025년 10월 24일
SandBase AI오디오$0.05 / 실행2025년 4월 4일
SandBase AI오디오$0.05 / 실행2025년 4월 4일

질문

FAQ

SandBase를 통해 sandbase-ai Index TTS 2.0을 호출하려면 어떻게 하나요?

SandBase API 키를 만든 다음, 모델 ID "sandbase-ai/index-tts-2"를 사용해 https://api.sandbase.ai의 Unified Run API (/v1/run)로 요청을 보내세요. 이 페이지의 요청 예시에 정확한 페이로드가 나와 있습니다.

별도의 sandbase-ai 계정이 필요한가요?

아니요. SandBase API 키 하나와 잔액만 있으면 sandbase-ai Index TTS 2.0과 카탈로그의 다른 모델을 모두 사용할 수 있습니다. sandbase-ai에 별도로 가입할 필요는 없습니다.