mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-17 10:27:05 -04:00
emogen
This commit is contained in:
parent
a644ef6e31
commit
87438da5f4
3 changed files with 63 additions and 0 deletions
|
@ -272,6 +272,13 @@ module.exports.text2image = async function(context, text){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.emogen = async function(context, prompt, style){
|
||||
return await request(Api.IMAGE_EMOGEN, "GET", {}, {
|
||||
prompt,
|
||||
style
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.imtranslator = async function(context, text, voice){
|
||||
return await request(Api.TTS_IMTRANSLATOR, "GET", {}, {
|
||||
text: text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue