Lyria 3 Pro
Model musik unggulan Google: buat lagu full-length hingga tiga menit dari prompt teks, seharga $0.08 per generasi.
The Lyria API on Muapi gives you Google's Lyria music models through one REST integration: the Lyria 3 Pro API for full songs up to three minutes at $0.08 per generation, the Lyria 3 API for clips up to 30 seconds at $0.04, and the Lyria 2 API for roughly 30-second instrumentals at $0.06.Describe the genre, mood, tempo, instruments, and structure in a text prompt of up to 2,000 characters, submit it with your Muapi key, and poll the request ID for an MP3.
Lyria 3 Pro, Lyria 3, dan Lyria 2 kini tersedia di Muapi
Pilih model Lyria berdasarkan durasi trek dan harga, tulis prompt teks, lalu periksa ID permintaan yang dikembalikan untuk mendapatkan file MP3.
Model musik unggulan Google: buat lagu full-length hingga tiga menit dari prompt teks, seharga $0.08 per generasi.
Klip musik singkat berkualitas tinggi hingga 30-second untuk jingle, intro, loop, dan musik latar, seharga $0.04 per generasi. high-quality
Model musik instrumental Google: trek instrumental sekitar 30-second dari prompt gaya dan suasana, seharga $0.06 per generasi.
Lyria is Google's family of text-to-music models. Muapi exposes three of them as separate endpoints — lyria-3-pro, lyria-3, and lyria-2 — that share one request shape: a single prompt field of up to 2,000 characters describing the music. Each returns an MP3 asynchronously via polling or webhook.
The Lyria 3 Pro API composes full-length songs up to three minutes at $0.08 per generation. The Lyria 3 API produces clips up to 30 seconds at $0.04 per generation. The Lyria 2 API produces roughly 30-second instrumentals at $0.06 per generation. All three use the same Muapi key, the same submit-and-poll flow, and pay-per-generation billing.
Jelaskan genre, suasana, tempo, instrumen, struktur, dan lirik jika ingin vokal, lalu dapatkan lagu hingga tiga menit.
Buat jingle, intro, loop, dan musik latar hingga 30-second.
Dapatkan trek instrumental sekitar 30-second dari deskripsi gaya dan suasana.
Ketiga endpoint menerima satu prompt hingga 2.000 karakter dan mengembalikan MP3, jadi berpindah model hanya mengubah nama endpoint.
Lyria 3 seharga $0.04, Lyria 2 $0.06, dan Lyria 3 Pro $0.08 per generasi, tanpa langganan.
Buat draf lagu full-length dan demo konsep dengan Lyria 3 Pro.
Buat musik singkat untuk merek, intro podcast, dan loop dengan Lyria 3.
Buat musik instrumental untuk video, game, dan aplikasi dengan Lyria 2 atau Lyria 3.
Coba klip Lyria 3 singkat untuk menguji prompt sebelum membuat lagu penuh Lyria 3 Pro.
| Model | Penyedia | Harga | Cocok Untuk |
|---|---|---|---|
| Lyria 3 Pro | $0.08/generation | Lagu penuh hingga 3 menit | |
| Lyria 3 | $0.04/generation | Klip musik hingga 30-second | |
| Lyria 2 | $0.06/generation | Roughly 30-second instrumentals |
Ketiganya menerima prompt hingga 2.000 karakter dan mengembalikan MP3.
Kirim prompt dengan kunci API Muapi, simpan ID permintaan, lalu periksa endpoint hasil prediksi standar untuk URL MP3.
curl -X POST https://api.muapi.ai/api/v1/lyria-3-pro \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"An upbeat synth-pop song about driving at night, shimmering arpeggios, punchy drums, female vocals, anthemic chorus."}'
# Response: {"request_id":"REQUEST_ID"}lyria-3-pro membuat lagu full-length hingga tiga menit dengan biaya $0.08 per generasi.
curl -X POST https://api.muapi.ai/api/v1/lyria-3 \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A warm lo-fi hip hop loop with mellow Rhodes chords, vinyl crackle and a laid-back drum groove."}'
# Response: {"request_id":"REQUEST_ID"}lyria-3 menghasilkan klip hingga 30-second dengan biaya $0.04 per generasi.
curl -X POST https://api.muapi.ai/api/v1/lyria-2 \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A cinematic orchestral build with soaring strings, deep brass and thundering timpani."}'
# Response: {"request_id":"REQUEST_ID"}lyria-2 menghasilkan instrumental sekitar 30-second dengan biaya $0.06 per generasi.
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \ -H "x-api-key: YOUR_API_KEY" # Poll until status is completed, then read the generated MP3 URL from outputs.
Periksa hingga status selesai, lalu ambil URL MP3 dari respons.
API Lyria di Muapi menyediakan model text-to-music Lyria dari Google — Lyria 3 Pro, Lyria 3, dan Lyria 2 — melalui endpoint terpisah yang menerima prompt teks dan mengembalikan MP3.
API Lyria 3 Pro berharga $0.08 per generasi untuk lagu full-length hingga tiga menit.
Lyria 3 menghasilkan klip musik hingga 30-second dengan biaya $0.04 per generasi. Lyria 2 menghasilkan trek instrumental sekitar 30-second dengan biaya $0.06 per generasi. Lyria 3 Pro menawarkan durasi lebih panjang: lagu hingga tiga menit seharga $0.08.
API Lyria 3 berharga $0.04 per generasi untuk klip hingga 30-second. API Lyria 2 berharga $0.06 per generasi.
Ketiga endpoint Lyria menerima prompt hingga 2.000 karakter. Jelaskan genre, suasana, tempo, dan instrumen; untuk Lyria 3 Pro, Anda juga dapat menjelaskan struktur dan menyertakan lirik jika menginginkan vokal.
Setiap endpoint mengembalikan URL file MP3 dari endpoint hasil prediksi standar setelah status selesai.
Buat kunci API Muapi, POST prompt ke /api/v1/lyria-3-pro, /api/v1/lyria-3, atau /api/v1/lyria-2, lalu periksa /api/v1/predictions/{request_id}/result atau sertakan URL webhook.
Gunakan satu kunci API Muapi untuk Lyria 3 Pro, Lyria 3, dan Lyria 2.