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

    AiTextOrderRequest

    AI 生文下单请求:模型、消息列表及可选参数。

    {
        "sessionId": "string",
        "title": "string",
        "modelCode": "string",
        "messages": [
            {
                "role": "string",
                "content": [
                    {
                        "type": "string",
                        "text": "string",
                        "imageUrl": "string",
                        "inputAudio": {
                            "data": "string",
                            "format": "string"
                        },
                        "fileName": "string",
                        "fileUrl": "string"
                    }
                ],
                "toolCallId": "string",
                "toolCalls": [
                    {
                        "id": "string",
                        "type": "string",
                        "function": {
                            "name": "string",
                            "arguments": "string"
                        }
                    }
                ]
            }
        ],
        "isStream": true,
        "isThinkingEnabled": true,
        "temperature": 0,
        "maxTokens": 0,
        "reasoningEffort": "string"
    }
    Built with