package com.atmob.voiceai.data.api;

import com.atmob.app.lib.base.BaseResponse;
import com.atmob.voiceai.data.api.request.TextTosSpeechRequest;
import com.atmob.voiceai.data.api.request.VoiceCloneRequest;
import com.atmob.voiceai.data.api.response.TextToSpeechResponse;
import com.atmob.voiceai.data.api.response.VoiceCloneResponse;

import atmob.okhttp3.MultipartBody;
import atmob.okhttp3.RequestBody;
import atmob.reactivex.rxjava3.core.Single;
import atmob.retrofit2.http.Body;
import atmob.retrofit2.http.Multipart;
import atmob.retrofit2.http.POST;
import atmob.retrofit2.http.Part;

public interface GenerateApi {


    @POST("/project/voice/v1/voice/textToSpeech")
    Single<BaseResponse<TextToSpeechResponse>> textToSpeech(@Body TextTosSpeechRequest request);


    @POST("/project/voice/v1/voice/clone")
    Single<BaseResponse<VoiceCloneResponse>> voiceClone(@Body RequestBody requestBody);

}
