mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-29 08:58:52 +00:00
24 lines
335 B
Plaintext
24 lines
335 B
Plaintext
|
meta {
|
||
|
name: musicgen
|
||
|
type: http
|
||
|
seq: 1
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/v1/sound-generation
|
||
|
body: json
|
||
|
auth: none
|
||
|
}
|
||
|
|
||
|
headers {
|
||
|
Content-Type: application/json
|
||
|
}
|
||
|
|
||
|
body:json {
|
||
|
{
|
||
|
"model_id": "facebook/musicgen-small",
|
||
|
"text": "Exciting 80s Newscast Interstitial",
|
||
|
"duration_seconds": 8
|
||
|
}
|
||
|
}
|