Skip to main content
本頁整理 config/voicevox.php 的所有設定項目。

發佈設定檔

client 設定

client.url

  • Type: string
  • Default: 'http://127.0.0.1:50021'
  • Env: VOICEVOX_URL

client.core_version

  • Type: string|null
  • Default: null
  • Env: VOICEVOX_CLIENT_CORE_VERSION

core 設定

core.path

  • Type: string|null
  • Default: null
  • Env: VOICEVOX_CORE_PATH
  • Required: Native 模式 / Engine API 模式

core.dict

  • Type: string
  • Default: 'dict/open_jtalk_dic_utf_8-1.11'
  • Env: VOICEVOX_CORE_DICT_PATH

core.models

  • Type: string
  • Default: 'models/vvms'
  • Env: VOICEVOX_CORE_MODELS_PATH

core.user_dict

  • Type: string
  • Default: storage_path('voicevox/user_dict.json')
  • Env: VOICEVOX_CORE_USER_DICT_PATH
相關頁面: 使用者字典

core.presets

  • Type: string
  • Default: storage_path('voicevox/presets.json')
  • Env: VOICEVOX_CORE_PRESETS_PATH
相關頁面: 預設集

core.vvms

  • Type: array
  • Default: ['0.vvm', '9.vvm', 's0.vvm']
  • Env: 無

engine 設定

engine.disabled

  • Type: bool
  • Default: false
  • Env: VOICEVOX_ENGINE_DISABLED

engine.fallback_url

  • Type: string
  • Default: 'http://127.0.0.1:50021'
  • Env: VOICEVOX_ENGINE_FALLBACK_URL

engine.fallback_error

  • Type: string
  • Default: 'The Laravel version of the engine does not support this endpoint. Please use the official engine instead.'
  • Env: 無
建議先設定 client.urlcore.path,需要時再調整 core.user_dictcore.presets,較好維運。
最後修改於 2026年8月2日