Generate a completion
POST
https://api.genxt.ai/api/generate
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.genxt.ai/api/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"prompt": "string",
"images": [
"string"
],
"options": {},
"stream": true
}'
Response Response Example
{
"model": "string",
"created_at": "2019-08-24T14:15:22Z",
"response": "string",
"done": true,
"total_duration": 0,
"load_duration": 0,
"eval_count": 0,
"eval_duration": 0,
"context": [
0
]
}
Request
Body Params application/json
Responses
Modified at 2024-11-25 19:58:23