> ## 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.

# تعليمات تكامل Suno MP4 API

> Suno Music Generation API guide - Ace Data Cloud

يسمح لنا SUNO بالحصول على رابط MP4 الرسمي المُنشأ للموسيقى التي تم إنشاؤها، ويشرح هذا المستند طريقة تكامل واجهة API ذات الصلة.

تحتوي واجهة API هذه على معامل إدخال واحد فقط، وهو `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://cdn.acedata.cloud/assets/examples/gemini/04a043bd-6b23-4b4e-945c-ce48158c3eee-3a89912507c7.mp4"
  }
}
```

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.