curl --request POST \
--url https://api.mountsea.ai/producer/audios \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"action": "create_music",
"soundPrompt": "driving energetic beat, rapid rhythm, high BPM",
"lyrics": "[Verse 1]\nI've been running in circles...\n\n[Chorus]\nI keep coming back to you...",
"title": "Back to You",
"model": "Lyria 3 Pro",
"seed": 877369,
"makeInstrumental": false,
"imageUrl": "https://example.com/cover.jpg"
}
EOFimport requests
url = "https://api.mountsea.ai/producer/audios"
payload = {
"action": "create_music",
"soundPrompt": "driving energetic beat, rapid rhythm, high BPM",
"lyrics": "[Verse 1]
I've been running in circles...
[Chorus]
I keep coming back to you...",
"title": "Back to You",
"model": "Lyria 3 Pro",
"seed": 877369,
"makeInstrumental": False,
"imageUrl": "https://example.com/cover.jpg"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
action: 'create_music',
soundPrompt: 'driving energetic beat, rapid rhythm, high BPM',
lyrics: '[Verse 1]\nI\'ve been running in circles...\n\n[Chorus]\nI keep coming back to you...',
title: 'Back to You',
model: 'Lyria 3 Pro',
seed: 877369,
makeInstrumental: false,
imageUrl: 'https://example.com/cover.jpg'
})
};
fetch('https://api.mountsea.ai/producer/audios', 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.mountsea.ai/producer/audios",
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([
'action' => 'create_music',
'soundPrompt' => 'driving energetic beat, rapid rhythm, high BPM',
'lyrics' => '[Verse 1]
I\'ve been running in circles...
[Chorus]
I keep coming back to you...',
'title' => 'Back to You',
'model' => 'Lyria 3 Pro',
'seed' => 877369,
'makeInstrumental' => false,
'imageUrl' => 'https://example.com/cover.jpg'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.mountsea.ai/producer/audios"
payload := strings.NewReader("{\n \"action\": \"create_music\",\n \"soundPrompt\": \"driving energetic beat, rapid rhythm, high BPM\",\n \"lyrics\": \"[Verse 1]\\nI've been running in circles...\\n\\n[Chorus]\\nI keep coming back to you...\",\n \"title\": \"Back to You\",\n \"model\": \"Lyria 3 Pro\",\n \"seed\": 877369,\n \"makeInstrumental\": false,\n \"imageUrl\": \"https://example.com/cover.jpg\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.mountsea.ai/producer/audios")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"action\": \"create_music\",\n \"soundPrompt\": \"driving energetic beat, rapid rhythm, high BPM\",\n \"lyrics\": \"[Verse 1]\\nI've been running in circles...\\n\\n[Chorus]\\nI keep coming back to you...\",\n \"title\": \"Back to You\",\n \"model\": \"Lyria 3 Pro\",\n \"seed\": 877369,\n \"makeInstrumental\": false,\n \"imageUrl\": \"https://example.com/cover.jpg\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/producer/audios")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"action\": \"create_music\",\n \"soundPrompt\": \"driving energetic beat, rapid rhythm, high BPM\",\n \"lyrics\": \"[Verse 1]\\nI've been running in circles...\\n\\n[Chorus]\\nI keep coming back to you...\",\n \"title\": \"Back to You\",\n \"model\": \"Lyria 3 Pro\",\n \"seed\": 877369,\n \"makeInstrumental\": false,\n \"imageUrl\": \"https://example.com/cover.jpg\"\n}"
response = http.request(request)
puts response.read_body{
"taskId": "<string>"
}{
"taskId": "<string>"
}Create Music
Generate music with Lyria 3 Pro
curl --request POST \
--url https://api.mountsea.ai/producer/audios \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"action": "create_music",
"soundPrompt": "driving energetic beat, rapid rhythm, high BPM",
"lyrics": "[Verse 1]\nI've been running in circles...\n\n[Chorus]\nI keep coming back to you...",
"title": "Back to You",
"model": "Lyria 3 Pro",
"seed": 877369,
"makeInstrumental": false,
"imageUrl": "https://example.com/cover.jpg"
}
EOFimport requests
url = "https://api.mountsea.ai/producer/audios"
payload = {
"action": "create_music",
"soundPrompt": "driving energetic beat, rapid rhythm, high BPM",
"lyrics": "[Verse 1]
I've been running in circles...
[Chorus]
I keep coming back to you...",
"title": "Back to You",
"model": "Lyria 3 Pro",
"seed": 877369,
"makeInstrumental": False,
"imageUrl": "https://example.com/cover.jpg"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
action: 'create_music',
soundPrompt: 'driving energetic beat, rapid rhythm, high BPM',
lyrics: '[Verse 1]\nI\'ve been running in circles...\n\n[Chorus]\nI keep coming back to you...',
title: 'Back to You',
model: 'Lyria 3 Pro',
seed: 877369,
makeInstrumental: false,
imageUrl: 'https://example.com/cover.jpg'
})
};
fetch('https://api.mountsea.ai/producer/audios', 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.mountsea.ai/producer/audios",
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([
'action' => 'create_music',
'soundPrompt' => 'driving energetic beat, rapid rhythm, high BPM',
'lyrics' => '[Verse 1]
I\'ve been running in circles...
[Chorus]
I keep coming back to you...',
'title' => 'Back to You',
'model' => 'Lyria 3 Pro',
'seed' => 877369,
'makeInstrumental' => false,
'imageUrl' => 'https://example.com/cover.jpg'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.mountsea.ai/producer/audios"
payload := strings.NewReader("{\n \"action\": \"create_music\",\n \"soundPrompt\": \"driving energetic beat, rapid rhythm, high BPM\",\n \"lyrics\": \"[Verse 1]\\nI've been running in circles...\\n\\n[Chorus]\\nI keep coming back to you...\",\n \"title\": \"Back to You\",\n \"model\": \"Lyria 3 Pro\",\n \"seed\": 877369,\n \"makeInstrumental\": false,\n \"imageUrl\": \"https://example.com/cover.jpg\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.mountsea.ai/producer/audios")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"action\": \"create_music\",\n \"soundPrompt\": \"driving energetic beat, rapid rhythm, high BPM\",\n \"lyrics\": \"[Verse 1]\\nI've been running in circles...\\n\\n[Chorus]\\nI keep coming back to you...\",\n \"title\": \"Back to You\",\n \"model\": \"Lyria 3 Pro\",\n \"seed\": 877369,\n \"makeInstrumental\": false,\n \"imageUrl\": \"https://example.com/cover.jpg\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/producer/audios")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"action\": \"create_music\",\n \"soundPrompt\": \"driving energetic beat, rapid rhythm, high BPM\",\n \"lyrics\": \"[Verse 1]\\nI've been running in circles...\\n\\n[Chorus]\\nI keep coming back to you...\",\n \"title\": \"Back to You\",\n \"model\": \"Lyria 3 Pro\",\n \"seed\": 877369,\n \"makeInstrumental\": false,\n \"imageUrl\": \"https://example.com/cover.jpg\"\n}"
response = http.request(request)
puts response.read_body{
"taskId": "<string>"
}{
"taskId": "<string>"
}taskId — use Get Task Status to poll for the generated audio.Tips
- Sound Prompt: Describe the musical style, mood, instruments, and tempo (e.g.,
"emotional pop with gentle piano, warm synths, and a catchy beat") - Lyrics: Use section tags like
[Verse],[Chorus],[Bridge]for structured output - Image-Guided: Provide an
imageUrlto let the model infer mood and style from an image - Instrumental: Set
makeInstrumental: trueto generate without vocals - Reproducibility: Use
seedfor deterministic generation — same seed + same parameters = same output
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Action type to perform
create_music "create_music"
Sound/style prompt describing the desired music style
"driving energetic beat, rapid rhythm, high BPM"
Lyrics content with section tags like [Verse], [Chorus], etc. For create_music: either soundPrompt or lyrics should be provided. Set makeInstrumental=true to ignore lyrics.
"[Verse 1]\nI've been running in circles...\n\n[Chorus]\nI keep coming back to you..."
Song title (max 80 characters)
80"Back to You"
Music generation model (currently only Lyria 3 Pro)
Lyria 3 Pro "Lyria 3 Pro"
Random seed for reproducible generation
877369
Generate instrumental only (ignores lyrics). Default: false
false
Image URL for image-guided generation (will be uploaded automatically)
"https://example.com/cover.jpg"
Response
任务创建成功
任务 ID,用于后续查询结果