API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v7/voice/music-gen
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"prompt": "An upbeat Afrobeat song with energetic percussion, groovy bassline, and rhythmic guitar riffs. The vocals are clear and uplifting, with lyrics about dancing together, freedom, and feeling alive under the city lights.","model_id": "sonauto_song","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Prompt | prompt | Prompt for generating audio |
| Model | model_id | Model |