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

# Seedream 4.5 T2I

> [Core Function] Seedream 4.5 T2I is a high-fidelity visual creation model. [Strengths] It provides all-round improvements in consistency, aesthetics, and photorealism, supporting high-definition outputs up to 4K resolution. [Best For] Highly recommended for: professional visual creatives, photorealistic artwork, and high-res commercial graphics. [Limitations] It lacks the real-time web search and advanced reasoning capabilities of the 5.0 Lite model. [Routing] Use this model when the priority is absolute visual fidelity, resolution (4K), and consistency without the need for real-time search.



## OpenAPI

````yaml /media-model-api/bytedance/bytedance-t2i.json post /bytedance/seedream-4.5-t2i
openapi: 3.1.0
info:
  description: The text-to-image models API from ByteDance.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: ByteDance Text-to-Image Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The text-to-image models API from ByteDance.
security:
  - bearerAuth: []
paths:
  /bytedance/seedream-4.5-t2i:
    post:
      summary: Seedream 4.5 T2I
      description: >-
        [Core Function] Seedream 4.5 T2I is a high-fidelity visual creation
        model. [Strengths] It provides all-round improvements in consistency,
        aesthetics, and photorealism, supporting high-definition outputs up to
        4K resolution. [Best For] Highly recommended for: professional visual
        creatives, photorealistic artwork, and high-res commercial graphics.
        [Limitations] It lacks the real-time web search and advanced reasoning
        capabilities of the 5.0 Lite model. [Routing] Use this model when the
        priority is absolute visual fidelity, resolution (4K), and consistency
        without the need for real-time search.
      operationId: seedream45T2iAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Seedream45T2iRequest'
            examples:
              basic:
                summary: High quality 2K generation
                value:
                  prompt: >-
                    Majestic dragon flying over medieval castle, epic fantasy
                    art
              ultra_hd:
                summary: 4K ultra high quality
                value:
                  prompt: >-
                    Photorealistic portrait of a warrior, intricate armor
                    details
                  size: 4096x4096
                  sequential_image_generation: auto
                  optimize_prompt_mode: standard
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
              example:
                code: 0
                message: success
                data:
                  status: pending
                  task_id: task-ghi789
                  model_id: model-123
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-ghi789
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    Seedream45T2iRequest:
      type: object
      required:
        - prompt
      properties:
        prompt:
          type: string
          description: >-
            Image description text, supports Chinese and English. Maximum 10000
            characters. We recommend keeping the prompt under 600 words.
            Excessively long prompts may scatter information, causing the model
            to overlook details and focus only on major elements, which can
            result in missing details in the generated image.
          minLength: 1
          maxLength: 10000
          example: Majestic dragon flying over medieval castle, epic fantasy art
        size:
          type: string
          description: >-
            Image size in format 'widthxheight'. Minimum pixels: 2560x1440
            (approx 2K) = 3,686,400. Range: Total pixels 3,686,400 to
            16,777,216, aspect ratio 1/16 to 16
          default: 2048x2048
          example: 2048x2048
        sequential_image_generation:
          type: string
          enum:
            - auto
            - disabled
          description: Batch generation mode
          default: disabled
          example: auto
        sequential_image_generation_max_images:
          type: integer
          description: Maximum number of images for batch generation
          default: 5
          minimum: 1
          maximum: 15
          example: 5
        optimize_prompt_mode:
          type: string
          enum:
            - standard
          description: Prompt optimization mode. Only 'standard' mode is supported for 4.5
          default: standard
          example: standard
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier
              example: task-abc123
            model_id:
              type: string
              description: Model ID
              example: model-123
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  description: HTTP method
                  example: GET
                url:
                  type: string
                  description: Full URL to query the task result
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
    ErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: Error code (equals HTTP status code)
          example: 400
        message:
          type: string
          description: 'Error message in format ''Category: detail'''
          example: 'Invalid parameters: parameter ''prompt'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: 'Invalid parameters: parameter ''prompt'' is required'
    Unauthorized:
      description: Unauthorized - Invalid or missing API Key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: 'Authentication failed: invalid API key'
    TooManyRequests:
      description: Too many requests - Rate limit exceeded
      headers:
        X-RateLimit-Limit:
          description: Maximum requests per minute
          schema:
            type: integer
            example: 100
        X-RateLimit-Remaining:
          description: Remaining quota in current window
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Rate limit window reset time (Unix timestamp)
          schema:
            type: integer
            example: 1704067260
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 429
            message: >-
              Rate limit exceeded: 100 requests per minute, retry after 60
              seconds
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 500
            message: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````