Chuyển đến nội dung
Skillpedia
Âm thanh và giọng nói75k · #2671

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/lyria/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

  1. Confirm the intended role: underscore, loop, instrumental cue, or full song.
  2. Confirm vocals, language, target duration, musical structure, and delivery format.
  3. Announce the provider, exact model, estimated per-request cost, and whether the call is exploratory or final.
  4. Write one structured prompt using the contract below.
  5. Make one approved generation call. Treat a retry as another potentially billable stochastic generation.
  6. Preserve the returned provider source unchanged.
  7. Probe the actual file and listen before recording duration, format, or approval metadata.
  8. 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:

  1. Purpose and duration — what the music supports and the requested length.
  2. Genre and era — use musical vocabulary, not a living artist imitation.
  3. Tempo and harmony — BPM or tempo range, meter, key or tonal center.
  4. Instrumentation and texture — name lead, rhythm, bass, and ambient layers.
  5. Structure — timestamped sections or [Intro], [Verse], [Chorus], [Bridge], [Outro].
  6. Dynamics and synchronization — entrances, rests, builds, hits, and holds tied to edit times.
  7. Vocal policy — instrumental-only constraints, a vocal profile, or clearly separated custom lyrics.
  8. Mix and ending — density, foreground/background role, headroom character, and final decay.
  9. 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:

  1. Vocal role — solo lead, duet, call-and-response, backing ensemble, or vocal texture.
  2. Language and script — name the sung language and keep the custom lyrics in one intentional script; do not silently transliterate or code-switch.
  3. Singer profile — voice type or range, timbre, intensity, diction, ornamentation, and emotional distance. Do not imitate a named artist.
  4. Section behavior — state where the lead enters, where harmonies or echoes appear, and which sections remain instrumental.
  5. 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự