Files

23 lines
884 B
TOML
Raw Permalink Normal View History

2026-09-04 14:51:35 +08:00
# ip_sound_column.tts — ip 音柱 tts 播放
# 修改后需重新运行: uv run gen_models config/workers/ip_sound_column src/plugins/ip_sound_column
[POST]
cacheable = true
summary = "ip 音柱 tts 播放"
params = [
"command: str", # 播放命令 play_local_tts
"volume: int", # 播放音量 0-100
"play_count: int", # 播放次数
"queue: bool", # 是否排队播放
"sync_response: bool", # 是否同步响应
"play_interval: int", # 播放间隔,单位秒
"tts_pitch: int", # 播放音调,范围 0 ~ 100
"tts_speed: int", # 播放速度,范围 0 ~ 100
"tts_voice_name: string", # 播放声音名称
"tts_text: string", # 播放文本
]
internal = true
[POST.response_model]
command = { type = "str", required = true }
result = { type = "int", required = true }