Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Lyria 3 Clip Preview

google/lyria-3-clip-preview

Lyria 3 Clip is Google's music generation model for 30-second clips, loops, and previews, including vocals and lyrics. It generates 48 kHz stereo MP3 audio from a text prompt, optionally guided by an image.

基本料金
$0.04USD / 実行
実行
async
モデルタイプ
audio
入力フィールド
2
本番ルート

モデルを試す

プレイグラウンド

Playground を開く
入力
The text prompt describing the music you want to generate. Include genre, mood, instrumentation, tempo, and vocal style for best results. Supports vocals, lyrics, and multiple languages.

PNG、JPEG、WebP、GIF · 最大 20 MiB

Optional image file or URL used as inspiration; the music will match the mood and theme of the image.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

モデルカード

仕様

料金

入力
$0 / 100万トークン
出力
$0 / 100万トークン
基本価格
$0.04 / 実行

コンテキストとモダリティ

入力
スキーマ定義済み
出力
audio

機能

チャット
非対応
ビジョン
非対応
推論
非対応
構造化出力
非対応
関数呼び出し
非対応
音声入力
非対応

アクセス

提供元
Google
モデル ID
google/lyria-3-clip-preview
実行
async
ベース URL
https://api.sandbase.ai
API
Unified Run API
エンドポイント
/v1/run

API README

Lyria 3 Clip Preview

Lyria 3 Clip is Google's music model for 30-second clips and loops, with vocals and lyrics. An optional image sets the mood.

Fields

FieldTypeDefaultNotes
promptstring, up to 5000 chars, required—Genre, mood, instruments, tempo, vocal style, and lyrics. Up to 5,000 characters.
imageimage file or URL—Optional image whose mood the music should match.

Output

FieldNotes
urlMP3 file.
lyricsLyrics and caption the model used, when available.

Billing

$0.04 per clip.

RequestPrice
One clip$0.04
10 clips$0.40

Failed runs are not charged.

Prompting

  • Name the genre, tempo, and instrumentation first, then the vocal style.
  • Mark lyric sections, e.g. [Verse], [Chorus].

Also on SandBase

Related: google/lyria-3.5, google/lyria-3-pro-preview, google/lyria-2.

開発を始める

最初のリクエストを送信

統一認証と使用状況の追跡を備えたOpenAI互換エンドポイントです。

本番API
Unified Run APIエンドポイント
https://api.sandbase.ai/v1/run
モデルID
google/lyria-3-clip-preview
# 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-clip-preview",
  "image": "https://v3b.fal.media/files/b/0a93b559/qjT9o0CId1B65PbD6Yp06_9c94501900464c5aa98f302fa4b00375.png",
  "prompt": "A 30-second lo-fi hip hop loop with mellow Rhodes chords, vinyl crackle, and a laid-back drum groove."
}
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

入力スキーマ

2件のパラメータ · 必須 1件 · 任意 1件

パラメータ型必須説明
promptstring必須The text prompt describing the music you want to generate. Include genre, mood, instrumentation, tempo, and vocal style for best results. Supports vocals, lyrics, and multiple languages. · 最小長: 1 · 最大長: 5000
imagestring任意Optional image file or URL used as inspiration; the music will match the mood and theme of the image.
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 を読み取ります。

モデルを選ぶ

モデルを比較

すべての画像・動画モデル
モデル種類通常価格公開日
Lyria 3 Clip Previewこのモデル
Google
音声$0.04 / 回2026年3月30日
Google音声$0.04 / 回2026年9月25日
Google音声$0.03 / 回2026年9月25日
Google音声$0.10 / 回2026年9月15日
Google音声$0.05 / 回2026年4月16日
Google音声$0.08 / 回2026年3月30日

質問

FAQ

SandBase 経由で Google Lyria 3 Clip Preview を呼び出すにはどうすればよいですか?

SandBase API key を作成し、モデル ID「google/lyria-3-clip-preview」を使用して https://api.sandbase.ai の Unified Run API (/v1/run) にリクエストを送信してください。このページのリクエスト例に、正確なペイロードが示されています。

Google Lyria 3 Clip Preview の料金はいくらですか?

$0(入力トークン100万件あたり)と $0(出力トークン100万件あたり)です。リクエストごとに SandBase 残高から課金されます。割引がある場合は、このページの料金に表示されます。

別途 Google アカウントは必要ですか?

いいえ。SandBase の API key と残高が 1つあれば、Google Lyria 3 Clip Preview とカタログ内の他のモデルを利用できます。Google に別途登録する必要はありません。