API ChatGPT — integrasi GPT-4, o1, dan o3

Satu antarmuka REST ke model OpenAI untuk obrolan dan otomatisasi.

Paket gratis Kecerdasan buatan ai konten
Kategori
Kecerdasan buatan
Endpoint
1
Diperbarui
2025-11-26

Ikhtisar

Satu endpoint ke keluarga model OpenAI, termasuk GPT-4 dan model penalaran, untuk chatbot, otomatisasi dukungan, dan alat alur kerja.

Ia menghapus langkah SDK dan pengelolaan kunci bagi produk yang hanya butuh panggilannya.

Endpoint

Endpoint yang diterbitkan API ChatGPT — integrasi GPT-4, o1, dan o3, lengkap dengan metode, path, dan tujuannya
Metode Path Fungsinya
POST {\n \ Generate Sentiment Analysis

Contoh respons

{
    "result": {
        "response": {
            "overallSentiment": "positive",
            "sentimentScore": 0.8,
            "aspects": [
                {
                    "aspect": "product quality",
                    "sentiment": "positive",
                    "score": 0.9
                },
                {
                    "aspect": "price",
                    "sentiment": "negative",
                    "score": -0.3
                },
                {
                    "aspect": "overall satisfaction",
                    "sentiment": "positive",
                    "score": 0.8
                }
            ],
            "keyPhrases": [
                "exceeded my expectations",
                "quality is outstanding",
                "price is a bit high",
                "very satisfied with my purchase"
            ],
            "confidence": 0.95
        },
        "model": "gpt-4o-mini",
        "prompt": "Please respond in en language.\n\nAnalyze the sentiment of this customer review: 'The product exceeded my expectations. The quality is outstanding, though the price is a bit high. Overall, I'm very satisfied with my purchase.'",
        "responseType": {
            "format": "json",
            "structure": {
                "overallSentiment": "string (positive/negative/neutral)",
                "sentimentScore": "number (-1 to 1)",
                "aspects": [
                    {
                        "aspect": "string",
                        "sentiment": "string",
                        "score": "number"
                    }
                ],
                "keyPhrases": [
                    "array of strings"
                ],
                "confidence": "number (0-1)"
            }
        }
    },
    "cacheTi
…

Pertanyaan yang sering diajukan

Apakah API ChatGPT — integrasi GPT-4, o1, dan o3 gratis?
API ChatGPT — integrasi GPT-4, o1, dan o3 punya paket Basic seharga $0 per bulan dan tanpa kartu. Paket berbayar tersedia untuk volume lebih besar dan tercantum di atas.
Bagaimana cara mendapatkan kunci API untuk API ChatGPT — integrasi GPT-4, o1, dan o3?
Berlanggananlah paket gratis di halaman marketplace. Kuncinya langsung muncul dan bisa dipakai di playground peramban sebelum Anda menulis satu baris kode.
Berapa endpoint yang dimiliki API ChatGPT — integrasi GPT-4, o1, dan o3?
API ChatGPT — integrasi GPT-4, o1, dan o3 menerbitkan 1 endpoint. Masing-masing tercantum di atas dengan metode, jalur, dan tujuannya.

API Kecerdasan buatan gratis terbaik

Perbandingan →

Coba API ChatGPT — integrasi GPT-4, o1, dan o3 gratis

Berlangganan paket gratis, ambil kunci Anda, dan uji setiap endpoint di playground peramban sebelum menulis satu baris kode.

Dapatkan kunci API

API terkait