hyperframes-media
ما الذي تفعله
هذه المهارة تنشئ الصوت والوسائط التي يحتاجها فيديو HyperFrames. وهي موجهة لصنّاع الفيديو الذين يحتاجون إلى سرد أو موسيقى أو مؤثرات صوتية أو نصوص أو ترجمات.
متى تستخدمها
- ✓عندما يحتاج فيديوك إلى تعليق صوتي أو موسيقى خلفية أو مؤثرات صوتية.
- ✓عندما تحتاج إلى نص مكتوب أو ترجمات مُنشأة من الصوت.
- ✓عندما تريد إزالة الخلفية من صورة أو مقطع فيديو.
رابط المهارة
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-media/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أضف تعليقًا صوتيًا وموسيقى خلفية ومؤثرًا صوتيًا سريعًا إلى فيديوي، وأنشئ ترجمات من السرد.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يكتب الوكيل ملف طلب ويشغّل أداة صوت واحدة تنشئ الصوت والموسيقى والمؤثرات. ويمكنها استخدام حساب HeyGen عند إعداده، أو خيارات محلية مجانية عند عدم توفره.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
HyperFrames Media
Create the audio and media assets a composition needs — voiceover (TTS), background music + sound effects, transcription, captions, background removal — then consume and animate that data in HTML. For placing assets into compositions, see hyperframes-core.
The audio engine — one source for TTS · BGM · SFX
Workflows do NOT hand-roll audio or vendor a copy. There is one engine — scripts/audio.mjs — that takes a neutral audio_request.json and writes audio_meta.json (plus assets under assets/voice|bgm|sfx):
# <MEDIA_DIR> = this skill's directory
node <MEDIA_DIR>/scripts/audio.mjs --request ./audio_request.json --hyperframes . --out ./audio_meta.json
All three capabilities degrade on ONE switch — whether a HeyGen credential is present (resolved from $HEYGEN_API_KEY / $HYPERFRAMES_API_KEY / ~/.heygen, not the CLI):
| Capability | HeyGen credential present | absent |
|---|---|---|
| TTS | HeyGen Starfish REST (native word timestamps) | → ElevenLabs → Kokoro (chain transcribe for words) |
| BGM | HeyGen music retrieval | Lyria → MusicGen local generation (detached) |
| SFX | HeyGen sound-effects retrieval (min_score 0.4) | bundled 21-file library (assets/sfx/) |
- Request (
audio_request.json):{ provider?, lang?, speed?, lines: [{ id, text, sfx?: [names] }], bgm: { mode?, query?, prompt? } }.idjoins each line back to the caller's model (a frame number, a scene id, …).bgm.mode=retrieve | generate | none; omit for auto (retrieve when credentialed, else generate). An explicitretrieveis strict — it skips rather than starting a detached generate (for callers with nowait-bgmstep). - Output (
audio_meta.json, id-keyed):{ tts_provider, voice_id, bgm, bgm_pending, …, voices: [{ id, path, duration_s, words }], sfx: [{ id, name, file, source, offset_s, duration_s, volume }], total_duration_s }. --only tts,bgm,sfxruns a subset and merges into an existing--out(e.g. TTS+BGM early, SFX once cues exist).- BGM generate is spawned detached (
bgm_pending: true) — runscripts/wait-bgm.mjsbefore assembling. scripts/heygen-tts.mjsis a single-shot CLI over the same code (one text → wav + words) for when you just need HeyGen TTS without a request file.
Full flag list + the audio_meta.json schema live in the header of scripts/audio.mjs. The references below cover the provider details and edge cases behind each capability.
Preflight — show sign-in status before any audio
Always run this before generating voice or BGM — inside a full workflow or a one-off "generate me a BGM/voiceover" request. No HeyGen credential is not a reason to silently fall back to local engines: first recommend signing in and let the user decide. Run the shared preflight and relay its output verbatim — don't improvise your own "missing key" prompt, and don't offer to write keys into a per-repo .env:
npx hyperframes auth status
- Signed in → it prints the account; proceed.
- Not signed in (
exit 1is expected here — "not signed in" is a normal state, not a failure) → it prints registration-first guidance. Recommend signing in:npx hyperframes auth loginis browser OAuth — it signs in and creates an account (always available through this repo's CLI). To use an existing HeyGen API key (from app.heygen.com/settings/api), runnpx hyperframes auth login --api-key— it saves to the shared~/.heygen(no per-repo.env). The output also lists the local engines voice/BGM will fall back to and apiphint when deps are missing. Relay this output as-is — don't paraphrase it into your own wording. Then STOP and wait for the user to choose — sign in, or say "go" / "local" to continue offline — before generating anything. This is a real decision point, not a passing note: don't fold it into another question, and don't proceed past it on your own. (Exception: in autonomous / non-interactive mode, note the status and continue offline.) npx hyperframes auth status --jsonreturns{ configured, recommended_action, offline_engines }for deterministic branching.- If the CLI can't run (not on PATH and
npxcan't fetch it) → s
الأسئلة الشائعة
هل أحتاج إلى حساب HeyGen؟
لا. بدونه تستخدم المهارة خيارات محلية مجانية، مثل ElevenLabs أو Kokoro للصوت.
هل تُحفظ ملفات الصوت في مشروعي؟
نعم. يُحفظ كل أصل في المشروع مع سجل بتفاصيله.
هل تستطيع إنشاء ترجمات؟
نعم. تستطيع تفريغ السرد واستخدام النتيجة في الترجمات.
التفاصيل
الوصف الأصلي من المؤلف
Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.
repo: calesthio/OpenMontage
الشعبية
- نجوم GitHub
- 75k
- الترتيب
- #2665
- الترخيص
- 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 وتشغيل الناتج على حاسوبك، مع نصائح للنطق والتعبير.