mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
24 lines
319 B
Plaintext
24 lines
319 B
Plaintext
|
meta {
|
||
|
name: musicgen
|
||
|
type: http
|
||
|
seq: 2
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/tts
|
||
|
body: json
|
||
|
auth: none
|
||
|
}
|
||
|
|
||
|
headers {
|
||
|
Content-Type: application/json
|
||
|
}
|
||
|
|
||
|
body:json {
|
||
|
{
|
||
|
"backend": "transformers-musicgen",
|
||
|
"model": "facebook/musicgen-small",
|
||
|
"input": "80s Synths playing Jazz"
|
||
|
}
|
||
|
}
|