Class VoicesService
java.lang.Object
com.alibaba.dashscope.resources.audio.VoicesService
audio.voices — voice cloning (audio design §1.4, Python v2 customization parity). All
verbs POST the tts customization endpoint with an action word; update/delete
return JobStatus.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(VoiceCreateParams params) Clone a voice from the audio aturl; the result carriesvoiceId.create(VoiceCreateParams params, RequestOptions options) Delete one cloned voice.delete(String voiceId, String model, RequestOptions options) Fetch one voice's details (1.xquery_voice).get(String voiceId, String model, RequestOptions options) List cloned voices, optionally narrowed to oneprefix; pages are 0-based.list(String prefix, int pageIndex, int pageSize, String model, RequestOptions options) Re-clone one voice from the audio aturl.update(String voiceId, String url, String model, RequestOptions options)
-
Constructor Details
-
VoicesService
-
-
Method Details
-
create
Clone a voice from the audio aturl; the result carriesvoiceId. -
create
-
list
List cloned voices, optionally narrowed to oneprefix; pages are 0-based. -
list
public VoiceList list(String prefix, int pageIndex, int pageSize, String model, RequestOptions options) -
get
Fetch one voice's details (1.xquery_voice). -
get
-
update
Re-clone one voice from the audio aturl. -
update
-
delete
Delete one cloned voice. -
delete
-