stable-audio
Last updated
Last updated
An advanced audio generation model designed to create high-quality audio tracks from textual prompts.
If you don’t have an API key for the Apilaplas API yet, feel free to use our Quickstart guide.
GET /v2/generate/audio HTTP/1.1
Host: api.apilaplas.com
Authorization: Bearer <YOUR_LAPLASAPI_KEY>
Accept: */*
{
"audio_file": {
"url": "https://example.com"
},
"id": "text",
"status": "queued",
"error": null
}
The start point of the audio clip to generate
The duration of the audio clip to generate
30
The number of steps to denoise the audio
100
POST /v2/generate/audio HTTP/1.1
Host: api.apilaplas.com
Authorization: Bearer <YOUR_LAPLASAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"model": "stable-audio",
"prompt": "text",
"seconds_start": 1,
"seconds_total": 30,
"steps": 100
}
{
"id": "text",
"status": "queued"
}