English
  • 中文
  • English
English
  • 中文
  • English
Market
English
  • 中文
  • English
  1. Chat Models
  • Getting Started
  • Market
  • Chat Models
    • Claude
    • ChatGPT
    • Gemini
    • DeepSeek
    • Grok
    • Qwen
    • Kimi
    • GLM
    • Llama
    • Mistral
    • Cohere
    • Perplexity
    • MiniMax
    • Doubao
    • ERNIE
    • Hunyuan
    • Yi
  • Getting Started
  • Market
  • Image Models
    • Midjourney
    • Google
    • Seedream
    • FLUX
    • Imagen
    • Ideogram
    • Recraft
    • Stable Diffusion
    • DALL-E
    • Qwen Image
    • Hunyuan Image
    • MiniMax Image
    • Kling Image
  • Video Models
    • Sora
    • Veo
    • Kling
    • Runway
    • Pika
    • Luma
    • Hailuo
    • Seedance
    • Wan
    • PixVerse
    • Vidu
    • Hunyuan Video
    • MiniMax Video
    • Stable Video
  • Music Models
    • Suno
    • Udio
    • Stable Audio
    • ElevenLabs
    • Mureka
    • ACE Studio
    • Meta
    • Google Audio
    • Qwen Audio
    • OpenAI Audio
    • MiniMax Speech
    • Fish Audio
  • Chat Models
    • Gemini 3 Pro
    • Gemini 2.5 Pro
    • Gemini 2.5 Flash
    • DeepSeek V3.2
    • DeepSeek R1
    • Grok 4
    • Grok 4 Fast
    • Qwen3 Max
    • Qwen3 Coder
    • Kimi K2
    • GLM-4.6
    • Llama 4 Maverick
    • Mistral Large 3
    • Command A
    • Perplexity Sonar
    • MiniMax M2
    • Doubao Seed 1.6
    • ERNIE 5.0
    • Hunyuan Turbo
    • Yi-Lightning
    • Claude
      • Claude Opus 4.8
      • Claude Opus 4.7
      • Claude Haiku 4.5
      • Claude Fable 5
      • Claude Opus 4.6
      • Claude Sonnet 5
      • Claude Mythos 5
      • Claude Opus 4.6
    • ChatGPT
      • GPT-5.6 Sol
      • GPT-5.6 Terra
      • GPT-5.6 Luna
      • GPT-5.5
      • GPT-5.4 Pro
      • GPT-5.4 mini
      • GPT-5.4 nano
      • GPT-5.2 Codex
      • GPT-5.1 Codex
      • GPT Image 2
      • GPT Image 1.5
      • GPT Image 1 Mini
      • GPT-5.5 Pro
  • Image Models
    • Midjourney V7
    • Midjourney V6.1
    • Nano Banana Pro
    • Nano Banana
    • Gemini Flash Image
    • Seedream 4.5
    • Seedream 4.0
    • FLUX.2 Pro
    • FLUX.1 Kontext
    • Imagen 4
    • Ideogram 3.0
    • Recraft V3
    • Stable Diffusion 3.5
    • DALL-E 3
    • Qwen Image
    • Hunyuan Image
    • MiniMax Image
    • Kling Image
  • Video Models
    • Sora 2
    • Sora Turbo
    • Veo 3.1
    • Veo 3
    • Kling 2.5 Turbo
    • Kling 2.1
    • Runway Gen-4
    • Runway Gen-3 Alpha
    • Pika 2.2
    • Luma Ray 2
    • Hailuo 02
    • Seedance 1.0 Pro
    • Wan 2.2
    • PixVerse V5
    • Vidu Q1
    • Hunyuan Video
    • MiniMax Video-01
    • Stable Video Diffusion
  • Music Models
    • Suno v5
    • Suno v4.5
    • Udio 2
    • Udio 1.5
    • Stable Audio 2.0
    • ElevenLabs Music
    • Mureka O1
    • ACE-Step
    • MusicGen
    • AudioCraft
    • Lyra
    • Qwen Audio
    • GPT-4o Audio
    • MiniMax Speech
    • Fish Speech
  1. Chat Models

Gemini 2.5 Pro

As low as 3% of official pricing, Start
Example: at 0.2 model rate, pay 10.00 → usable $50.00. Balance is usable across all models. Actual pricing is subject to the website display.

Gemini 2.5 Pro API Documentation#

Gemini 2.5 Pro is designed for conversational AI, content generation, coding assistance, document analysis, and agent workflows. With YesAPI.online, you can access the model through a stable Base URL, unified authentication, and consistent request patterns.

Base URL#

https://yesapi.online/v1

Authentication#

Model Name#

FieldValue
Modelgemini-2-5-pro
API typechat completions API

Request Endpoint#

POST https://yesapi.online/v1/chat/completions

Request Parameters#

ParameterTypeRequiredDefaultDescription
modelstringYes-Fixed value: gemini-2-5-pro
promptstringNo-Task prompt or instruction
messagesarrayYes-Conversation messages for chat models
streambooleanNofalseEnable streaming output for supported chat models
callback_urlstringNo-Callback URL for asynchronous media tasks

Request Example#

Response Example#

{
  "id": "task_or_response_example",
  "model": "gemini-2-5-pro",
  "status": "succeeded",
  "created": 1784534400
}

Response Fields#

FieldTypeDescription
idstringRequest or task ID
modelstringModel used for the request
statusstringTask status for asynchronous APIs
usageobjectToken or usage details when available
errorobjectError details when the request fails

Python Example#

Node.js Example#

Error Codes#

StatusTypeHow to Fix
400Invalid requestCheck required fields and parameter formats
401UnauthorizedVerify your API key and Authorization header
402Insufficient balanceCheck account balance or plan quota
429Rate limitedReduce concurrency or add retry backoff
500Service errorRetry later and keep the request ID for support

Best Practices#

Keep prompts explicit and include output requirements.
Store request IDs and business IDs for tracing.
Use callbacks or polling for asynchronous media generation.
Use the YesAPI recharge page and model list to manage cost and model selection.

Related Links#

API domain: https://yesapi.online
Models: Models
Recharge: Recharge
As low as 3% of official pricing, Start
Example: at 0.2 model rate, pay 10.00 → usable $50.00. Balance is usable across all models. Actual pricing is subject to the website display.
Previous
Gemini 3 Pro
Next
Gemini 2.5 Flash
Built with