Skip to main content
POST
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.

Authorizations

Authorization
string
header
required

##All APIs require Bearer Token authentication##

Get API Key:

Visit API Key Management Page to get your API Key

Add to request header:

Body

application/json
model
enum<string>
required

Model ID.

Available options:
kimi-k3
max_tokens
integer
required

Maximum number of tokens allowed for this generation, including thinking and final text.

Required range: x >= 1
messages
object[]
required

Anthropic Messages message list. For multi-turn conversations, return complete assistant content blocks unchanged.

Minimum array length: 1
system
string

System prompt. The Messages protocol uses a top-level system field instead of a system role.

stream
boolean
default:false

Whether to return an Anthropic SSE event stream.

tools
object[]

Tools that the model may call.

tool_choice
object

Response

Message response; streaming requests return an Anthropic SSE event stream

id
string
type
enum<string>
Available options:
message
role
enum<string>
Available options:
assistant
model
string
Example:

"kimi-k3"

content
object[]

Anthropic content block for text, reasoning, tool use, or a tool result.

stop_reason
enum<string>
Available options:
end_turn,
max_tokens,
tool_use
stop_sequence
string | null
usage
object