简体中文
enable_url_context
true
curl --location --request POST 'https://geekai.co/api/v1/chat/completions' \ --header 'Authorization: Bearer $GEEKAI_API_KEY' \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "gemini-2.5-flash", "messages": [ { "role": "user", "content": "通过分析网页内容介绍 URL Context 功能以及给出目前支持该特性的 Gemini 模型:https://ai.google.dev/gemini-api/docs/url-context" } ], "enable_url_context": true }'
gemini-2.5-pro
gemini-2.5-flash
gemini-2.5-flash-lite
gemini-2.0-flash