lyria
Skill này làm gì
Skill này tạo nhạc bằng các mô hình Lyria 3 của Google. Nó dành cho người làm video cần nhạc nền, một đoạn nhạc đúng độ dài, hoặc một bài hát có giọng hát.
Khi nào nên dùng
- ✓Khi bạn cần một bản nhạc nền hoặc đoạn nhạc không lời cho video.
- ✓Khi bạn muốn một bài hát có giọng hát hoặc lời tùy chỉnh.
- ✓Khi bạn cần nhạc vừa khít một độ dài cụ thể cho bản dựng video.
Liên kết skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/lyria/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một đoạn nhạc không lời dài 30 giây cho quảng cáo sản phẩm của tôi, dần lên đến một đoạn kết tươi sáng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent viết một prompt có cấu trúc, thực hiện một lần tạo đã được duyệt, rồi kiểm tra file bằng cách nghe và đo đạc. Nếu video cần đúng độ dài, nó tạo riêng một phiên bản đã cắt để vừa khít.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Google Lyria 3
Use Lyria 3 as a single-turn music generator. Keep it distinct from Lyria RealTime, which is an experimental WebSocket model for continuously steered instrumental performance.
Read references/api-and-prompting.md when choosing a model, designing vocals or custom lyrics, using image inputs, debugging the response, or checking current limits and pricing.
Required Workflow
- Confirm the intended role: underscore, loop, instrumental cue, or full song.
- Confirm vocals, language, target duration, musical structure, and delivery format.
- Announce the provider, exact model, estimated per-request cost, and whether the call is exploratory or final.
- Write one structured prompt using the contract below.
- Make one approved generation call. Treat a retry as another potentially billable stochastic generation.
- Preserve the returned provider source unchanged.
- Probe the actual file and listen before recording duration, format, or approval metadata.
- Derive a separate production master when the edit requires an exact duration.
Choose The Model Deliberately
| Need | Model | Contract |
|---|---|---|
| Prompt iteration, preview, loop, exact 30-second source | lyria-3-clip-preview |
Always generates a 30-second MP3; currently $0.04/request |
| Full song, vocals, longer structure, image-conditioned score | lyria-3-pro-preview |
Prompt-influenced duration up to roughly three minutes; currently $0.08/request |
| Live, continuously steered instrumental performance | lyria-realtime-exp |
Separate WebSocket workflow; do not route through google_music |
The current OpenMontage google_music adapter is locked to lyria-3-pro-preview. It does not expose Clip, WAV response selection, multiple images, or RealTime controls. Surface that limitation rather than implying those options are available through the adapter.
Do not change models silently. For a 30-second video, either obtain approval for Pro plus exact-duration mastering or use Clip through an explicitly supported path.
Build The Prompt
Specify, in this order:
- Purpose and duration — what the music supports and the requested length.
- Genre and era — use musical vocabulary, not a living artist imitation.
- Tempo and harmony — BPM or tempo range, meter, key or tonal center.
- Instrumentation and texture — name lead, rhythm, bass, and ambient layers.
- Structure — timestamped sections or
[Intro],[Verse],[Chorus],[Bridge],[Outro]. - Dynamics and synchronization — entrances, rests, builds, hits, and holds tied to edit times.
- Vocal policy — instrumental-only constraints, a vocal profile, or clearly separated custom lyrics.
- Mix and ending — density, foreground/background role, headroom character, and final decay.
- Exclusions — unwanted vocals, instruments, gestures, clichés, abrupt endings, or copyrighted material.
For video underscore, use timestamp windows that cover the full requested duration. Ask for one primary change per window and identify the exact synchronization moment.
For instrumental-only output, say all of the following when they matter:
Instrumental only. No lead or backing vocals, speech, choir, humming,
vocal chops, spoken samples, lyrical fragments, or recognizable quotations.
For custom lyrics, put performance direction before a separate Lyrics: block and use section labels. Prompt in the language the singer should use.
Direct Vocals Deliberately
When vocals are requested, define these before writing the prompt:
- Vocal role — solo lead, duet, call-and-response, backing ensemble, or vocal texture.
- Language and script — name the sung language and keep the custom lyrics in one intentional script; do not silently transliterate or code-switch.
- Singer profile — voice type or range, timbre, intensity, diction, ornamentation, and emotional distance. Do not imitate a named artist.
- Section behavior — state where the lead enters, where harmonies or echoes appear, and which sections remain instrumental.
- Lyric contract — separate directions from a
Lyrics:block, use[Verse],[Chorus],[Bridge], and[Outro], and reserve parentheses for intentional backing-vocal echoes.
Treat the returned vocal as untrusted until auditioned. Check lyric adherence, language drift, pronunciation, intelligibility, unwanted backing vocals, vocal/instrument balance, and whether the perf
Câu hỏi thường gặp
Nó tốn bao nhiêu?
Skill nêu chi phí cho mỗi yêu cầu trước mỗi lần tạo, để bạn có thể duyệt.
Tôi có thể dùng ảnh để dẫn hướng nhạc không?
Có. Một số mô hình chấp nhận ảnh để định hình bản nhạc.
Thử lại có miễn phí không?
Không. Mỗi lần thử lại là một lần tạo trả phí và không đoán trước được, nên skill sẽ hỏi bạn trước khi thử lại.
Chi tiết
Mô tả gốc của tác giả
Generate and validate music with Google Lyria 3 through the Gemini Interactions API. Use before calling OpenMontage `google_music`, designing Lyria 3 Clip or Pro prompts, using image-to-music or custom lyrics, choosing between Lyria 3 and Lyria RealTime, diagnosing Google music-generation failures, or preparing exact-duration music for a video.
repo: calesthio/OpenMontage
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2671
- Giấy phép
- AGPL-3.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-asset-generation
75kGiúp agent của bạn chọn cách tạo đối tượng 3D cho một cảnh, bằng thư viện có sẵn, các tool chuyển văn bản hoặc ảnh thành 3D, và Blender để lắp ráp cuối cùng.
acestep
75kGiúp agent của bạn tạo nhạc nền, bài hát, jingle và các stem cho video bằng trình tạo nhạc mã nguồn mở ACE-Step.
agents
75kGiúp agent của bạn xây dựng trợ lý AI giọng nói bằng ElevenLabs, như bot chăm sóc khách hàng và nhân vật giọng nói tương tác.
ai-video-gen
75kGiúp agent của bạn tạo các đoạn video AI từ mô tả bằng văn bản hoặc ảnh tham khảo, chọn trong số nhiều dịch vụ tạo video.
Skill tương tự
openai-whisper-api
394kCho phép agent của bạn chuyển bản ghi âm thành văn bản bằng dịch vụ chuyển đổi của OpenAI, với tùy chọn nhãn người nói và tệp đầu ra.
openai-whisper
394kGiúp agent của bạn chuyển âm thanh thành văn bản trên chính máy tính bằng lệnh Whisper, không cần khóa API và không cần tải lên đám mây.
sag
394kGiúp agent của bạn đọc văn bản thành tiếng nói bằng giọng ElevenLabs và phát kết quả trên máy tính, kèm mẹo về phát âm và biểu cảm.