Direct a narration draft
POST
https://api.vidmoat.com/v1/speech/directionsBearer tokenScope
speech.generatepricing.direction credits from capabilitiesTry it in the playgroundSubmit a recoverable narration drafting request. Returns a job ID; poll the existing generation status endpoint. Success proposes reply, script and speed with applied:false and audioGenerated:false. Review with the person before creating a speech generation. No publishing or consent action is available.
Body#
voiceIdstringrequiredA ready own or published creator voice.briefstringrequiredYour direction, 1 to 2,000 characters.currentScriptstringOptional existing script, up to 8,000 Unicode characters.speednumberCurrent pace, 0.75 to 1.25.expressionnumberOptional current delivery intensity, 0 to 1, only when capabilities.settings.expression is present.
Response#
Returns 202.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 409 | conflict | The idempotency key belongs to different inputs, or the job is not in the required state. |
| 503 | unavailable | Inference, private storage, configured pilot billing or the limiter is unavailable. Nothing new is charged before admission. |