lyria
ما الذي تفعله
هذه المهارة تولّد موسيقى بنماذج Google Lyria 3. وهي موجهة لصنّاع الفيديو الذين يحتاجون إلى مقطوعة خلفية، أو مقطع بطول دقيق، أو أغنية بغناء.
متى تستخدمها
- ✓عندما تحتاج إلى مقطوعة خلفية أو مقطع آلي لفيديو.
- ✓عندما تريد أغنية بغناء أو كلمات مخصصة.
- ✓عندما تحتاج إلى موسيقى تناسب طولًا دقيقًا في مونتاج الفيديو.
رابط المهارة
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/lyria/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ مقطعًا آليًا مدته 30 ثانية لإعلان منتجي، يتصاعد نحو نهاية مشرقة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يكتب الوكيل أمرًا واحدًا منظمًا، وينفذ توليدًا واحدًا بعد موافقتك، ثم يفحص الملف بالاستماع إليه وقياسه. وإذا احتاج الفيديو إلى طول دقيق، يُنشأ نسخة منفصلة مقتطعة لتناسبه.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
الأسئلة الشائعة
كم تكلّف؟
تذكر المهارة تكلفة كل طلب قبل كل توليد، حتى توافق عليها.
هل أستطيع استخدام صورة لتوجيه الموسيقى؟
نعم. تقبل بعض النماذج صورة لتشكيل الموسيقى.
هل إعادة المحاولة مجانية؟
لا. كل إعادة محاولة توليد مدفوع آخر وغير متوقع، لذلك تسألك المهارة قبل إعادة المحاولة.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 75k
- الترتيب
- #2671
- الترخيص
- AGPL-3.0
- آخر تحديث
- 28/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
3d-asset-generation
75kيساعد وكيلك على اختيار طريقة إنشاء أجسام ثلاثية الأبعاد لمشهد، عبر الكتالوجات وأدوات التحويل من نص أو صورة، وBlender للتجميع.
acestep
75kيساعد وكيلك على إنشاء موسيقى خلفية وأغانٍ ومقطوعات تعريفية ومقاطع منفصلة لفيديو، باستخدام مولّد الموسيقى المفتوح ACE-Step.
agents
75kيساعد وكيلك على بناء مساعدين صوتيين بالذكاء الاصطناعي باستخدام ElevenLabs، مثل روبوتات خدمة العملاء والشخصيات الصوتية التفاعلية.
ai-video-gen
75kيساعد وكيلك على إنشاء مقاطع فيديو بالذكاء الاصطناعي من وصف نصي أو صورة مرجعية، مع اختيار من بين عدة خدمات لتوليد الفيديو.
مهارات مشابهة
openai-whisper-api
394kيتيح لوكيلك تحويل التسجيل الصوتي إلى نص عبر خدمة النسخ لدى OpenAI، مع خيارات لتمييز المتحدثين وملفات الإخراج.
openai-whisper
394kيساعد وكيلك على نسخ الصوت على جهازك باستخدام أمر Whisper، دون مفتاح API ودون الحاجة إلى رفع الملفات إلى السحابة.
sag
394kيساعد وكيلك على قراءة النص بصوت عالٍ بأصوات ElevenLabs وتشغيل الناتج على حاسوبك، مع نصائح للنطق والتعبير.