Files
senmesh-zc/src/main/java/com/newyetai/sdk/xf/dto/TtsReqDTO.java
2025-08-22 15:52:49 +08:00

40 lines
804 B
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.newyetai.sdk.xf.dto;
import com.newyetai.sdk.xf.util.WebTtsWS;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Builder.Default;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TtsReqDTO implements Serializable {
@NotBlank(message = "合成文本不能为空")
private String text;
/**
* 发音人
* x4_yezi(中文)/x2_ugsp_dilare(维语)
*/
@Default
private String vcn = "xiaoyan";
/**
* 文本编码格式
* GB2312
* GBK
* BIG5
* UNICODE(小语种)
* GB18030
* UTF8(小语种推荐使用UTF8编码)
* */
@Default
private String tte = WebTtsWS.TTL_UTF8;
}