- Get Started
- Endpoints
- Flux
- AI Hug
- Midjourney
- Faceswap
- Song (Suno and Udio)
- TTS
- DiffRhythm
- Mmaudio
- Dream Machine
- Kling
- Hailuo
- Hunyuan Video
- WanX
- Skyreels
- Trellis
- GPTs API
- LLM
- Account Management
- Tools
- Resources
- Legacy Documentation
- Midjourney
- Face Swap
- Suno
- Dream Machine
- Kling
Upload Audio
POST
https://api.goapi.ai/api/suno/v1/upload_audio
Request
Header Params
X-API-Key
string
required
Body Params application/json
audio_url
string
required
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.goapi.ai/api/suno/v1/upload_audio' \
--header 'X-API-Key;' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
code
integer
optional
data
object
optional
task_id
string
optional
message
string
optional
Example
{
"code": 200,
"data": {
"task_id": "02c74819-5f3e-4834-9435-xxxxxxxxxx"
},
"message": "success"
}
🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Modified at 2024-10-21 11:16:19