> ## Documentation Index
> Fetch the complete documentation index at: https://docs.acedata.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# توضيح تكامل واجهة برمجة تطبيقات MP4 من Suno

> Suno Music Generation API guide - Ace Data Cloud

تسمح لنا SUNO بالحصول على روابط MP4 الرسمية للموسيقى المولدة، توضح هذه الوثيقة كيفية تكامل واجهة برمجة التطبيقات ذات الصلة.

تحتوي هذه الواجهة على معلمة إدخال واحدة فقط، وهي `audio_id`، وهو معرف الأغنية الذي تم إنشاؤه رسميًا.

هنا، `audio_id` المدخل هو `275113ab-fe5c-4bca-a33c-0cca96b39fa6`.

```python theme={null}
import requests

url = "https://api.acedata.cloud/suno/mp4"

headers = {
    "accept": "application/json",
    "authorization": "Bearer {token}",
    "content-type": "application/json"
}

payload = {
    "audio_id": "275113ab-fe5c-4bca-a33c-0cca96b39fa6"
}

response = requests.post(url, json=payload, headers=headers)
print(response.text)
```

النتيجة كما يلي:

```
{
  "success": true,
  "task_id": "03ae7cca-c3a2-40a0-98b2-8f33426af438",
  "trace_id": "848d8d5a-d6bb-4e16-bb29-768c22cf1b3b",
  "data": {
    "video_url": "https://cdn1.suno.ai/275113ab-fe5c-4bca-a33c-0cca96b39fa6.mp4"
  }
}
```

يمكننا أن نرى أن حقل `video_url` في `data` هو الرابط الخاص بملف MP4 المرتبط بهذه الأغنية.
