API Playground
Test the sunor API directly in your browser. Enter your API key and configure a task below.
Quick Reference
Credit Costs
- Suno Music: 10 credits
- Suno Lyrics: 5 credits
- Suno Audio Upload: 1 credit
- Udio Music: 5 credits
API Endpoint
POST /api/v1/taskAuthentication
Pass your API key via the x-api-key header.
cURL Example
curl -X POST \
https://sunor.cc/api/v1/task \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_KEY" \
-d '{
"model": "suno",
"task_type": "music",
"input": {
"gpt_description_prompt": "A chill lo-fi beat",
"make_instrumental": true
}
}'