• 聊天(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

    AnthropicMessagesCreateRequest

    Anthropic Messages API: POST /v1/messages 请求体(显式类型版)。

    {
        "max_tokens": 0,
        "messages": [
            {
                "role": "string",
                "content": [
                    [
                        [
                            {}
                        ]
                    ]
                ]
            }
        ],
        "model": "string",
        "cache_control": {
            "type": "string",
            "ttl": "string"
        },
        "container": "string",
        "inference_geo": "string",
        "metadata": {
            "user_id": "string"
        },
        "output_config": {
            "effort": "string",
            "format": {
                "schema": {
                    "key": {}
                },
                "type": "string"
            }
        },
        "service_tier": "string",
        "stop_sequences": [
            "string"
        ],
        "stream": true,
        "system": [
            [
                [
                    {}
                ]
            ]
        ],
        "temperature": 0,
        "thinking": {
            "type": "string",
            "budget_tokens": 0,
            "display": "string"
        },
        "tool_choice": {
            "type": "string",
            "disable_parallel_tool_use": true
        },
        "tools": [
            {
                "name": "string",
                "type": "string",
                "description": "string",
                "input_schema": {
                    "type": "string",
                    "properties": {
                        "key": {}
                    },
                    "required": [
                        "string"
                    ]
                },
                "allowed_callers": [
                    "string"
                ],
                "cache_control": {
                    "type": "string",
                    "ttl": "string"
                },
                "defer_loading": true,
                "eager_input_streaming": true,
                "input_examples": [
                    {
                        "key": {}
                    }
                ],
                "strict": true,
                "allowed_domains": [
                    "string"
                ],
                "blocked_domains": [
                    "string"
                ],
                "max_uses": 0,
                "user_location": {
                    "type": "string",
                    "city": "string",
                    "country": "string",
                    "region": "string",
                    "timezone": "string"
                },
                "citations": {
                    "enabled": true
                },
                "max_content_tokens": 0,
                "use_cache": true,
                "max_characters": 0
            }
        ],
        "top_k": 0,
        "top_p": 0
    }
    Built with