Skip to main content
POST
Gemini-3.1-pro Quick Chat
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>
default:gemini-3.1-pro-preview
required

Chat model name

Available options:
gemini-3.1-pro-preview
Example:

"gemini-3.1-pro-preview"

messages
object[]
required

List of chat messages

Minimum array length: 1
Example:

Response

Chat completion generated successfully

id
string

Unique identifier for the chat completion

Example:

"chatcmpl-20251010015944503180122WJNB8Eid"

model
string

Model name actually used

Example:

"gemini-3.1-pro-preview"

object
enum<string>

Response type

Available options:
chat.completion
Example:

"chat.completion"

created
integer

Creation timestamp

Example:

1760032810

choices
object[]

List of chat completion choices

usage
object

Token usage statistics