diff --git a/examples/bruno/LocalAI Test Requests/image generation/Generate image.bru b/examples/bruno/LocalAI Test Requests/image generation/Generate image.bru new file mode 100644 index 00000000..37d350ca --- /dev/null +++ b/examples/bruno/LocalAI Test Requests/image generation/Generate image.bru @@ -0,0 +1,25 @@ +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": "|", + "model": "model-name", + "step": 51, + "size": "1024x1024", + "image": "" + } +} diff --git a/examples/bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru b/examples/bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru index cf51bb7c..fd08aeee 100644 --- a/examples/bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru +++ b/examples/bruno/LocalAI Test Requests/llm text/chat/chat completion -simple- 1 message-.bru @@ -15,10 +15,16 @@ headers { } body:json { - { - "model": "{{DEFAULT_MODEL}}", - "messages": [{"role": "user", "content": "How could one use friction to cook an egg?"}], - "max_tokens": 256, - "temperature": 0.2 + { + "model": "{{DEFAULT_MODEL}}", + "messages": [ + { + "role": "user", + "content": "How could one use friction to cook an egg?" + } + ], + "max_tokens": 256, + "temperature": 0.2, + "grammar": "" } }