1. Model
PeakkAI-Doc
English
  • 中文
  • English
  • 首页
  • English
    • Home Page
    • PeakkAI-API
      • Model
        • Native OpenAI Format
          GET
        • Native Gemini Format
          GET
      • Chat
        • Native OpenAI Format
        • Native Gemini Format
        • Native Claude Format
        • Responses Request (openai)
      • Audio
        • Native OpenAI Format TTS
        • Native Gemini Format TTS
      • Images
        • Native OpenAI Format Image Editing (JSON)
        • Native OpenAI Format Image Generation
        • Native OpenAI Format Image Editing (Multipart)
        • Native Gemini Format Image Generation
      • Video
        • Seedance2.0 format
          • Create Video Generation Task
          • Query Video Generation Task Status
      • Vector
        • Embeddings
          • Create Embedding
      • Translation
        • Speech Translation
    • AI application
      • PeakkAI API Integration with Claude Code
      • PeakkAI API Integration with Cursor
      • PeakkAI API Integration with Codex-cli
      • PeakkAI API Integration with Codex Desktop
      • PeakkAI API Integration with Hermes Agent
  1. Model

Native OpenAI Format

GET
/v1/models
GET /v1/models

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.peakkai.ai/v1/models' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200
application/json
Bodyapplication/json

示例
{
    "data": [
        {
            "id": "Claude-Opus-4.5",
            "object": "model",
            "created": "1769597110",
            "owned_by": "AWS"
        },
        {
            "id": "Claude-Sonnet-4.5",
            "object": "model",
            "created": "1769597110",
            "owned_by": "AWS"
        },
        {
            "id": "Claude-Haiku-4.5",
            "object": "model",
            "created": "1769597110",
            "owned_by": "AWS"
        },
        {
            "id": "Claude-Opus-4.6",
            "object": "model",
            "created": "1769597110",
            "owned_by": "AWS"
        },
        {
            "id": "GPT-5.2",
            "object": "model",
            "created": "1769597110",
            "owned_by": "Azure"
        },
        {
            "id": "GPT-5.2-Chat",
            "object": "model",
            "created": "1769597110",
            "owned_by": "Azure"
        },
        {
            "id": "gemini-2.5-pro",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gpt-image-1-mini",
            "object": "model",
            "created": "1769597110",
            "owned_by": "Azure"
        },
        {
            "id": "gemini-3-pro-image-preview",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "tts-hd",
            "object": "model",
            "created": "1769597110",
            "owned_by": "Azure"
        },
        {
            "id": "tts",
            "object": "model",
            "created": "1769597110",
            "owned_by": "Azure"
        },
        {
            "id": "gpt-image-1",
            "object": "model",
            "created": "1769597110",
            "owned_by": "Azure"
        },
        {
            "id": "gemini-2.5-flash",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-3-pro-preview",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-3-flash-preview",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-2.5-flash-lite-preview-tts",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-2.5-pro-tts",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-2.5-flash-tts",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-2.5-flash-image",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-3.1-pro-preview",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "gemini-3.1-flash-image-preview",
            "object": "model",
            "created": "1769597110",
            "owned_by": "GCP"
        },
        {
            "id": "Chirp3-HD",
            "object": "model",
            "created": "0",
            "owned_by": "GCP"
        }
    ],
    "object": "list"
}
修改于 2026-11-02 09:46:28
上一页
Home Page
下一页
Native Gemini Format
Built with