त्वरित शुरुआत
केवल Base URL और API Key बदलकर 5 मिनट में पहला gpt88.cc API अनुरोध भेजें।
शुरू करें
केवल Base URL और API Key बदलकर 5 मिनट में पहला gpt88.cc API अनुरोध भेजें।
API Key प्राप्त करें
API Key पाएं. कंसोल में API Key बनाएं और उसे टर्मिनल के environment variable में export करें।
export GPT88_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxएंडपॉइंट
टेक्स्ट और multimodal अनुरोधों के लिए मानक route तथा सीधे image और video कार्यों के लिए media route उपयोग करें।
https://api.gpt88.cc— मानक OpenAI, Claude, Gemini और audio API।https://img.gpt88.cc— सीधे image और video API।
cURL अनुरोध
Key, route और model ID की पुष्टि के लिए एक छोटा chat अनुरोध भेजें।
curl https://api.gpt88.cc/v1/chat/completions \
-H "Authorization: Bearer $GPT88_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-sol",
"messages": [{"role": "user", "content": "Hello from gpt88.cc"}]
}'आधिकारिक SDK
किसी भी OpenAI-compatible SDK में base_url को standard route पर सेट करें।
from openai import OpenAI
client = OpenAI(
base_url="https://api.gpt88.cc",
api_key="YOUR_GPT88_API_KEY",
)
response = client.chat.completions.create(
model="gpt-5.6-sol",
messages=[{"role": "user", "content": "Hello from gpt88.cc"}],
)
print(response.choices[0].message.content)अगले कदम
API reference, model catalog और billing guide देखें।