curl --request POST \
--url https://api.parallellabs.app/api/v0/audio/sound-effects \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"companyId": "<string>",
"sound": "<string>",
"prompt": "<string>",
"duration": 1
}
'import requests
url = "https://api.parallellabs.app/api/v0/audio/sound-effects"
payload = {
"companyId": "<string>",
"sound": "<string>",
"prompt": "<string>",
"duration": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({companyId: '<string>', sound: '<string>', prompt: '<string>', duration: 1})
};
fetch('https://api.parallellabs.app/api/v0/audio/sound-effects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.parallellabs.app/api/v0/audio/sound-effects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'companyId' => '<string>',
'sound' => '<string>',
'prompt' => '<string>',
'duration' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.parallellabs.app/api/v0/audio/sound-effects"
payload := strings.NewReader("{\n \"companyId\": \"<string>\",\n \"sound\": \"<string>\",\n \"prompt\": \"<string>\",\n \"duration\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.parallellabs.app/api/v0/audio/sound-effects")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"companyId\": \"<string>\",\n \"sound\": \"<string>\",\n \"prompt\": \"<string>\",\n \"duration\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/audio/sound-effects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"companyId\": \"<string>\",\n \"sound\": \"<string>\",\n \"prompt\": \"<string>\",\n \"duration\": 1\n}"
response = http.request(request)
puts response.read_body{
"audioId": "<string>",
"audioUrl": "<string>",
"duration": 123,
"model": "<string>",
"creditsCharged": 123,
"format": "<string>",
"msg": "<string>"
}Generate a sound effect.
Add a short sound effect and return a permanent public audio URL and its duration. For a common effect pass sound, a library name: free, instant and already checked to sound right. Library: click (0.07s): Soft crisp UI click or tap: a button press, a cursor click; toggle (0.09s): Bright tiny approval snap: a toggle switching on, a checkbox ticking; whoosh (0.61s): Fast airy whoosh, left to right: a cut, a slide, a camera whip; impact (0.67s): Deep cinematic impact with a short tail: a headline slam, a logo hit, the drop; riser (2.32s): Tension riser building over about two seconds; place it to end on the drop; chime (0.54s): Bright success chime: a confirmation, a notification, a goal reached; sparkle (0.64s): Magical bright sparkle shimmer: a reveal, something new appearing; pop (0.2s): Short rounded pop: a card, badge or bubble landing on screen; typing (1.72s): A short burst of keyboard typing, about one and a half seconds; impact-soft (0.93s): Gentle warm low thud: a softer reveal, a card settling. Only for an effect the library lacks, pass prompt instead to generate one with ElevenLabs (0.5-5 seconds, 2 audio credits). Describe the sound precisely: “cash register ding”, “camera shutter”, “crowd cheering for one second”. For a video, add the few effects you need once and place each one on a cut or hit with its own ; reuse the same URL for repeated hits. Keep effects under the music, and at most 24 audio tracks in a canvas.
curl --request POST \
--url https://api.parallellabs.app/api/v0/audio/sound-effects \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"companyId": "<string>",
"sound": "<string>",
"prompt": "<string>",
"duration": 1
}
'import requests
url = "https://api.parallellabs.app/api/v0/audio/sound-effects"
payload = {
"companyId": "<string>",
"sound": "<string>",
"prompt": "<string>",
"duration": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({companyId: '<string>', sound: '<string>', prompt: '<string>', duration: 1})
};
fetch('https://api.parallellabs.app/api/v0/audio/sound-effects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.parallellabs.app/api/v0/audio/sound-effects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'companyId' => '<string>',
'sound' => '<string>',
'prompt' => '<string>',
'duration' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.parallellabs.app/api/v0/audio/sound-effects"
payload := strings.NewReader("{\n \"companyId\": \"<string>\",\n \"sound\": \"<string>\",\n \"prompt\": \"<string>\",\n \"duration\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.parallellabs.app/api/v0/audio/sound-effects")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"companyId\": \"<string>\",\n \"sound\": \"<string>\",\n \"prompt\": \"<string>\",\n \"duration\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/audio/sound-effects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"companyId\": \"<string>\",\n \"sound\": \"<string>\",\n \"prompt\": \"<string>\",\n \"duration\": 1\n}"
response = http.request(request)
puts response.read_body{
"audioId": "<string>",
"audioUrl": "<string>",
"duration": 123,
"model": "<string>",
"creditsCharged": 123,
"format": "<string>",
"msg": "<string>"
}Authorizations
Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.
Body
A library sound, free and instant: click, toggle, whoosh, impact, riser, chime, sparkle, pop, typing, impact-soft. Use it whenever one fits
Only for an effect the library lacks: the sound, precisely
Duration in seconds of a generated effect, 0.5–5
Response
Successful response

