orrisapi en
    orrisapi en
    • How to Integrate CCAPI LLM into OpenClaw
    • Chat
      • Google
        • Gemini Generate Content
        • Gemini Stream Generate Content
      • Anthropic
        • Create Claude Message
      • OpenAI
        • Create Chat Completion
        • Create Response (OpenAI Responses API)
      • DeepSeek
        • Create Chat Completion
      • MiniMax
        • Create Chat Completion
      • Create Text Completion (Legacy)
    • Image
      • nano banana (Gemini Native)
        • Generate Image With Gemini Native API
      • nano banana (Pay-per-image)
        • Generate Image
    • Video
      • Vidu Video Generation API
      • Seedance Video Generation API
      • Generate Video
      • Query Video Task
      • Video Content Proxy
      • Kling Text-to-Video
      • Kling Text-to-Video Task Status
      • Kling Image-to-Video
      • Kling Image-to-Video Task Status
    • Images
      • Jimeng Image Generate
    • Audio
      • Producer
        • Producer Submit - Generate Music
        • Producer Submit - Generate Lyrics
        • Producer Submit - Extend Music
        • Producer Submit - Generate Cover
        • Producer Submit - Generate Variation
        • Producer Submit - Replace Track
        • Producer Submit - Vocals Swap
        • Producer Submit - Instrumentals Swap
        • Producer Submit - Stems Separation
        • Producer Submit - Download
        • Producer Submit - Upload Audio
        • Producer Submit - Generate Video
        • Producer Fetch Task by ID
        • Producer Fetch Tasks (Batch)
      • Suno
        • Suno Submit - Generate Music
        • Suno Submit - Generate Lyrics
        • Suno Submit - Extend Song
        • Suno Submit - Generate Cover
        • Suno Submit - Stems Separation
        • Suno Submit - Full Stems Separation
        • Suno Submit - Add Vocals
        • Suno Submit - Add Instrumental
        • Suno Submit - Replace Section
        • Suno Submit - Remaster
        • Suno Submit - Mashup
        • Suno Submit - Sample
        • Suno Submit - Generate Sound Effects
        • Suno Submit - Generate MIDI
        • Suno Submit - Upload Audio
        • Suno Submit - Concatenate Tracks
        • Suno Submit - Aligned Lyrics
        • Suno Submit - Generate Music Video
        • Suno Submit - Download as WAV
        • Suno Submit - Persona Voice
        • Suno Submit - Generate with BPM
        • Suno Submit - Vox (Vocals Only)
        • Suno Submit - Upsample Tags
        • Suno Fetch Task by ID
        • Suno Fetch Tasks (Batch)
      • Create Transcription
      • Create Translation
      • Suno Generate (Unified)
      • Suno Fetch (Unified)
      • Producer Generate (Unified)
      • Producer Fetch (Unified)
    • Embeddings
      • Create Embeddings
    • Models
      • List Models
      • Get Model
    • Moderation
      • Create Moderation
    • Midjourney
      • Midjourney Imagine
      • Midjourney Task Status
    • Realtime
      • Realtime API (WebSocket)
    • Schemas
      • RequestBodies
        • producerSubmitCoverBody
        • jimengGenerateBody
        • producerSubmitUploadBody
        • producerSubmitDownloadBody
        • producerFetchBatchBody
      • ErrorResponse
      • OpenAIError
      • ChatCompletionRequest
      • Message
      • ContentPart
      • ToolCall
      • ToolCallResponse
      • ChatCompletionResponse
      • ChatCompletionStreamResponse
      • ResponsesRequest
      • ResponsesResponse
      • ImageRequest
      • ImageResponse
      • VideoResponse
      • KlingText2VideoRequest
      • KlingImage2VideoRequest
      • AudioResponse
      • EmbeddingRequest
      • EmbeddingResponse
      • Model
      • Usage
      • ProducerMusicRequest
      • ProducerTaskResponse
      • ProducerFetchResponse
      • SunoMusicRequest
      • SunoTaskResponse
      • SunoFetchResponse

    ChatCompletionStreamResponse

    {
        "id": "string",
        "object": "chat.completion.chunk",
        "created": 0,
        "model": "string",
        "choices": [
            {
                "index": 0,
                "delta": {
                    "role": "string",
                    "content": "string",
                    "reasoning_content": "string",
                    "tool_calls": [
                        {
                            "index": 0,
                            "id": "string",
                            "type": "string",
                            "function": {
                                "name": "string",
                                "arguments": "string"
                            }
                        }
                    ]
                },
                "finish_reason": "string"
            }
        ],
        "usage": {
            "prompt_tokens": 0,
            "completion_tokens": 0,
            "total_tokens": 0,
            "prompt_tokens_details": {
                "cached_tokens": 0,
                "text_tokens": 0,
                "audio_tokens": 0,
                "image_tokens": 0
            },
            "completion_tokens_details": {
                "text_tokens": 0,
                "audio_tokens": 0,
                "reasoning_tokens": 0
            }
        }
    }
    Built with