mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 08:28:51 +00:00
cde0139363
Signed-off-by: Dave Lee <dave@gray101.com>
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": ""
|
|
}
|
|
}
|