> ## Documentation Index
> Fetch the complete documentation index at: https://docs.evolink.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Doubao Seed 2.0 - Schnellstart

> - Doubao Seed 2.0 Modelle im OpenAI-SDK-Format aufrufen
- Synchroner Verarbeitungsmodus, Echtzeit-Antwort
- Minimale Parameter, schneller Einstieg
- Unterstuetzte Modelle: `doubao-seed-2.0-pro`, `doubao-seed-2.0-lite`, `doubao-seed-2.0-mini`, `doubao-seed-2.0-code`
- Mehr Funktionen benoetigt? Siehe [Vollstaendige API-Referenz](./doubao-seed-2.0-reference)

<Note>
  **BaseURL**: Die Standard-BaseURL ist `https://direct.evolink.ai` und bietet bessere Unterstützung für Textmodelle sowie persistente Verbindungen. `https://api.evolink.ai` ist der primäre Endpunkt für multimodale Dienste und dient bei Textmodellen als Ausweichadresse.
</Note>


## OpenAPI

````yaml de/api-manual/language-series/doubao-seed-2.0/doubao-seed-2.0-quickstart.json POST /v1/chat/completions
openapi: 3.1.0
info:
  title: Doubao Seed 2.0 Schnellstart
  description: >-
    Schnelleinstieg in die Doubao Seed 2.0 Chat-Schnittstelle, erste
    KI-Chat-Anfrage in 5 Minuten abschliessen
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://direct.evolink.ai
    description: Produktion (empfohlen)
  - url: https://api.evolink.ai
    description: Alternative URL
security:
  - bearerAuth: []
tags:
  - name: Chat-Generierung
    description: KI-Chat-Generierung zugehoerige APIs
paths:
  /v1/chat/completions:
    post:
      tags:
        - Chat-Generierung
      summary: Doubao Seed 2.0 Schnell-Chat
      description: >-
        - Doubao Seed 2.0 Modelle im OpenAI-SDK-Format aufrufen

        - Synchroner Verarbeitungsmodus, Echtzeit-Antwort

        - Minimale Parameter, schneller Einstieg

        - Unterstuetzte Modelle: `doubao-seed-2.0-pro`, `doubao-seed-2.0-lite`,
        `doubao-seed-2.0-mini`, `doubao-seed-2.0-code`

        - Mehr Funktionen benoetigt? Siehe [Vollstaendige
        API-Referenz](./doubao-seed-2.0-reference)
      operationId: createChatCompletionQuickDoubaoSeed20
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatCompletionQuickRequest'
      responses:
        '200':
          description: Chat-Generierung erfolgreich
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatCompletionResponse'
        '400':
          description: Ungueltige Anfrageparameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 400
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: Nicht authentifiziert, Token ungueltig oder abgelaufen
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 401
                  message: Invalid or expired token
                  type: authentication_error
        '429':
          description: Anfragelimit ueberschritten
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 429
                  message: Rate limit exceeded, please try again later
                  type: rate_limit_error
        '500':
          description: Interner Serverfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 500
                  message: Internal server error
                  type: server_error
components:
  schemas:
    ChatCompletionQuickRequest:
      type: object
      required:
        - model
        - messages
      properties:
        model:
          type: string
          description: Modell-ID
          enum:
            - doubao-seed-2.0-pro
            - doubao-seed-2.0-lite
            - doubao-seed-2.0-mini
            - doubao-seed-2.0-code
          default: doubao-seed-2.0-pro
        messages:
          type: array
          description: Nachrichtenliste
          items:
            $ref: '#/components/schemas/ChatMessage'
        stream:
          type: boolean
          description: Ob Streaming-Ausgabe aktiviert werden soll
          default: false
    ChatCompletionResponse:
      type: object
      properties:
        id:
          type: string
          description: Eindeutige Anfrage-ID
        object:
          type: string
          description: Objekttyp, fester Wert chat.completion
        created:
          type: integer
          description: Erstellungszeitstempel
        model:
          type: string
          description: Verwendetes Modell
        choices:
          type: array
          description: Antwortauswahlliste
          items:
            $ref: '#/components/schemas/Choice'
        usage:
          $ref: '#/components/schemas/Usage'
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
    ChatMessage:
      type: object
      required:
        - role
        - content
      properties:
        role:
          type: string
          enum:
            - system
            - user
            - assistant
          description: Nachrichtenrolle
        content:
          type: string
          description: Nachrichteninhalt
    Choice:
      type: object
      properties:
        index:
          type: integer
          description: Auswahlindex
        message:
          $ref: '#/components/schemas/AssistantMessage'
        finish_reason:
          type: string
          description: Beendigungsgrund
          enum:
            - stop
            - length
    Usage:
      type: object
      description: Token-Verbrauchsinformationen
      properties:
        prompt_tokens:
          type: integer
          description: Anzahl der Prompt-Token
        completion_tokens:
          type: integer
          description: Anzahl der Antwort-Token
        total_tokens:
          type: integer
          description: Gesamtanzahl der Token
    ErrorDetail:
      type: object
      properties:
        code:
          type: integer
          description: HTTP-Status-Fehlercode
        message:
          type: string
          description: Fehlerbeschreibung
        type:
          type: string
          description: Fehlertyp
        param:
          type: string
          description: Zugehoeriger Parametername
        fallback_suggestion:
          type: string
          description: Vorschlag bei Fehler
    AssistantMessage:
      type: object
      properties:
        role:
          type: string
          description: Rolle, fester Wert assistant
        content:
          type: string
          description: Antwortinhalt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ##Alle APIs erfordern Bearer-Token-Authentifizierung##


        **API-Schluessel erhalten:**


        Besuchen Sie die
        [API-Schluesselverwaltungsseite](https://evolink.ai/dashboard/keys), um
        Ihren API-Schluessel zu erhalten


        **Zum Anfrage-Header hinzufuegen:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````