Questa pagina raccoglie tutti gli elementi di configurazione di config/voicevox.php.
Pubblicazione del file di configurazione
Impostazioni 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
Impostazioni core
core.path
- Type:
string|null
- Default:
null
- Env:
VOICEVOX_CORE_PATH
- Required: modalità nativa / modalità 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
Pagine correlate: Dizionario utente
core.presets
- Type:
string
- Default:
storage_path('voicevox/presets.json')
- Env:
VOICEVOX_CORE_PRESETS_PATH
Pagine correlate: Preset
core.vvms
- Type:
array
- Default:
['0.vvm', '9.vvm', 's0.vvm']
- Env: nessuna
Impostazioni 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: nessuna
Una configurazione facile da gestire è impostare inizialmente solo client.url e core.path, e regolare core.user_dict e core.presets quando necessario.