تخطّي إلى المحتوى

Elevenlabs Sound Effects V2

التكامل

معرّف النموذج elevenlabs/sound-effects/v2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/sound-effects/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

هذا الطلب: ⁨‏0.044 $⁩ 44 رصيد API تشغيله في هذه الصفحة

الحصول على مفتاح API
ElevenLabs الصوت 0.5–22 ث #sound

ينشئ مؤثرات صوتية من وصف نصي، مع وضع تكرار اختياري وتحكم في مدة تصل إلى 22 ثانية

ElevenLabs · صوت

ستظهر نتيجتك الأولى هنا

أنشئ طلبًا أدناه وشغّله باستخدام مفتاح API الخاص بك. تُنسخ المخرجات إلى تخزيننا، وتُحفظ إلى الأبد أو لمدة 7 أيام مجانًا.

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب 88 / 450

وصف المؤثر الصوتي المطلوب إنتاجه.

مدة الصوت بالثواني، وتتراوح من 0.5 إلى 22. عند توفير None، يحدد الموجّه الطول الأمثل.

متقدم output_format · prompt_influence · loop
الافتراضي mp3_44100_128

تنسيق الصوت المُولّد، المحدد باستخدام النمط codec_sample_rate_bitrate.

الافتراضي 0.3

مدى الالتزام بالموجّه، ويتراوح من 0 إلى 1؛ وتؤدي زيادته إلى تقليل التباين.

POST /run/elevenlabs/sound-effects/v2?wait=20 عرض السعر → ⁨‏0.044 $⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/sound-effects/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

حول Elevenlabs Sound Effects V2

يحوّل وصفًا نصيًا قصيرًا (حتى 450 حرفًا) إلى مؤثر صوتي. عيّن `duration_seconds` بين 0.5 و22، أو اتركه فارغًا ليختار النموذج مدة من المطالبة. يتراوح `prompt_influence` من 0 إلى 1، ويطلب `loop` صوتًا يتكرر بسلاسة، بينما يوفر `output_format` خيارات MP3 وPCM وmu-law وA-law وOpus.

المعاملات

الاسمالنوع الافتراضيمسموح الوصف
textمطلوب
النوعstring
≤ 450 حرفًا
وصف المؤثر الصوتي المطلوب إنتاجه.
duration_secondsاختياري
النوعnumber | null
0.5 – 22
مدة الصوت بالثواني، وتتراوح من 0.5 إلى 22. عند توفير None، يحدد الموجّه الطول الأمثل.
prompt_influenceاختياري
النوعnumber
الافتراضي0.3
0 – 1
مدى الالتزام بالموجّه، ويتراوح من 0 إلى 1؛ وتؤدي زيادته إلى تقليل التباين.
output_formatاختياري
النوعenum
الافتراضيmp3_44100_128
mp3_22050_32mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128mp3_44100_192pcm_8000pcm_16000pcm_22050pcm_24000pcm_44100pcm_48000ulaw_8000alaw_8000opus_48000_32opus_48000_64
+3 أخرىopus_48000_96opus_48000_128opus_48000_192
تنسيق الصوت المُولّد، المحدد باستخدام النمط codec_sample_rate_bitrate.
loopاختياري
النوعboolean
الافتراضيfalse
يتحكم في ما إذا كان المؤثر الصوتي المُولّد يدعم التكرار السلس.
مطلوب

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "elevenlabs/sound-effects/v2",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 44,
    "usd": "0.044",
    "charged": 44,
    "refunded": 0
  },
  "input": {
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ملفاتك، خيارككل outputs[].url هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
audio
object {url, content_type, file_name, file_size}ملف المؤثر الصوتي المُولّد بترميز صوت MP3.

مزيد من النماذج: الصوت

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/elevenlabs/sound-effects/v2.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt