Skip to main content
POST
Intelligent Model Routing (Gemini Format)

Smart Model Routing

Call EvoLink Auto intelligent model routing using Google Generative AI format.

Key Features

  • Gemini Native Format: Fully compatible with Google Generative AI API
  • Intelligent Routing: Automatically selects a suitable model
  • Transparent Response: Response includes the actual model version used
Use evolink/auto in the path parameter and call the /v1beta/models/evolink/auto:generateContent endpoint.
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 to get your API Key

Add to request header:

Path Parameters

model
enum<string>
required

Model name, use evolink/auto to enable intelligent routing

Available options:
evolink/auto
Example:

"evolink/auto"

Body

application/json
contents
object[]
required

Conversation content list

Example:
generationConfig
object

Response

200 - application/json

Success

candidates
object[]
usageMetadata
object
modelVersion
string

Actual model version used

Example:

"gemini-2.5-pro"