Back to models
suno

Suno V5

suno-v5
suno4K contextPriced by generation parameters

Suno V5 supports Text input and Audio output through OpenAI.

Total Context4K
PricingUsage based

Providers for Suno V5

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

suno
Total Context4K
PricingPriced by generation parameters

Sample code and API for Suno V5

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

Music GenerationAnyInt async media

Create a generation task, then poll its status for artifacts.

/v1/music/generations
# 1. Create a generation task and save its ID.
TASK_ID=$(curl 'https://api.anyint.ai/v1/music/generations' \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
  "model": "suno-v5",
  "prompt": "Warm ambient electronic music",
  "instrumental": true
}' | jq -r '.task.id')

# 2. Poll until task.status is completed or failed.
curl 'https://api.anyint.ai/v1/async-tasks/'"$TASK_ID" \
  -H "Authorization: Bearer <YOUR_API_KEY>"