API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v7/voice/song-extender
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
{"init_audio": "https://assets.modelslab.com/generations/3b57f1c2-a63e-4285-90ea-5b8bad106217.ogg","prompt": "Write another verse for my song","model_id": "song-extender","extend_duration": "45.0","side": "right","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 |
|---|---|---|
| Audio | init_audio | init audio |
| Prompt | prompt | Prompt |
| Model | model_id | Model |
| extend duration | extend_duration | This must be between 0 and 85.0 seconds. |
| side | side | You can extend from the start or end of the song by setting the side to "left" or "right," respectively. |