Get audio summary
curl --request GET \
--url https://api.example.com/v1/workflows/{id}/audioimport requests
url = "https://api.example.com/v1/workflows/{id}/audio"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/workflows/{id}/audio', 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.example.com/v1/workflows/{id}/audio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/workflows/{id}/audio"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/workflows/{id}/audio")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/workflows/{id}/audio")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyAudio
Get audio summary
Derived per-clip audio model. Single source of truth = (nodes, edges).
GET
/
v1
/
workflows
/
{id}
/
audio
Get audio summary
curl --request GET \
--url https://api.example.com/v1/workflows/{id}/audioimport requests
url = "https://api.example.com/v1/workflows/{id}/audio"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/workflows/{id}/audio', 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.example.com/v1/workflows/{id}/audio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/workflows/{id}/audio"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/workflows/{id}/audio")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/workflows/{id}/audio")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyReturns the audio state of every
videoGenerator clip in the workflow.
The audio_tracks array is derived from the workflow’s nodes and edges
on every read, agents that attach tracks via POST tracks
see them here immediately without waiting for the canvas to run propagation.
string
required
Workflow id.
Response
{
"workflow_id": "wf_xyz",
"schema_version": 1,
"clips": [
{
"clip_id": "vid1",
"prompt": "...",
"duration": 5,
"native_audio": { "mode": "mix", "volume": 1 },
"audio_tracks": [
{
"track_id": "tr_a1b2c3d4e5f6",
"source_node_id": "vo_xyz",
"target_clip_id": "vid1",
"kind": "voiceover",
"url": "https://.../voice.mp3",
"startTime": 0,
"duration": 5,
"volume": 1,
"muted": false,
"ducking": false,
"subtitleStyle": "tiktok",
"transcribedWords": [{ "word": "Hello", "start": 0.1, "end": 0.4 }]
}
]
}
]
}
native_audio modes
| Mode | Meaning |
|---|---|
off | Strip the clip’s baked audio entirely. |
native | Use only the video model’s baked dialogue and sound effects. |
mix | Blend the model’s native audio with the attached tracks. |
Was this page helpful?
⌘I