Exposes endpoints to convert text into speech via IVoiceService, returning generated audio metadata. Use for building TTS APIs in Spring applications.
// Source: https://github.com/jeecgboot/JeecgBoot | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. package org.jeecg.modules.airag.voice.controller; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.SecurityUtils; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.vo.LoginUser; import org.jeecg.modules.airag.voice.service.IVoiceService; import org.jeecg.modules.airag.voice.vo.VoiceGenerateVo; import org.jeecg.modules.airag.voice.vo.VoiceResultVo; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import com.alibaba.fastjson2.JSONObj ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key