mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-24 23:06:42 +00:00
d17a92eef3
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
26 lines
355 B
Plaintext
26 lines
355 B
Plaintext
meta {
|
|
name: Generate image
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/v1/images/generations
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/json
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"prompt": "<positive prompt>|<negative prompt>",
|
|
"model": "model-name",
|
|
"step": 51,
|
|
"size": "1024x1024",
|
|
"image": ""
|
|
}
|
|
}
|