1RPC.AI logo
28+ Models
Results for: “Gemini 1.5 Pro
Gemini 1.5 Pro logo
Gemini 1.5 Pro
Gemini 1.5 Pro is a midsized multimodal AI model from Google developed to process and reason about substantial volumes of information across various modalities. It effectively handles extensive datasets, such as long-form videos, multi-hour audio, large textual documents, and comprehensive codebases in significantly expanded contexts.
128K Tokens
Python
Typescript
Shell
Loading...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import requests
import json

response = requests.post(
    url="https://1rpc.ai/v1/chat/completions",
    headers={
        "Authorization": "Bearer <1RPC_AI_API_KEY>",
        "Content-type": "application/json",
    },
    data=json.dumps ({
        "model": "gemini-1.5-pro",
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)