public-api
Public Generate Tts
為投影片生成 TTS 語音配音(非同步)。
可指定 project_id(整個專案所有投影片配音)或 slide_id(單張配音),至少擇一。 配音完成後音檔會自動附加到投影片記錄中。
選填:tts_provider(gemini/azure/cosyvoice)、voice_name(語音名稱, 可從 GET /voices 取得)、speaking_rate(語速,預設 1.0)。
錯誤:
- 422:未提供 project_id 或 slide_id(至少擇一)。
- 404:專案或投影片不存在。
- 403:該專案不屬於目前使用者。
post/api/v1/public/tts/generate
Request
- Base URL: https://api.slidemaster.tw (the document declares no server; this is the origin it was published from)
- URL: https://api.slidemaster.tw/api/v1/public/tts/generate
- Auth: none declared
Headers
Authorizationstring nullable
X-API-Keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.