Lyria 3.5
google/lyria-3.5Lyria 3.5 is Google's flagship music generation model for full-length songs up to a few minutes, with verses, choruses, bridges, expressive vocals, timed lyrics, and rich instrumental arrangements. It generates high-quality 44.1kHz stereo audio from a text prompt, optionally guided by an image.
- 기본 가격
- $0.10USD / 실행
- 실행
- async
- 모델 유형
- audio
- 입력 필드
- 2
모델 사용해 보기
Playground
PNG, JPEG, WebP 또는 GIF · 최대 20 MiB
다음에 무엇을 하시겠습니까?
예시
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
- 결과 열기 ↗
입력
{ "prompt": "A 30-second upbeat synthwave instrumental with punchy drums and a soaring lead synth." }
모델 카드
사양
요금
- 입력
- $0 / 100만 토큰
- 출력
- $0 / 100만 토큰
- 기본 가격
- $0.10 / 실행
컨텍스트 및 모달리티
- 입력
- 스키마 정의
- 출력
- audio
기능
- 채팅
- 지원되지 않음
- 비전
- 지원되지 않음
- 추론
- 지원되지 않음
- 구조화된 출력
- 지원되지 않음
- 함수 호출
- 지원되지 않음
- 오디오 입력
- 지원되지 않음
접근
- 제공업체
- 모델 ID
- google/lyria-3.5
- 실행
- async
- 기본 URL
- https://api.sandbase.ai
- API
- Unified Run API
- 엔드포인트
- /v1/run
API README
Lyria 3.5
Lyria 3.5 is Google's music model for full songs: verses, choruses, and bridges with expressive vocals, timed lyrics, and full arrangements. An optional image sets the mood.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Genre, mood, instruments, tempo, vocal style, and lyrics. Up to 5,000 characters. |
image | image URL | — | Optional image whose mood the music should match. |
Billing
$0.10 per song.
| Request | Price |
|---|---|
| One song | $0.10 |
Failed runs are not charged.
Prompting
- Name the genre, tempo, and instrumentation first, then the vocal style.
- Mark lyric sections, e.g.
[Verse],[Chorus].
Limits
- One song per request.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 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": "google/lyria-3.5",
"prompt": "An uplifting indie pop song with bright acoustic guitar, warm female vocals, and a catchy chorus about a summer road trip, 110 BPM."
}
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"입력 스키마
2개 매개변수 · 필수 1개 · 선택 1개
| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
prompt | string | 필수 | The text prompt describing the music you want to generate. Include genre, mood, instrumentation, tempo, vocals, and structure. Use duration hints (e.g. 'a 2-minute track') or section markers like '[0:00-0:30] Intro: ...' to control length and structure. Supports English, German, Spanish, French, Hindi, Japanese, Korean, and Portuguese. · 최소 길이: 1 · 최대 길이: 5000 |
image | string | 선택 | Optional image used as inspiration; the music will match the mood and theme of the image. |
출력 스키마
| 필드 | 유형 | 설명 |
|---|---|---|
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를 읽으세요.
원하는 모델을 선택하세요
모델 비교
| 모델 | 유형 | 기본 가격 | 출시 |
|---|---|---|---|
Lyria 3.5이 모델 Google | 오디오 | $0.10 / 실행 | 2026년 9월 15일 |
Google | 오디오 | $0.04 / 실행 | 2026년 9월 25일 |
Google | 오디오 | $0.03 / 실행 | 2026년 9월 25일 |
Google | 오디오 | $0.05 / 실행 | 2026년 4월 16일 |
Google | 오디오 | $0.08 / 실행 | 2026년 3월 30일 |
Google | 오디오 | $0.04 / 실행 | 2026년 3월 30일 |
질문
FAQ
SandBase를 통해 Google Lyria 3.5을 호출하려면 어떻게 하나요?
SandBase API 키를 만든 다음, 모델 ID "google/lyria-3.5"를 사용해 https://api.sandbase.ai의 Unified Run API (/v1/run)로 요청을 보내세요. 이 페이지의 요청 예시에 정확한 페이로드가 나와 있습니다.
Google Lyria 3.5의 비용은 얼마인가요?
1M 입력 토큰당 $0, 1M 출력 토큰당 $0이며, 요청당 SandBase 잔액에서 청구됩니다. 적용 가능한 할인은 이 페이지의 가격 정보에 표시됩니다.
별도의 Google 계정이 필요한가요?
아니요. SandBase API 키 하나와 잔액만 있으면 Google Lyria 3.5과 카탈로그의 다른 모델을 모두 사용할 수 있습니다. Google에 별도로 가입할 필요는 없습니다.
