模型定價企業
500+ AI 模型 API,全部整合在一個 API 中。就在 CometAPI
模型 API
開發者
快速入門說明文件API 儀表板
公司
關於我們企業
資源
AI模型部落格更新日誌支援
服務條款隱私政策
© 2026 CometAPI · All rights reserved
Home/Models/OpenAI/GPT-5.1
O

GPT-5.1

輸入:$1.25/M
輸出:$10/M
GPT-5.1 is a general-purpose instruction-tuned language model focused on text generation and reasoning across product workflows. It supports multi-turn dialogue, structured output formatting, and code-oriented tasks such as drafting, refactoring, and explanation. Typical uses include chat assistants, retrieval-augmented QA, data transformation, and agent-style automation with tools or APIs when supported. Technical highlights include text-centric modality, instruction following, JSON-style outputs, and compatibility with function calling in common orchestration frameworks.
新
商業用途
Playground
概覽
功能
定價
API

Technical Specifications of kling-identify-face

SpecificationDetails
Model IDkling-identify-face
Model TypeImage analysis / face identification
Primary FunctionIdentify faces within submitted image inputs
Input FormatImage file or image URL, depending on endpoint configuration
Output FormatStructured identification results with face-related metadata
Integration MethodREST API
AuthenticationAPI key
Typical Use CasesFace lookup, identity matching workflows, media management, security review pipelines

What is kling-identify-face?

kling-identify-face is a face identification model available through CometAPI for detecting and identifying faces from image-based inputs. It is designed for workflows where applications need to submit an image, process facial information, and receive structured results that can be used in downstream systems or user-facing experiences.
This model can be useful in scenarios such as content organization, identity verification support flows, digital asset indexing, and automated media analysis. By exposing the capability through a standard API interface, CometAPI makes it easier for developers to integrate face identification into existing products without building the underlying model infrastructure themselves.

Main features of kling-identify-face

  • Face identification: Processes submitted images to identify faces and return machine-readable results for application use.
  • Structured API output: Returns results in a format that is easier to parse, validate, and integrate into automated systems.
  • Image-based workflow support: Fits applications that rely on uploaded images or image URLs as the primary input source.
  • Developer-friendly integration: Can be connected to backend services, internal tools, and production pipelines through standard API calls.
  • Scalable deployment option: Helps teams add face identification capabilities without managing model hosting or inference infrastructure directly.

How to access and integrate kling-identify-face

Step 1: Sign Up for API Key

Sign up on CometAPI and generate your API key from the dashboard. This key will be used to authenticate every request you send to the kling-identify-face API.

Step 2: Send Requests to kling-identify-face API

After getting your API key, send POST requests to the CometAPI endpoint for kling-identify-face. Include your API key in the Authorization header and provide the required input payload based on your use case.

curl --request POST \
  --url https://api.cometapi.com/v1/models/kling-identify-face \
  --header "Authorization: Bearer YOUR_COMETAPI_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "input": "YOUR_IMAGE_INPUT"
  }'

Step 3: Retrieve and Verify Results

Once the request is processed, the API will return the model output for kling-identify-face. Verify the response fields, handle any confidence or matching data returned by the model, and then pass the validated results into your application workflow or storage layer.

GPT-5.1 的定價

探索 GPT-5.1 的競爭性定價,專為滿足各種預算和使用需求而設計。我們靈活的方案確保您只需為實際使用量付費,讓您能夠隨著需求增長輕鬆擴展。了解 GPT-5.1 如何在保持成本可控的同時提升您的專案效果。
彗星價格 (USD / M Tokens)官方價格 (USD / M Tokens)折扣
輸入:$1.25/M
輸出:$10/M
輸入:$1.5625/M
輸出:$12.5/M
-20%

GPT-5.1 的範例程式碼和 API

GPT 5.1 API is what GPT-5.1 Thinking is the advanced reasoning variant of OpenAI’s GPT-5.1 family, it prioritizes adaptive, higher-quality reasoning while giving developers explicit control over the latency / compute trade-off.
POST
/v1/responses
POST
/v1/chat/completions
Python
JavaScript
Curl
from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-5.1", input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-5.1", input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY;
const base_url = "https://api.cometapi.com/v1";

const openai = new OpenAI({
  apiKey: api_key,
  baseURL: base_url,
});

const response = await openai.responses.create({
  model: "gpt-5.1",
  input: "Tell me a three sentence bedtime story about a unicorn.",
});

console.log(response);

Curl Code Example

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-5.1",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'