public-api

儲存用戶偏好設定

儲存或更新用戶偏好。僅傳入需更新的欄位,未傳入的欄位不受影響。 Agent 在偵測到用戶偏好(如指定風格、語音、語言)時應自動呼叫此 API。

可設定的偏好:
- style: 簡報風格 (professional / playful / minimalist)
- tts_provider: 語音供應商 (gemini / cosyvoice / azure)
- tts_voice: 語音名稱
- language: 語言 (zh-TW / zh-CN / en / ja)
- image_size: 圖片解析度 (1K / 2K / 4K)
- slides_count: 預設投影片數量
put/api/v1/public/preferences

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/preferences
  • Auth: none declared

Headers

Authorizationstring nullable
X-API-Keystring nullable

Request body

style'professional' | 'playful' | 'minimalist' nullable
tts_provider'gemini' | 'cosyvoice' | 'azure' nullable
tts_voicestring nullable
language'zh-TW' | 'zh-CN' | 'en' | 'ja' nullable
image_size'1K' | '2K' | '4K' nullable
slides_countinteger nullable

Response

Successful Response

stylestring nullable
tts_providerstring nullable
tts_voicestring nullable
languagestring nullable
image_sizestring nullable
slides_countinteger nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.