Audio class

Inheritance

Constructors

Audio({required Client client, bool enterprise = false, Map<String, dynamic> kwargs = const {}})

Properties

audioBaseUrl String
latefinal
baseUrl String
finalinherited
client Client
finalinherited
enterprise bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
kwargs Map<String, dynamic>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCache() Future<Map<String, dynamic>>
Clear cache (Enterprise only)
inherited
clearQueue() Future<Map<String, dynamic>>
Clear task queue (Enterprise only)
inherited
fetch(String id) Future<Map<String, dynamic>>
Fetch task result by ID
inherited
lyricsGen(LyricsGenerator schema) Future<Map<String, dynamic>>
musicGen(MusicGenSchema schema) Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restart() Future<Map<String, dynamic>>
Restart server (Enterprise only)
inherited
sfxGen(SFX schema) Future<Map<String, dynamic>>
songGenerator(SongGenerator schema) Future<Map<String, dynamic>>
speechToText(Speech2Text schema) Future<Map<String, dynamic>>
systemDetails() Future<Map<String, dynamic>>
Get system details (Enterprise only)
inherited
textToAudio(Text2Audio schema) Future<Map<String, dynamic>>
textToSpeech(Text2Speech schema) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited
update() Future<Map<String, dynamic>>
Update server (Enterprise only)
inherited
voiceCover(VoiceCover schema) Future<Map<String, dynamic>>
voiceToVoice(Voice2Voice schema) Future<Map<String, dynamic>>

Operators

operator ==(Object other) bool
The equality operator.
inherited