ChatGPT API — integrera GPT-4, o1 och o3

Ett REST-gränssnitt mot OpenAI:s modeller för chatt och automation.

Gratisnivå Artificiell intelligens ai innehåll
Kategori
Artificiell intelligens
Endpoints
1
Uppdaterad
2025-11-26

Översikt

En endpoint mot OpenAI:s modellfamilj, inklusive GPT-4 och resonemangsmodellerna, för chattbottar, supportautomation och arbetsflödesverktyg.

Det tar bort SDK- och nyckelhanteringssteget för produkter som bara behöver anropet.

Endpoints

Endpoints publicerade av ChatGPT API — integrera GPT-4, o1 och o3, med metod, sökväg och syfte
Metod Sökväg Vad den gör
POST {\n \ Generate Sentiment Analysis

Exempelsvar

{
    "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
…

Vanliga frågor

Är ChatGPT API — integrera GPT-4, o1 och o3 gratis?
ChatGPT API — integrera GPT-4, o1 och o3 har en Basic-plan som kostar 0 $ i månaden och inte kräver kort. Betalplaner finns för högre volym och listas ovan.
Hur får jag en API-nyckel till ChatGPT API — integrera GPT-4, o1 och o3?
Teckna gratisplanen på marknadsplatsens sida. Nyckeln dyker upp direkt och fungerar i webbläsarens playground innan du skriver en rad kod.
Hur många endpoints har ChatGPT API — integrera GPT-4, o1 och o3?
ChatGPT API — integrera GPT-4, o1 och o3 publicerar 1 endpoints. Var och en listas ovan med metod, sökväg och syfte.

Bästa gratis Artificiell intelligens-API:er

Jämförelser →

Testa ChatGPT API — integrera GPT-4, o1 och o3 gratis

Teckna gratisnivån, hämta din nyckel och testa varje endpoint i webbläsarens playground innan du skriver en rad kod.

Hämta API-nyckeln

Relaterade API:er