Flow API · 2026-11-20

Doku der Flow API

Alles, um in fünf Minuten das erste Video zu bauen.

Schnellstart

Basis-Adresse: https://flow-marketing.org/api/turbo/v1

Konto anlegen und Test-Schlüssel erzeugen: /konto/api

Im Testmodus ist alles kostenlos (720p, Wasserzeichen). Live-Schlüssel bauen echte Filme und rechnen je Sekunde ab.

Authentifizierung

Jede Anfrage braucht den Kopf Authorization: Bearer fm_test_…

Schlüssel beginnen mit fm_test_ oder fm_live_. Wir zeigen sie nur einmal und speichern nur einen Hash. Schlüssel nie im Browser oder in einer App ausliefern – nur auf Ihrem Server. Verloren oder öffentlich? Im Konto sperren und neu erzeugen.

Vorlagen auflisten

Jede Vorlage hat ein Feld-Schema (JSON Schema) mit Grenzen. Heute verfügbar:

produkt-launchProdukt-Neuheit – Neues Produkt oder neue Funktion in 20–30 Sekunden
release-notesRelease-Video – Was ist neu in Version X – aus dem Changelog
zahlen-updateZahlen & Erfolge – Kennzahl, Vergleich als Diagramm, Fazit
stellenanzeigeWir stellen ein – Stelle in 25 Sekunden: Hook, Aufgaben, Vorteil, Bewerben
event-einladungEinladung – Messe, Webinar, Tag der offenen Tür
kunden-zitatKundenstimme – Echtes, freigegebenes Zitat mit Namen und Ergebnis
erklaer-schritteSo funktioniert’s – Erklärfilm in drei Schritten
angebot-aktionAngebot – Neues Paket oder Aktion – ehrlich, ohne Druck
curl https://flow-marketing.org/api/turbo/v1/templates \
  -H "Authorization: Bearer fm_test_…"

Video erstellen

Mit fields kommt die Antwort sofort als Entwurf mit Vorschau-Link und Prüf-Ampel. Mit render: true startet gleich der Render (live wird der Preis beim Start abgebucht). Statt fields geht auch brief: ein Satz, die KI füllt die Felder.

curl https://flow-marketing.org/api/turbo/v1/videos \
  -H "Authorization: Bearer fm_test_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "template": "release-notes",
  "language": "de",
  "formats": [
    "16x9",
    "9x16"
  ],
  "fields": {
    "produkt": "Musterwerk",
    "version": "4.2",
    "hook": "Weniger tippen, mehr schaffen",
    "neu": [
      "Belege per Foto",
      "Export nach DATEV",
      "Dunkler Modus"
    ],
    "code": "npm install musterwerk@4.2",
    "kennzahl": 2,
    "kennzahl_einheit": "×",
    "kennzahl_text": "schnellere Suche",
    "quelle_url": "https://example.com/changelog",
    "cta": "Jetzt updaten"
  },
  "render": true
}'

Status und Webhooks

Ein Render läuft als Auftrag: queued → rendering → checking → succeeded (oder failed/canceled). Abfragen mit ?wait=30 (wartet bis zu 30 s auf eine Änderung) oder per Webhook. Webhooks sind signiert nach „Standard Webhooks“ (Kopf webhook-signature), Wiederholung 8-mal über etwa 24 Stunden.

# wartet bis zu 30 s auf eine Statusänderung
curl "https://flow-marketing.org/api/turbo/v1/renders/rnd_…?wait=30" \
  -H "Authorization: Bearer fm_test_…"

Ereignisse

video.draft_ready · video.fill_failed · video.rendering · video.ready · video.failed · video.canceled · image.ready · image.failed · brand.ready · brand.failed · asset.ready · asset.rejected · batch.completed · balance.low · balance.topped_up · spending_limit.warning · spending_limit.reached · api_key.exposed · speech.completed · speech.failed · test.ping

import { Webhook } from 'standardwebhooks'

// Express: Roh-Körper nötig (express.raw)
app.post('/flow-webhook', express.raw({ type: 'application/json' }), (req, res) => {
  const wh = new Webhook(process.env.FLOW_WEBHOOK_SECRET) // whsec_…
  const event = wh.verify(req.body, req.headers) // wirft bei falscher Signatur
  if (event.type === 'video.ready') console.log(event.data.object.id)
  res.sendStatus(200)
})

Fehler

Fehler kommen als application/problem+json (RFC 9457). code bleibt stabil. detail sagt in einem Satz, was passiert ist, ob etwas berechnet wurde und was zu tun ist. request_id hilft uns beim Suchen.

{
  "type": "https://flow-marketing.org/entwickler/doku/fehler#insufficient_balance",
  "title": "Insufficient balance.",
  "status": 402,
  "code": "insufficient_balance",
  "detail": "This render costs €3.60. Available: €1.20. Nothing was reserved or charged – top up at least €2.40.",
  "request_id": "req_…",
  "doc_url": "https://flow-marketing.org/entwickler/doku/fehler#insufficient_balance",
  "missing_cents": 240
}
CodeHTTPBedeutung und Lösung
invalid_json400Der Körper ist kein gültiges JSON. Prüfen Sie Anführungszeichen und Kommas.
invalid_parameter400Ein Parameter ist falsch. errors[] nennt das Feld als JSON-Pointer.
missing_api_key401Kein Schlüssel. Senden Sie Authorization: Bearer fm_test_….
invalid_api_key401Schlüssel ungültig, gesperrt oder abgelaufen. Neuen Schlüssel im Konto erzeugen.
missing_scope403Dem Schlüssel fehlt ein Recht (z. B. videos:write).
account_locked403Das Konto ist gesperrt. Bitte schreiben Sie uns.
insufficient_balance402Guthaben reicht nicht. missing_cents sagt, wie viel fehlt. Nichts wurde berechnet.
spending_limit_reached402Monatslimit (Konto oder Schlüssel) erreicht. Limit im Konto erhöhen oder Monatswechsel abwarten.
price_above_max402Der Preis liegt über max_price_cents. Nichts wurde gestartet.
not_found404Die ID gehört nicht zu diesem Konto oder Modus (Test/Live) oder es gibt sie nicht.
method_not_allowed405Diese Methode gibt es für den Pfad nicht.
idempotency_key_reused409Derselbe Idempotency-Key kam mit einer anderen Anfrage. Für neue Anfragen einen neuen Schlüssel nutzen.
idempotency_in_progress409Die erste Anfrage mit diesem Key läuft noch. Kurz warten und wiederholen.
video_busy409Das Video rendert gerade. Warten oder abbrechen.
not_renderable409Das Video kann so nicht gerendert werden (z. B. Prüf-Ampel rot).
nothing_to_cancel409Es läuft nichts, das abgebrochen werden kann.
no_correction_left409Für diese Runde ist keine kostenlose Nachbesserung mehr frei. Ein neuer Render wird zum Preis der Preisliste berechnet.
payload_too_large413Anfrage zu groß (höchstens 64 KB).
unsupported_media_type415Bitte Content-Type: application/json senden.
validation_failed422Felder passen nicht zur Vorlage. errors[] nennt jedes Feld mit Grenze und Ist-Wert.
pre_render_check_red422Die Vorab-Prüfung ist rot (z. B. Text zu lang). Feld kürzen und erneut senden.
content_rejected422Inhalt verstößt gegen die Nutzungsregeln.
foreign_brand422Fremde Marke ohne Erlaubnis erkannt.
webhook_url_not_allowed422Webhook-Adresse muss öffentlich und https sein.
rate_limited429Zu viele Anfragen. Retry-After sagt, wann es wieder geht.
concurrency_limit429Zu viele Renders gleichzeitig. Einen abwarten.
daily_test_limit429Tagesgrenze für Test-Renders erreicht. Morgen geht es weiter.
daily_preview_limit429Tagesgrenze für Vorschauen erreicht.
daily_ai_limit429Tageslimit für KI-Füllungen erreicht. Morgen wieder oder Felder selbst füllen.
fill_failed422Die KI konnte aus dem Satz keine gültigen Felder machen. Felder selbst senden.
ai_unavailable503Die KI zum Füllen ist kurz nicht erreichbar. Felder selbst senden oder gleich erneut versuchen. Nichts wurde berechnet.
render_failedim RenderDer Film hat die Prüfung nach den Nachbesserungen nicht bestanden. Er bleibt berechnet; einmal kostenlos neu bauen mit POST /videos/{id}/render und {"free_rebuild": true} (free_rebuild_available). Bleibt auch der Neubau rot, geht der Betrag als Guthaben zurück; Verbraucher können stattdessen die Erstattung aufs Zahlungsmittel verlangen.
render_timeoutim RenderRender zu lange. Betrag automatisch zurück; bitte erneut versuchen.
internal_error500Fehler bei uns. Mit derselben Idempotency-Key wiederholen ist sicher.
maintenance503Kurz nicht erreichbar. Nichts wurde berechnet – in einer Minute erneut.
no_free_rebuild409Kein kostenloser Neubau offen: Den gibt es einmal, wenn ein bezahlter Render in unserer Prüfung rot geblieben ist. Nichts wurde berechnet.
stylefilm_render_unavailable503Stilfilm-Renders starten in Kürze. Das Video ist angelegt und geprüft; nichts wurde berechnet – später erneut rendern.
insufficient_credits402Credits reichen nicht (Verbindung über das Flow-Konto). missing_credits sagt, wie viele fehlen. Nichts wurde gestartet oder berechnet.
upload_type422Dateityp passt nicht: Bilder und Logos als PNG, JPEG oder WebP (kein SVG), Dokumente als PPTX, PDF oder DOCX – und der Inhalt muss zur Endung passen.
upload_size422Datei leer oder zu groß (Bilder/Logos bis 15 MB, Dokumente bis 50 MB). size_bytes muss genau stimmen.
upload_missing409Die Datei ist noch nicht hochgeladen – erst per PUT an upload_url, dann abschließen.
upload_state409Dieser Upload lässt sich nicht mehr abschließen. Bitte neu anlegen.
upload_virus422Der Virenscanner hat etwas gefunden. Die Datei ist gelöscht.
upload_scan_unavailable503Die Virenprüfung ist gerade nicht möglich. Die Datei bleibt in der Quarantäne – in einer Minute erneut abschließen.
daily_upload_limit429Höchstens 200 Uploads je Tag (UTC). Löschen gibt keine frei – morgen geht es weiter.
upload_busy409Dieser Upload wird gerade geprüft. In ein paar Sekunden mit GET /uploads/{id} nachsehen.
upload_concurrency429Höchstens 3 Prüfungen gleichzeitig je Konto. In ein paar Sekunden erneut abschließen – die Datei bleibt in der Quarantäne.
upload_image_too_large422Das Bild hat zu viele Bildpunkte (höchstens 50 Megapixel). Bitte verkleinern.
upload_image_invalid422Das Bild lässt sich nicht lesen. Bitte als normales PNG, JPEG oder WebP speichern.
image_not_allowed422Das Bild zeigt Nacktheit, eine sexuelle oder intime Darstellung und ist nicht erlaubt (Bildprüfung, API-Bedingungen § 9b). Die Datei ist gelöscht.
image_check_unavailable503Die Bildprüfung ist gerade nicht möglich. Die Datei bleibt in der Quarantäne – in einer Minute erneut abschließen.
upload_image_check_unavailable503Die Bildprüfung ist gerade nicht möglich. Die Datei bleibt in der Quarantäne – in einer Minute erneut abschließen.
payments_not_open503Aufladen per Karte oder Lastschrift startet in Kürze. Nichts wurde berechnet.
business_only409Die Flow API ist nur für Unternehmen.
tax_case_blocked409Aufladen geht so nicht: außerhalb der EU ist die API derzeit nicht buchbar. reason nennt den Grund. Nichts wurde berechnet.
internal_account409Interne Konten laden nicht auf.
checkout_unavailable502Die Bezahlseite ließ sich nicht öffnen. Bitte noch einmal versuchen. Nichts wurde berechnet.
invalid_threshold422Die Schwelle fürs Auto-Aufladen liegt außerhalb der erlaubten Spanne.
invalid_cap422Die Monats-Obergrenze muss mindestens so hoch sein wie ein Nachlade-Betrag.
no_payment_method409Für Auto-Aufladen zuerst einmal aufladen und „Zahlungsart merken“ wählen.
reason_required422Bitte einen Grund angeben.
not_refundable409Nur bezahlte, noch nicht erstattete Aufladungen lassen sich erstatten.
balance_used409Verbrauchtes Guthaben wird nicht erstattet – höchstens das noch freie.
no_payment409Zu dieser Aufladung gibt es keine passende Zahlung. Eine Erstattung geht dann per Überweisung.
consumer_only409Die Erstattung aufs Zahlungsmittel statt der Gutschrift gilt für Verbraucher. Bei Firmen bleibt die Gutschrift auf dem Guthaben.
invalid_month422Monat als JJJJ-MM angeben.
invalid_tariff422Mindestens ein Tarif ist ungültig.
confirmation_required403Diese Änderung braucht ein Bestätigungswort.
insufficient_tokens402Zu wenig Token für diese Aktion (KI-Medien). Token aufladen und erneut versuchen – es wurde nichts berechnet.
price_changed409Der Preis hat sich seit der Schätzung geändert. Neu schätzen und den neuen Preis bestätigen.
tokens_required409KI-Medien werden nur in Token abgerechnet; diese Verbindung nutzt noch Credits. Nichts wurde erzeugt oder berechnet.
customer_account_required403Nur mit einem Kundenkonto (Firma oder Privatperson).
limit_reached409Obergrenze erreicht (z. B. Stimmen oder Avatare je Firma, Dateien je Aufnahme). Altes löschen oder uns schreiben.
not_editable409Schon zur Prüfung gesendet – nicht mehr änderbar.
invalid_file422Datei leer, zu groß oder Dateiart nicht erkannt.
too_long422Das Material ist insgesamt zu lang.
not_enough_material409Zu wenig Material. min_material_seconds nennt die nötige Länge.
pricing_not_set402Für Live-Renders ist gerade kein Preis eingestellt. Bitte Testmodus nutzen oder uns schreiben. Nichts wurde berechnet.

Idempotenz

Senden Sie bei jedem POST und PATCH einen Idempotency-Key (z. B. eine UUID). Dieselbe Anfrage mit demselben Key gibt 24 Stunden lang dieselbe Antwort zurück (Kopf Idempotent-Replayed: true) – so entsteht bei einem Netzfehler nie ein doppelter Film. Gleicher Key mit anderem Körper: 409 idempotency_key_reused.

Limits

Live je Minute600 lesen · 120 schreiben · 60 Renders
Test je Minute120 lesen · 30 schreiben · 20 Renders
Test je Tag25 Test-Renders · 500 Vorschauen
Längster Film180 s
Körperhöchstens 64 KB
Monatslimit1.000 € voreingestellt (im Konto änderbar)
KopfzeilenRateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, bei 429 Retry-After

KI-Assistenten (MCP)

KI-Assistenten (z. B. Claude, Cursor) nutzen die API über unseren MCP-Server: Vorlagen auflisten, Preis schätzen, Video erstellen, rendern, Status. Er nutzt Ihren Schlüssel – gleiche Rechte, Grenzen und Preise wie die API. Für den Anfang einen Test-Schlüssel eintragen. Claude, ChatGPT und andere KI-Apps verbinden sich ohne Schlüssel per OAuth über https://flow-marketing.org/mcp – Anleitung unter /entwickler/mcp.

{
  "mcpServers": {
    "flow-marketing": {
      "type": "http",
      "url": "https://flow-marketing.org/api/turbo/mcp",
      "headers": {
        "Authorization": "Bearer fm_test_…"
      }
    }
  }
}

Referenz

Alle Endpunkte aus der OpenAPI-Datei. Texte der Referenz auf Englisch.

Templates

GET/templatestemplates:read

List templates with their field schema

GET/templates/{id}templates:read

One template – field schema (JSON Schema 2020-12), styles, example, example preview

  • id (path)

Voices

GET/voicestemplates:read

Voices: template voices for videos, plus library and your own voices for speech

Always returns the template voices used by videos (usage absent). When speech is enabled for your account and the key has voices:read, the list also contains the voice library and your own voices (usage: speech). There is no limit on the number of your own voices.

  • language (query)
  • gender (query)
  • tone (query)
  • engine (query) – eu = our own voice AI (computed in the EU), premium = Premium voices. Older values are still accepted.
  • favorite (query)
POST/voicesvoices:write

Save a design preview as your own voice (free)

GET/voices/{id}voices:read

Get a voice

PATCH/voices/{id}voices:write

Rename, tag, move to a folder or mark as favourite

Library voices can only be marked as favourite.

DELETE/voices/{id}voices:write

Delete one of your own voices

POST/voices/designvoices:write

Design a voice from a description (3 previews)

Describe the voice without naming real people (“warm female voice, calm, mid-thirties”). Descriptions that name or imitate a real person are rejected. The three previews are short speech jobs and are charged like spoken characters (our own voice AI). Poll each preview with GET /speech/{id}, listen via GET /speech/{id}/audio, then save one with POST /voices. At most 50 designs per day.

Videos

POST/videosvideos:write

Create a video from a template (fields or brief) – returns a checked preview at once

Exactly one of fields or brief. With fields the answer is 201 with status draft in under a second. With brief our AI fills the fields first; the answer is also 201 with the filled draft (422 if the brief cannot be filled, 503 if the AI is briefly unavailable – nothing is charged then). render: true starts the export right away (live mode reserves the estimated price).

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
Beispiel-Körper
{
  "template": "release-notes",
  "language": "de",
  "formats": [
    "16x9",
    "9x16"
  ],
  "brand": {
    "website": "kontoro.de"
  },
  "fields": {
    "produkt": "Kontoro",
    "version": "4.2",
    "neu": [
      "Belege per Foto erfassen",
      "Export nach DATEV",
      "Suche doppelt so schnell"
    ],
    "cta": "Jetzt updaten"
  }
}
GET/videosvideos:read

List videos (newest first)

  • limit (query)
  • cursor (query) – next_cursor of the previous page
  • status (query)
GET/videos/{id}videos:read

Get a video with preview link, quality and latest render

  • wait (query) – Long-poll – hold the request up to this many seconds until the status changes
PATCH/videos/{id}videos:write

Change fields, style, formats, voice or brand – creates a new revision and a new preview

Free before rendering. After a green render one correction is included (re-render, no new charge).

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
DELETE/videos/{id}videos:write

Delete the video, its files and its texts (GDPR erasure); invoices and usage rows stay

POST/videos/{id}/rendervideos:write

Start the export render

Live mode reserves the estimated price when the render starts. Green: it stays charged. Red after our automatic repairs: it stays charged and the video gets one free rebuild (free_rebuild_available); if that rebuild stays red too, the amount of the paid round is credited back to your balance (consumers can request a refund to their payment method instead, portal → Billing). Returns the render job. Refused with 422 pre_render_check_red when the preview check is red and with 402 price_above_max when the estimate exceeds max_price_cents – nothing is charged then.

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
POST/videos/{id}/cancelvideos:write

Cancel the running render of this video (alias of POST /renders/{id}/cancel)

Queued: the reservation is released, nothing is charged. Already rendering: may stay charged (see charge on the render). Not possible while the render is being checked (409 video_busy).

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
GET/videos/{id}/planvideos:read

Scene graph the renderer uses (scenes, elements, narration, sound cues, per-format layout)

GET/videos/{id}/reportvideos:read

Quality report – pre-render checks and, after rendering, the measured checks of the files

POST/videos/from-documentvideos:write

Create a video from a read document – slide by slide, re-animated in the Flow style

Builds a checked preview at once (template dokument-film, status draft): title, one scene per chosen slide (statement, list, number, bars from charts/tables, image stage) and an ending. Speaker notes become the narration. Change texts afterwards with PATCH /videos/{id} (fields.folien). Billing like every video: per second of the finished film; red stays charged with one free rebuild, like every render.

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
Beispiel-Körper
{
  "document_id": "dok_8fK2pQ9xLm3NvB7tR1aZ",
  "target_duration_s": 45,
  "formats": [
    "16x9",
    "9x16"
  ],
  "brand": {
    "name": "Musterwerk",
    "colors": {
      "primary": "#C26A2B"
    }
  }
}

Renders

GET/rendersvideos:read

List render jobs

  • limit (query)
  • cursor (query) – next_cursor of the previous page
  • status (query)
  • video_id (query)
GET/renders/{id}videos:read

One render job – status, progress, files, quality, charge

  • wait (query) – Long-poll – hold the request up to this many seconds until the status changes
POST/renders/{id}/cancelvideos:write

Cancel a queued or rendering render

Queued: the reservation is released, nothing is charged. Already rendering: may stay charged (see charge on the render). Not possible while the render is being checked (409 video_busy).

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.

Webhooks

POST/webhookswebhooks:manage

Create an endpoint – the signing secret is returned once

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
GET/webhookswebhooks:manage

List webhook endpoints

GET/webhooks/{id}webhooks:manage

Get a webhook endpoint

PATCH/webhooks/{id}webhooks:manage

Change URL, events or pause an endpoint

DELETE/webhooks/{id}webhooks:manage

Delete a webhook endpoint

POST/webhooks/{id}/rotate_secretwebhooks:manage

New signing secret; the old one keeps signing in parallel for 24 h (two signatures in the header)

POST/webhooks/{id}/testwebhooks:manage

Send a realistic example of any event type now and return the delivery result

GET/webhooks/{id}/deliverieswebhooks:manage

Delivery log of an endpoint (30 days)

  • limit (query)
POST/webhooks/{id}/deliveries/{delivery_id}/retrywebhooks:manage

Send one delivery again now

Billing

POST/estimatesvideos:read

Exact price and expected duration before creating anything – free, nothing is stored

GET/balanceusage:read

Balance, reservations, plan allowance, monthly limit

GET/usageusage:read

Usage per day and template (speech jobs per model)

Rows for videos are grouped by template. When speech is enabled, speech jobs appear as additional rows with group speech:<model> and the fields speech_jobs, characters, audio_seconds.

  • days (query)

Voice clones

GET/voices/clonesvoices:write

List voice clones

POST/voices/clonesvoices:write

Create a voice clone and get the consent link

The person whose voice or face it is must open consent_url themselves, read the consent text, type their full name, confirm and record a sentence with a random code in the browser (microphone or camera). The API customer cannot give consent on their behalf. Every profile is reviewed by Motion ToGo before it can be used; outputs carry a machine-readable AI marking, avatar films a visible AI label. Withdrawal via DELETE or the person’s own link deletes all files.

GET/voices/clones/{id}voices:write

Get a voice clone

DELETE/voices/clones/{id}voices:write

Withdraw a voice clone and delete all files

POST/voices/clones/{id}/uploadsvoices:write

Get a signed upload URL for training material (PUT, 15 minutes)

POST/voices/clones/{id}/uploads/{file_id}/completevoices:write

Check an uploaded file (type and size) and count its seconds

POST/voices/clones/{id}/submitvoices:write

Send for review (needs the person’s consent, voice check and enough material)

Avatars

GET/avatarsavatars:write

List avatars

POST/avatarsavatars:write

Create a avatar and get the consent link

The person whose voice or face it is must open consent_url themselves, read the consent text, type their full name, confirm and record a sentence with a random code in the browser (microphone or camera). The API customer cannot give consent on their behalf. Every profile is reviewed by Motion ToGo before it can be used; outputs carry a machine-readable AI marking, avatar films a visible AI label. Withdrawal via DELETE or the person’s own link deletes all files.

GET/avatars/{id}avatars:write

Get a avatar

DELETE/avatars/{id}avatars:write

Withdraw a avatar and delete all files

POST/avatars/{id}/uploadsavatars:write

Get a signed upload URL for training material (PUT, 15 minutes)

POST/avatars/{id}/uploads/{file_id}/completeavatars:write

Check an uploaded file (type and size) and count its seconds

POST/avatars/{id}/submitavatars:write

Send for review (needs the person’s consent, voice check and enough material)

Documents

POST/documentsvideos:write

Start a document upload (PowerPoint, PDF, Word) – returns a signed upload URL

1. POST /documents with file name and size → upload_url. 2. PUT the file to upload_url with upload_headers. 3. POST /documents/{id}/complete – we check the file type, scan it for viruses and read it on our servers (no macros are run, the file goes to no third party). 4. POST /videos/from-document. Reading and previews are free. Max 50 MB, 30 documents per day.

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
Beispiel-Körper
{
  "filename": "quarterly-update.pptx",
  "size_bytes": 2483120
}
GET/documents/{id}videos:read

Document status and what we read (structure only)

DELETE/documents/{id}videos:write

Delete the document with its images

POST/documents/{id}/completevideos:write

Finish the upload: type check, virus scan, read slides/pages

Synchronous (usually 1–10 s). Errors are honest and cost nothing: document_virus, document_makros, document_typ, document_kaputt, document_leer, document_verschluesselt, document_scan (503, retry in a minute).

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.

Speech

GET/modelsvoices:read

Voice models with price per 1,000 characters

POST/speech/estimatespeech:write

Price before you start – free

GET/speechspeech:write

List speech jobs, newest first

  • limit (query)
  • cursor (query) – next_cursor of the previous page
POST/speechspeech:write

Turn text into speech (async job)

Charged from your balance when the job starts (whole cents, rounded up; minimum 100 characters). If it fails on our side, the amount is released automatically. Texts are checked before anything is generated: fraud scripts, threats, intimate content, election deception and impersonation of officials or well-known people are rejected with content_rejected – nothing is charged. Every audio file carries an inaudible watermark and a metadata marker; removing them is not allowed. Speech with a cloned voice has ai_label: required: you must show a visible AI notice. Test mode: free, at most 300 characters, starts with a spoken test notice.

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
GET/speech/{id}speech:write

Get a speech job

GET/speech/{id}/audiospeech:write

Signed download link for the audio file (1 hour)

  • format (query) – MP3 192 kbit/s, WAV 48 kHz or OGG.
GET/speech/{id}/timestampsspeech:write

Word timings plus ready-made SRT and WebVTT subtitles

Pronunciations

GET/pronunciationsvoices:read

Your pronunciation dictionary

PUT/pronunciationsspeech:write

Replace the whole pronunciation dictionary

Applied to the text before speaking (whole words). You are always charged for the characters of your original text.

Uploads

POST/uploadsvideos:write

Start an image, logo or document upload – returns a signed upload URL

1. POST /uploads with kind, file name and exact size → upload_url (signed, 15 min, into quarantine). 2. PUT the file to upload_url with upload_headers. 3. POST /uploads/{id}/complete – we check the file header and scan it for viruses; only a clean file leaves quarantine. 4. Use the id upl_… in image/logo fields of a template (fields, stylefilm templates) or as brand.logo / brand.logo_dark. Free. Max 200 uploads per day.

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
GET/uploadsvideos:read

List uploads (last 100)

GET/uploads/{id}videos:read

Get an upload

Status only – never the content.

  • id (path)
DELETE/uploads/{id}videos:write

Delete an upload and its file

  • id (path)
POST/uploads/{id}/completevideos:write

Complete an upload: header check + virus scan

Idempotent. A virus finding deletes the file (upload_virus). If the scanner is unavailable you get 503 upload_scan_unavailable – the file stays in quarantine, try again.

  • id (path)

Live

GET/live/agentslive:read

List live call agents

POST/live/agentslive:write

Create a live call agent (AI says it is an AI in the first sentence)

GET/live/agents/{id}live:read

Get a live call agent

PATCH/live/agents/{id}live:write

Update, activate or pause a live call agent

POST/live/agents/{id}/estimatelive:read

Price per minute before you start – connecting, phone number and test call are free

POST/live/agents/{id}/testlive:write

Link to a free test call in the browser (sign-in required)

GET/live/agents/{id}/callslive:read

Calls with duration, cost, outcome, summary and transcript link

  • limit (query)
POST/live/agents/{id}/phone_numberlive:write

Assign a number from a connected phone provider (credentials only via setup_url on the website)

DELETE/live/agents/{id}/phone_numberlive:write

Remove the phone number

GET/live/connectionslive:read

Connected phone/AI providers (read only, key hint only, setup_url)

Media

POST/media/estimatevideos:write

Price before you start – free

POST/mediavideos:write

Create an AI image, clip or print photo (costs tokens; needs confirm_tokens)

  • Idempotency-Key (header) – POST and PATCH only. Any unique string up to 200 characters (a UUID or your own order id). The first answer is stored for 24 h and replayed with the header Idempotent-Replayed: true. Same key with a different body → 409 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_progress.
GET/mediavideos:read

List AI media

GET/media/{id}videos:read

Status, download links, C2PA and rights

Recht

Es gelten die API-Bedingungen und der Vertrag zur Auftragsverarbeitung (AVV).