> ## 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 Responses API - Schnellstart

> - Doubao Seed 2.0 Modelle im Responses-API-Format aufrufen
- Unterstuetzung fuer serverseitige Kontextspeicherung, Mehrrunden-Konversation ueber `previous_response_id`
- 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-responses-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-responses-quickstart.json POST /v1/responses
openapi: 3.1.0
info:
  title: Doubao Seed 2.0 Responses API Schnellstart
  description: >-
    Schnelleinstieg in die Doubao Seed 2.0 Responses API, erste 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: Responses API
    description: Responses API Chat-Generierungsschnittstelle
paths:
  /v1/responses:
    post:
      tags:
        - Responses API
      summary: Doubao Seed 2.0 Responses API Schnell-Chat
      description: >-
        - Doubao Seed 2.0 Modelle im Responses-API-Format aufrufen

        - Unterstuetzung fuer serverseitige Kontextspeicherung,
        Mehrrunden-Konversation ueber `previous_response_id`

        - 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-responses-reference)
      operationId: createResponseQuickDoubaoSeed20
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResponseQuickRequest'
      responses:
        '200':
          description: Antwortgenerierung erfolgreich
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseObject'
        '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
        '402':
          description: Unzureichendes Kontingent, Aufladung erforderlich
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 402
                  message: Insufficient quota
                  type: insufficient_quota_error
                  fallback_suggestion: https://evolink.ai/dashboard/billing
        '403':
          description: Kein Zugriff erlaubt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 403
                  message: Access denied for this model
                  type: permission_error
                  param: model
        '404':
          description: Ressource nicht gefunden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 404
                  message: Specified model not found
                  type: not_found_error
                  param: model
                  fallback_suggestion: doubao-seed-2.0-pro
        '429':
          description: Anfragelimit ueberschritten
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 429
                  message: Rate limit exceeded
                  type: rate_limit_error
                  fallback_suggestion: retry after 60 seconds
        '500':
          description: Interner Serverfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 500
                  message: Internal server error
                  type: internal_server_error
                  fallback_suggestion: try again later
        '502':
          description: Upstream-Dienstfehler
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 502
                  message: Upstream AI service unavailable
                  type: upstream_error
                  fallback_suggestion: try different model
        '503':
          description: Dienst voruebergehend nicht verfuegbar
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 503
                  message: Service temporarily unavailable
                  type: service_unavailable_error
                  fallback_suggestion: retry after 30 seconds
components:
  schemas:
    ResponseQuickRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          description: >-
            Chat-Modellname


            - `doubao-seed-2.0-pro`: Flaggschiff-Version, staerkste
            Gesamtleistung, geeignet fuer komplexes Reasoning und hochwertige
            Generierung

            - `doubao-seed-2.0-lite`: Leichtversion, schneller, gutes
            Preis-Leistungs-Verhaeltnis

            - `doubao-seed-2.0-mini`: Ultraschnelle Version, schnellste Antwort,
            geeignet fuer einfache Aufgaben

            - `doubao-seed-2.0-code`: Code-Spezialversion, optimiert fuer
            Codegenerierung und -verstaendnis
          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
          example: doubao-seed-2.0-pro
        input:
          type: string
          description: >-
            Eingabeinhalt (reiner Text), entspricht einer Texteingabe mit der
            Rolle user
          example: Hallo, stellen Sie die neuen Funktionen von Doubao Seed 2.0 vor
    ResponseObject:
      type: object
      properties:
        id:
          type: string
          description: Eindeutige Kennung dieser Antwort
          example: resp_02177148667427813c33c36521378d02b2c8389204fa8c3e2f63e
        object:
          type: string
          description: Objekttyp, fester Wert response
          enum:
            - response
          example: response
        created_at:
          type: number
          description: Unix-Zeitstempel der Erstellung (Sekunden)
          example: 1771486674
        model:
          type: string
          description: Tatsaechlich verwendeter Modellname und Version
          example: doubao-seed-2-0-code-preview-260215
        status:
          type: string
          description: |-
            Antwortstatus

            - `completed`: Generierung abgeschlossen
            - `in_progress`: Generierung laeuft
            - `incomplete`: Unvollstaendig
            - `failed`: Fehlgeschlagen
          enum:
            - completed
            - in_progress
            - incomplete
            - failed
          example: completed
        output:
          type: array
          description: Modellausgabe-Inhaltsliste
          items:
            $ref: '#/components/schemas/OutputItem'
        service_tier:
          type: string
          description: Service-Stufe dieser Anfrage
          example: default
        usage:
          $ref: '#/components/schemas/Usage'
        max_output_tokens:
          type: integer
          description: Maximale Ausgabe-Token-Anzahl des Modells
          example: 32768
        caching:
          type: object
          description: Cache-Konfiguration
          properties:
            type:
              type: string
              enum:
                - enabled
                - disabled
        store:
          type: boolean
          description: Ob die Antwort gespeichert wurde
          example: true
        expire_at:
          type: integer
          description: Speicher-Ablaufzeitpunkt (Unix-Zeitstempel)
          example: 1771745874
        error:
          type: object
          nullable: true
          description: Fehlerinformationen, bei Erfolg null
    ErrorResponse:
      type: object
      properties:
        error:
          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
    OutputItem:
      oneOf:
        - $ref: '#/components/schemas/ReasoningOutput'
        - $ref: '#/components/schemas/MessageOutput'
    Usage:
      type: object
      description: Token-Verbrauchsstatistiken
      properties:
        input_tokens:
          type: integer
          description: Anzahl der Eingabe-Token
          example: 88
        input_tokens_details:
          type: object
          description: Details zu Eingabe-Token
          properties:
            cached_tokens:
              type: integer
              description: Anzahl der gecachten Token
              example: 0
        output_tokens:
          type: integer
          description: Anzahl der Ausgabe-Token
          example: 230
        output_tokens_details:
          type: object
          description: Details zu Ausgabe-Token
          properties:
            reasoning_tokens:
              type: integer
              description: Anzahl der Reasoning/Chain-of-Thought-Token
              example: 211
        total_tokens:
          type: integer
          description: Gesamtanzahl der Token
          example: 318
    ReasoningOutput:
      title: Chain-of-Thought-Ausgabe
      type: object
      properties:
        id:
          type: string
          description: Ausgabeelement-ID
          example: rs_0217****404a
        type:
          type: string
          description: Ausgabetyp, hier reasoning
          enum:
            - reasoning
        summary:
          type: array
          description: Chain-of-Thought-Inhalt
          items:
            type: object
            properties:
              text:
                type: string
                description: Chain-of-Thought-Inhaltstext
              type:
                type: string
                description: Typ, fester Wert summary_text
                enum:
                  - summary_text
        status:
          type: string
          description: Status
          enum:
            - in_progress
            - completed
            - incomplete
          example: completed
    MessageOutput:
      title: Nachrichtenausgabe
      type: object
      properties:
        id:
          type: string
          description: Ausgabeelement-ID
          example: msg_0217****a93c
        type:
          type: string
          description: Ausgabetyp, hier message
          enum:
            - message
        role:
          type: string
          description: Rolle, fester Wert assistant
          enum:
            - assistant
        content:
          type: array
          description: Nachrichteninhaltsliste
          items:
            type: object
            properties:
              text:
                type: string
                description: Textinhalt
                example: Hallo! Schoen Sie zu sehen! Wie kann ich Ihnen helfen?
              type:
                type: string
                description: Inhaltstyp
                enum:
                  - output_text
              annotations:
                type: array
                nullable: true
                description: Anmerkungsinformationen
        status:
          type: string
          description: Status
          enum:
            - in_progress
            - completed
            - incomplete
          example: completed
  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

        ```

````