Skip to content

Voices and speech Coming soon

Video voices today; text to speech, voice design and cloning are coming soon.

As Markdown (for AI)OpenAPI

Contents and all reference pages

Coming soon: this feature is not available yet. Here is how it will work.

GET /voices already returns the video voices for templates. Text to speech (/speech), models, voice design, the pronunciation dictionary and voice clones are built but still behind a switch – they are coming soon. While the switch is off, these endpoints answer 404.

This page describes every endpoint as it runs once switched on: fields, limits, test mode and billing per 1,000 characters.

What works today

While a switch is off, the endpoints answer 404 not_found, as if they did not exist. GET /voices then only returns the video voices.

PartEndpointsState
Video voicesGET /voices (scope templates:read)available today
Text to speech, models, library, voice design, pronunciation/speech…, /models, /voices/{id}, /voices/design, POST /voices, /pronunciationscoming soon – switch “voice via the API”
Voice clone/voices/clones…coming soon – separate switch, scope voices:write

Video voices for templates

Put these voices into POST /videos as voice. Each entry has id, object: "voice", name (English), languages (de, en), gender and default.

idNamegender
klar-wClear (female) – defaultfemale
klar-mClear (male)male
locker-mRelaxed (male)male
ruhig-mCalm (male)male
erzaehlend-wStorytelling (female)female

Voice library: GET /voices and GET /voices/{id}

With the scope voices:read and the switch on, GET /voices also returns the library and your voices; they carry usage: "speech". Filters: language, gender (female, male, neutral), tone, engine, favorite=true.

Fields: id, name, languages, gender, type (library, designed, cloned), owned, engine, model (default model of the voice), tone, tags, folder, favorite, description, preview_url (sample, valid 1 hour), usable, ai_label and created_at. ai_label is required for cloned voices: a visible AI notice is then mandatory.

Models and price: GET /models

Returns the enabled speech models with id, name, description, languages, capabilities (voice_design, custom_voices), pricing, limits and credit_covers_characters. Scope: voices:read.

pricing gives the price per 1,000 characters: unit: "characters", per (reference amount), price_eur, minimum_characters and billed_in: "whole_cents_rounded_up" – billing is in whole cents, rounded up. limits.max_characters_per_request is 20,000, 300 in test mode.

Prices are deliberately not listed here: they always come current from GET /models and POST /speech/estimate.

Text to speech: POST /speech

POST /speech/estimate with text, voice_id and model returns, free of charge, characters, billable_characters, cost (cents, exact_eur), too_long and max_characters.

POST /speech creates a job (202) and returns the speech object. Send an Idempotency-Key, then a repeat creates no second job. The amount is charged at the start from the API account’s balance; if the job fails on our side, it is refunded. Scope: speech:write.

Status: queued, processing, completed, failed, rejected (text rejected, reason in rejection_category). Poll GET /speech/{id} or subscribe to speech.completed and speech.failed. GET /speech lists jobs, newest first (limit, cursor).

FieldMeaning
textrequired; up to 20,000 characters, 300 in test mode
voice_idrequired: id of a voice with usage: "speech"
modeloptional; default is the voice’s model
languagede or en; default is the voice’s language
speed, expressivenessoptional: controls for pace and liveliness
curl
# 1. price first (free)
curl -X POST https://flow-marketing.org/api/turbo/v1/speech/estimate \
  -H "Authorization: Bearer $FLOW_API_KEY" -H "Content-Type: application/json" \
  -d '{"text": "Willkommen bei Musterwerk.", "voice_id": "VOICE_ID"}'

# 2. start the job (202)
curl -X POST https://flow-marketing.org/api/turbo/v1/speech \
  -H "Authorization: Bearer $FLOW_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"text": "Willkommen bei Musterwerk.", "voice_id": "VOICE_ID", "language": "de"}'

# 3. status, then download link and word timings
curl https://flow-marketing.org/api/turbo/v1/speech/SPEECH_ID -H "Authorization: Bearer $FLOW_API_KEY"
curl "https://flow-marketing.org/api/turbo/v1/speech/SPEECH_ID/audio?format=wav" -H "Authorization: Bearer $FLOW_API_KEY"
curl https://flow-marketing.org/api/turbo/v1/speech/SPEECH_ID/timestamps -H "Authorization: Bearer $FLOW_API_KEY"
JavaScript
import { randomUUID } from 'node:crypto'

const BASE = 'https://flow-marketing.org/api/turbo/v1'
const H = { Authorization: 'Bearer ' + process.env.FLOW_API_KEY, 'Content-Type': 'application/json' }
const body = { text: 'Willkommen bei Musterwerk.', voice_id: voiceId, language: 'de' }

const est = await (await fetch(BASE + '/speech/estimate', { method: 'POST', headers: H, body: JSON.stringify({ text: body.text, voice_id: voiceId }) })).json()
console.log(est.cost.cents, est.too_long)

let job = await (await fetch(BASE + '/speech', { method: 'POST', headers: { ...H, 'Idempotency-Key': randomUUID() }, body: JSON.stringify(body) })).json()
while (job.status === 'queued' || job.status === 'processing') {
  await new Promise((r) => setTimeout(r, 2000))
  job = await (await fetch(BASE + '/speech/' + job.id, { headers: H })).json()
}
if (job.status === 'completed') {
  const audio = await (await fetch(BASE + '/speech/' + job.id + '/audio?format=mp3', { headers: H })).json()
  const ts = await (await fetch(BASE + '/speech/' + job.id + '/timestamps', { headers: H })).json()
  console.log(audio.url, ts.subtitles && ts.subtitles.srt)
}
Python
import os, time, uuid, requests

BASE = "https://flow-marketing.org/api/turbo/v1"
H = {"Authorization": "Bearer " + os.environ["FLOW_API_KEY"]}
body = {"text": "Willkommen bei Musterwerk.", "voice_id": voice_id, "language": "de"}

est = requests.post(BASE + "/speech/estimate", headers=H, json={"text": body["text"], "voice_id": voice_id}, timeout=30).json()
print(est["cost"]["cents"], est["too_long"])

job = requests.post(BASE + "/speech", headers={**H, "Idempotency-Key": str(uuid.uuid4())}, json=body, timeout=30).json()
while job["status"] in ("queued", "processing"):
    time.sleep(2)
    job = requests.get(BASE + "/speech/" + job["id"], headers=H, timeout=30).json()
if job["status"] == "completed":
    audio = requests.get(BASE + "/speech/" + job["id"] + "/audio", params={"format": "mp3"}, headers=H, timeout=30).json()
    ts = requests.get(BASE + "/speech/" + job["id"] + "/timestamps", headers=H, timeout=30).json()
    print(audio["url"], (ts["subtitles"] or {}).get("srt"))
Speech object (shortened)
{
  "id": "...",
  "object": "speech",
  "status": "completed",
  "voice_id": "...",
  "model": "...",
  "language": "de",
  "characters": 26,
  "cost": { "cents": 1, "currency": "eur", "charged": true, "livemode": true },
  "formats": ["mp3", "wav", "ogg"],
  "has_timestamps": true,
  "duration_seconds": 1.9,
  "watermark": "...",
  "warning": null,
  "rejection_category": null,
  "ai_label": "recommended",
  "livemode": true,
  "created_at": "2026-11-22T09:00:00.000Z",
  "completed_at": "2026-11-22T09:00:04.000Z"
}

Test mode

With a test key, speech is free, at most 300 characters per job, and every text starts with the announcement “This is a test recording by Flow Marketing.” (German: “Dies ist eine Testaufnahme von Flow Marketing.”).

Audio and word timings

GET /speech/{id}/audio?format=mp3 (or wav, ogg) returns a signed download link: url, filename, content_type, expires_in_s (3,600 = 1 hour). The job’s formats lists which formats exist.

GET /speech/{id}/timestamps returns duration_seconds, words (word, start, end in seconds) and subtitles with ready-made SRT and WebVTT text.

Voice design: POST /voices/design

Describe a voice in words: description, optionally text to read out and language. The answer (201) contains id, description, cost and three proposals in previews – each a speech object to listen to. At most 50 designs per day. Scope: voices:write; counts as an expensive call.

If you like a proposal, save it with POST /voices (preview_id, name, optional tags). PATCH /voices/{id} changes name, favorite, folder and tags; DELETE /voices/{id} deletes a saved voice.

Pronunciation dictionary: /pronunciations

GET /pronunciations (scope voices:read) returns all entries. PUT /pronunciations (scope speech:write) replaces the whole dictionary, for example with {"entries": [{"word": "Musterwerk", "pronunciation": "Muster-Werk", "language": "de", "case_sensitive": false}]}.

At most 500 entries; word 1–80 characters, pronunciation 1–200 characters, language is de, en or all. Each word may appear only once per language. The dictionary applies to every speech job of the account; pronunciations pass the same text filter as any text.

Voice clone: /voices/clones

A voice modelled on a real person – only with that person’s own consent. The key needs the scope voices:write (never in the default set), and the API account must belong to a customer account (otherwise 403 customer_account_required). At most 5 clones per company (409 limit_reached).

GET /voices/clones lists, GET /voices/clones/{id} shows the state, DELETE /voices/clones/{id} withdraws and deletes all files.

  1. POST /voices/clones with name, person_name (full name, 2–80 characters) and optionally language. The answer contains consent_url once (valid 7 days).
  2. The person opens the link themselves, consents and records a sentence with a random code. The API customer cannot do this for them.
  3. Upload material: POST /voices/clones/{id}/uploads with content_type (audio/wav, audio/mpeg, audio/mp4, audio/webm, audio/ogg) returns file_id and a PUT address (15 minutes, up to 60 MB per file).
  4. POST /voices/clones/{id}/uploads/{file_id}/complete with seconds checks file type and size and counts the seconds (up to 1,800 in total, at most 20 files).
  5. POST /voices/clones/{id}/submit: needs consent, the voice check and at least 60 seconds of material (otherwise 409 consent_missing or not_enough_material). Then status: "in_review"; Motion ToGo reviews and approves.
StatusMeaning
awaiting_consentcreated, consent or material still missing
in_reviewsent for review
approvedapproved
declineddeclined; reason in decline_reason
withdrawnwithdrawn, all files deleted
curl
# 1. create → consent_url (shown once, valid 7 days) – send it to the person
curl -X POST https://flow-marketing.org/api/turbo/v1/voices/clones \
  -H "Authorization: Bearer $FLOW_API_KEY" -H "Content-Type: application/json" \
  -d '{"name": "Anna Studio", "person_name": "Anna Beispiel", "language": "de"}'

# 2. signed upload URL for material (PUT, 15 minutes)
curl -X POST https://flow-marketing.org/api/turbo/v1/voices/clones/CLONE_ID/uploads \
  -H "Authorization: Bearer $FLOW_API_KEY" -H "Content-Type: application/json" \
  -d '{"content_type": "audio/wav"}'
curl -X PUT "$UPLOAD_URL" -H "Content-Type: audio/wav" --data-binary @aufnahme.wav

# 3. count the file (seconds of speech)
curl -X POST https://flow-marketing.org/api/turbo/v1/voices/clones/CLONE_ID/uploads/FILE_ID/complete \
  -H "Authorization: Bearer $FLOW_API_KEY" -H "Content-Type: application/json" \
  -d '{"seconds": 95}'

# 4. send for review (needs consent + voice check + at least 60 s)
curl -X POST https://flow-marketing.org/api/turbo/v1/voices/clones/CLONE_ID/submit \
  -H "Authorization: Bearer $FLOW_API_KEY"
JavaScript
const BASE = 'https://flow-marketing.org/api/turbo/v1/voices/clones'
const H = { Authorization: 'Bearer ' + process.env.FLOW_API_KEY, 'Content-Type': 'application/json' }

const clone = await (await fetch(BASE, { method: 'POST', headers: H, body: JSON.stringify({ name: 'Anna Studio', person_name: 'Anna Beispiel', language: 'de' }) })).json()
console.log('send to the person:', clone.consent_url, clone.consent_url_expires_at)

const up = await (await fetch(BASE + '/' + clone.id + '/uploads', { method: 'POST', headers: H, body: JSON.stringify({ content_type: 'audio/wav' }) })).json()
await fetch(up.upload_url, { method: up.method, headers: up.headers, body: wavBuffer })
await fetch(BASE + '/' + clone.id + '/uploads/' + up.file_id + '/complete', { method: 'POST', headers: H, body: JSON.stringify({ seconds: 95 }) })

const res = await fetch(BASE + '/' + clone.id + '/submit', { method: 'POST', headers: H })
console.log(res.status, (await res.json()).status) // 'in_review' or 409 consent_missing / not_enough_material
Python
import os, requests

BASE = "https://flow-marketing.org/api/turbo/v1/voices/clones"
H = {"Authorization": "Bearer " + os.environ["FLOW_API_KEY"]}

clone = requests.post(BASE, headers=H, json={"name": "Anna Studio", "person_name": "Anna Beispiel", "language": "de"}, timeout=30).json()
print("send to the person:", clone["consent_url"], clone["consent_url_expires_at"])

up = requests.post(BASE + "/" + clone["id"] + "/uploads", headers=H, json={"content_type": "audio/wav"}, timeout=30).json()
requests.put(up["upload_url"], data=open("aufnahme.wav", "rb").read(), headers=up["headers"], timeout=300).raise_for_status()
requests.post(BASE + "/" + clone["id"] + "/uploads/" + up["file_id"] + "/complete", headers=H, json={"seconds": 95}, timeout=30)

r = requests.post(BASE + "/" + clone["id"] + "/submit", headers=H, timeout=30)
print(r.status_code, r.json().get("status") or r.json().get("code"))

Note: The clone answer does not show yet whether an approved clone can be picked for speech jobs: usable is always false there today. Nothing is charged before a clone is usable.

Did this help?

Still have a question?

Mo is an AI and answers right away from these articles. A person on our team replies within 24 hours on business days.

Some services degraded
Create a videoNo subscription needed · cancel any time