• 聊天(chat)
    • AiVideoOrderResponse
    • GeminiUsageMetadataDto
    • key
    • CreateAigcApiTokenResponse
    • GoogleGeminiInlineBlobDto
    • ConfirmAigcEventsRequest
    • AigcEventOutputFileDto
    • ResponseEntity?
    • AiImageOrderResponse
    • GptprotoMessageDto
    • ImageDataItem
    • AiTextOrderResponse
    • AigcVideoTaskInputFileInfoDto
    • GeminiContentPartDto
    • ModelMap
    • ChatInputAudioDto
    • CreateAigcApiTokenRequest
    • GoogleGeminiFileDataDto
    • AigcTaskDetailDto
    • AigcEventItemDto
    • AiImageOrderRequest
    • GptprotoChoiceDto
    • CacheControlEphemeral
    • GptprotoImageGenerateResponse
    • AigcVideoOutputConfigDto
    • GeminiContentDto
    • HttpStatusCode
    • CitationItem
    • ChatPartDto
    • GoogleGeminiPartDto
    • DescribeTaskDetailResponse
    • PullAigcEventsResponse
    • GoogleGeminiFunctionCallDto
    • GptprotoUsageDto
    • MapObject
    • GptprotoImageGenerateRequest
    • AiVideoOrderRequest
    • GeminiCandidateDto
    • key
    • ContentBlock
    • ChatFunctionCallDto
    • PredictionData
    • GoogleGeminiContentDto
    • DescribeTaskDetailRequest
    • GoogleGeminiFunctionResponseDto
    • GptprotoChatResponse
    • AiTextOrderRequest
    • GeminiGenerateContentResponse
    • CreateAigcImageResponse
    • ServerToolUse
    • ChatToolCallDto
    • GptprotoViduPredictionResponse
    • GoogleGeminiGenerationConfigDto
    • GoogleGeminiExecutableCodeDto
    • GptprotoChatRequest
    • JsonSchemaFormat
    • GoogleGeminiEmbedContentRequest
    • GeminiThinkingConfigDto
    • AigcImageTaskInputFileInfoDto
    • Usage
    • ChatMessageDto
    • ClaudeFileAnalysisResponse
    • GptprotoViduImageToVideoRequest
    • GoogleGeminiGenerateContentRequest
    • GoogleGeminiCodeExecutionResultDto
    • OutputConfig
    • GeminiGenerationConfigDto
    • AigcImageOutputConfigDto
    • ClaudeWebSearchResponse
    • CacheControl
    • Container
    • ToolChoice
    • GeminiGenerateContentRequest
    • CreateAigcImageRequest
    • MessageItem
    • DocumentSourceWrapper
    • ClaudeTextToTextResponse
    • GoogleGeminiSystemInstructionDto
    • ContentBlockParam
    • UserLocation
    • CitationsConfig
    • key
    • GoogleGeminiFunctionCallingConfigDto
    • StringOrContentBlocks
    • WebSearchToolItem
    • ContentBlock
    • GoogleGeminiLatLngDto
    • MessageParam
    • ClaudeWebSearchRequest
    • key
    • GoogleGeminiRetrievalConfigDto
    • Metadata
    • ClaudeFileAnalysisRequest
    • key
    • GoogleGeminiToolConfigDto
    • ResponseEntityStreamingResponseBody
    • TextCitationParam
    • ToolItem
    • GoogleGeminiThinkingConfigDto
    • TextBlockParam
    • key
    • StringOrTextBlocks
    • ClaudeTextToTextRequest
    • GoogleGeminiSafetySettingDto
    • ThinkingConfig
    • GoogleGeminiCodeExecutionToolDto
    • InputSchema
    • MapJsonNode
    • GoogleGeminiToolDto
    • CitationsConfigParam
    • ToolDefinition
    • AnthropicMessagesCreateRequest
    • CreateAigcVideoResponse
    • VolcengineMediaUrl
    • VolcengineVideoContentPart
    • VolcengineVideoTool
    • CreateAigcVideoRequest
    • VolcengineCreateVideoTaskRequest
    • ConversationModelOption
    • ConversationSessionItem
    • ConversationMessageItem
    • ConversationSendRequest
    • Handler
    • MapString
    • MediaType
    • DataWithMediaType
    • Throwable
    • StackTraceElement
    • Runnable
    • DefaultCallback
    • ErrorCallback
    • SseEmitter
    • ConversationImageOrderRequest
    • ConversationVideoOrderRequest

    GeminiGenerateContentResponse

    GPTProto Gemini generateContent 响应体。

    {
        "usageMetadata": {
            "promptTokenCount": 0,
            "candidatesTokenCount": 0,
            "totalTokenCount": 0,
            "thoughtsTokenCount": 0
        },
        "modelVersion": "string",
        "createTime": "string",
        "responseId": "string",
        "candidates": [
            {
                "finishReason": "string",
                "content": {
                    "role": "string",
                    "parts": [
                        {
                            "text": "string"
                        }
                    ]
                }
            }
        ]
    }
    Built with