深圳市专企云算科技有限公司 API 文档
    • 平台介绍
    • 快速开始
    • 模型列表与选择
    • 国内模型接入方式
    • 错误处理
    • 视频与异步任务说明
    • 模型
      • 获取可用模型
        GET
    • 文本与多模态
      • 创建对话响应
    • 向量
      • 创建文本向量
    • 重排序
      • 重排序候选文档
    • 图片
      • 生成图片
    • 音频
      • 创建语音
      • 创建语音转写
    • 数据模型
      • ErrorResponse
      • Model
      • ModelList
      • ChatContentPart
      • ChatMessage
      • ChatCompletionRequest
      • Usage
      • ChatChoice
      • ChatCompletionResponse
      • EmbeddingRequest
      • EmbeddingData
      • EmbeddingResponse
      • RerankRequest
      • RerankResult
      • RerankResponse
      • ImageGenerationRequest
      • ImageData
      • ImageGenerationResponse
      • SpeechRequest
      • TranscriptionRequest
      • TranscriptionResponse

    ChatCompletionResponse

    {
        "id": "string",
        "object": "string",
        "created": 0,
        "model": "MODEL_ID",
        "choices": [
            {
                "index": 0,
                "message": {
                    "role": "system",
                    "content": "string",
                    "name": "string",
                    "tool_call_id": "string"
                },
                "finish_reason": "string"
            }
        ],
        "usage": {
            "prompt_tokens": 0,
            "completion_tokens": 0,
            "total_tokens": 0
        }
    }
    Built with