package com.sonic.cow.lib.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class VoiceTtsInput {

    @ApiModelProperty("用户id 内部使用")
    private Long userId;

    @ApiModelProperty("AI id")
    private Long aiId;

    @ApiModelProperty("文本内容")
    private String text;

    @ApiModelProperty("语音类型【传入审核并开通的语音ID】以S_开头的ID")
    private String voiceType;

    @ApiModelProperty("语速，范围 [-50,100]，100代表2.0倍速，-50代表0.5倍速")
    private Integer speechRate = 0;

    @ApiModelProperty("音量（Volume）。值范围为 [-12, 12]。默认：0")
    private Integer pitchRate = 0;
}
