必看

由于资源紧张,网站正在卸载和退款昂贵的gpu,并购入更多4090和5090,以至于更好的为大家免费提供服务,请耐心等待

请每天都签到再使用api否则会报错

gemini3.0pro api for free

free api for function calling

🤖
你好!我是 gemini3.0pro api for free。有什么我可以帮你的吗?

API 调用示例

您可以在自己的应用中使用以下代码调用此模型。

curl http://pumpkinai.it.com/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY_PLACEHOLDER" \
  -d '{
    "model": "google/gemini-3-pro-preview",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ],
    "stream": true,
    "max_tokens": 512
  }'
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY_PLACEHOLDER",
    base_url="http://pumpkinai.it.com/api/v1"
)

response = client.chat.completions.create(
    model="google/gemini-3-pro-preview",
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
    stream=True,
    max_tokens=512
)

for chunk in response:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")