/
TR
transformerlab
/
Transformerlab API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v1
latest
OpenAPI 3.1.0
Apache 2.0
2026-07-17
141
17
164.2 KB
chat
Create Completion
post
/v1/completions
Request body
ModifiedCompletionRequest
required
model
string
required
prompt
union
required
suffix
string
nullable
temperature
number
nullable
n
integer
nullable
max_tokens
integer
nullable
stop
union
stream
boolean
nullable
top_p
number
nullable
top_k
integer
nullable
logprobs
integer
nullable
echo
boolean
nullable
presence_penalty
number
nullable
frequency_penalty
number
nullable
user
string
nullable
use_beam_search
boolean
nullable
best_of
integer
nullable
adaptor
string
nullable
Response
Successful Response
{"stackTrail":"paths:/v1/completions:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}