Skip to main content
Gemini 2.5 Pro is Google’s advanced language model, available through AnyFast via the native Gemini API. It excels at complex reasoning, coding, writing, and analysis with thinking capabilities.

Key capabilities

  • Native Gemini API — Uses Google’s native API format for full feature access
  • Thinking mode — Supports thinking configuration for enhanced reasoning
  • Multi-turn conversations — Handles complex dialogue with system instructions
  • Safety settings — Configurable content safety filters

Quick example

curl "https://www.anyfast.ai/v1beta/models/gemini-2.5-pro:generateContent?key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "role": "user",
        "parts": [{ "text": "Explain quantum computing in simple terms." }]
      }
    ],
    "generationConfig": {
      "temperature": 1,
      "topP": 1
    }
  }'

Parameters

ParameterTypeRequiredDescription
keystringYesAPI key (query parameter)
contentsarrayYesArray of { role, parts } objects
systemInstructionobjectNoSystem instruction with parts array
generationConfig.temperaturefloatNo02. Controls randomness. Default: 1
generationConfig.topPfloatNoNucleus sampling threshold. Default: 1
generationConfig.thinkingConfigobjectNoThinking mode configuration

API Reference

View the interactive API playground for Gemini 2.5 Pro.