List Services
Returns the set of generation endpoints enabled for your account, along with per-endpoint rate limits and constraints.
GET
/v1/account/servicescurl https://api.sonilo.com/v1/account/services \
-H "Authorization: Bearer sk_your_api_key"{
"available_services": ["video-to-music", "text-to-music"],
"rpm_limit": 60,
"concurrency_limit": 4,
"discount_factor": 1.0,
"max_upload_size_mb": 300
}Authorization
Authenticate via Bearer token. Generate keys at the API Keys page and pass them in the Authorization header on every request.
Authorization: Bearer sk_your_api_keyResponse
available_servicesstring[]Generation endpoints currently enabled for the account. Each value is a service slug, e.g. "text-to-music".
rpm_limitintegerMaximum requests per minute permitted across all endpoints.
concurrency_limitintegerMaximum number of in-flight requests permitted at once.
discount_factornumberMultiplier applied to the published per-second cost. 1.0 means no discount.
max_upload_size_mbintegerMaximum permitted upload size for any single request, in megabytes.
curl https://api.sonilo.com/v1/account/services \
-H "Authorization: Bearer sk_your_api_key"{
"available_services": ["video-to-music", "text-to-music"],
"rpm_limit": 60,
"concurrency_limit": 4,
"discount_factor": 1.0,
"max_upload_size_mb": 300
}