Skillpedia
الصوت والتعليق الصوتي75k · #2679

music

ما الذي تفعله

هذه المهارة تنشئ موسيقى من أوامر نصية باستخدام ElevenLabs Music. وهي موجهة لصنّاع المحتوى الذين يحتاجون إلى مقطوعات آلية أو مقطوعات تعريفية أو أغانٍ بكلمات.

متى تستخدمها

  • ✓عندما تحتاج إلى مقطوعة خلفية آلية لمشروع.
  • ✓عندما تريد مقطوعة تعريفية أو أغنية بكلمات لعلامة تجارية.
  • ✓عندما تريد تحكمًا أكبر في بنية الأغنية عبر خطة تأليف.

رابط المهارة

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/music/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/music/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ مقطوعة لو-فاي هيب هوب مدتها 30 ثانية، مع توافقات بيانو جاز.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يرسل الوكيل وصف الأسلوب والمدة إلى ElevenLabs Music، ويحفظ ملف الصوت. وللتحكم الأكبر يستطيع أولًا إنشاء خطة تأليف تحدد أقسام الأغنية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

ElevenLabs Music Generation

Generate music from text prompts - supports instrumental tracks, songs with lyrics, and fine-grained control via composition plans.

Setup: See Installation Guide. For JavaScript, use @elevenlabs/* packages only.

Quick Start

Python

from elevenlabs import ElevenLabs

client = ElevenLabs()

audio = client.music.compose(
    prompt="A chill lo-fi hip hop beat with jazzy piano chords",
    music_length_ms=30000
)

with open("output.mp3", "wb") as f:
    for chunk in audio:
        f.write(chunk)

JavaScript

import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { createWriteStream } from "fs";

const client = new ElevenLabsClient();
const audio = await client.music.compose({
  prompt: "A chill lo-fi hip hop beat with jazzy piano chords",
  musicLengthMs: 30000,
});
audio.pipe(createWriteStream("output.mp3"));

cURL

curl -X POST "https://api.elevenlabs.io/v1/music" \
  -H "xi-api-key: $ELEVENLABS_API_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "A chill lo-fi beat", "music_length_ms": 30000}' --output output.mp3

Methods

Method Description
music.compose Generate audio from a prompt or composition plan
music.composition_plan.create Generate a structured plan for fine-grained control
music.compose_detailed Generate audio + composition plan + metadata
music.upload Upload an audio file for later inpainting workflows and optionally extract its composition plan

See API Reference for full parameter details.

music.upload is available to enterprise clients with access to the inpainting feature.

Composition Plans

For granular control, generate a composition plan first, modify it, then compose:

plan = client.music.composition_plan.create(
    prompt="An epic orchestral piece building to a climax",
    music_length_ms=60000
)

# Inspect/modify styles and sections
print(plan.positiveGlobalStyles)  # e.g. ["orchestral", "epic", "cinematic"]

audio = client.music.compose(
    composition_plan=plan,
    music_length_ms=60000
)

Content Restrictions

  • Cannot reference specific artists, bands, or copyrighted lyrics
  • bad_prompt errors include a prompt_suggestion with alternative phrasing
  • bad_composition_plan errors include a composition_plan_suggestion

Error Handling

try:
    audio = client.music.compose(prompt="...", music_length_ms=30000)
except Exception as e:
    print(f"API error: {e}")

Common errors: 401 (invalid key), 422 (invalid params), 429 (rate limit).

References

الأسئلة الشائعة

كم يمكن أن تكون المقطوعة طويلة؟

تحدد المدة بالمللي ثانية، لذلك تكون المقطوعة مدتها 30 ثانية هي 30000.

هل أستطيع إضافة كلمات؟

نعم. يمكن أن تتضمن الأغاني كلمات، وتشرح المهارة طريقة إضافتها.

ما خطة التأليف؟

هي مخطط منظم للأغنية يعطيك تحكمًا أكبر في أقسامها.

التفاصيل

الوصف الأصلي من المؤلف

Generate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata.

repo: calesthio/OpenMontage

الشعبية

نجوم GitHub
75k
الترتيب
#2679
الترخيص
AGPL-3.0
آخر تحديث
28‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة