API Reference
API Reference
Chat Completions
POST
https://api.float16.cloud/v1/chat/completions
Headers
Name
Type
Description
authorization*
string
Examples: float16-api-123e4567-e89b-12d3-a456-426655440000
Request Body
Name
Type
Description
model*
string
Enum ("SeaLLM-7B-v2.5"
, "SeaLLM-7B-v3"
, "SQLCoder-7B-v2"
)
message*
array of object
role (required) : Enum ("system"
, "user"
, "assistant"
)
content (required) : String
stream
boolean
default : false
max_tokens
integer or null
Max Tokens (integer) or Max Tokens (null)
Last updated