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

# SeeDreamV4.5 Image Generation

> Generate images using Volcengine SeeDream V4.5 model, supports batch generation with enhanced quality



## OpenAPI

````yaml /api-reference/image/openapi.json post /v1/images/seedreamv45
openapi: 3.0.3
info:
  title: Images Service API
  description: >-
    AI Image Generation Service API - Provides various AI model image
    generation, task query and history record functions
  version: 1.0.0
  contact:
    name: API Support
servers:
  - url: https://api.tensorslab.com
    description: Development environment
security: []
tags:
  - name: Image Generation
    description: Image generation related interfaces
  - name: Task Management
    description: Task management related interfaces
paths:
  /v1/images/seedreamv45:
    post:
      tags:
        - Image Generation
      summary: SeeDreamV4.5 Image Generation
      description: >-
        Generate images using Volcengine SeeDream V4.5 model, supports batch
        generation with enhanced quality
      operationId: seeDreamV45
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                category:
                  type: string
                  description: Category identifier, default is seedreamv45
                  default: seedreamv45
                prompt:
                  type: string
                  description: Prompt (required)
                batchsize:
                  type: integer
                  description: Batch generation quantity, 1-15
                  minimum: 1
                  maximum: 15
                  default: 1
                resolution:
                  type: string
                  description: >-
                    Image resolution. Support formats: 1) Aspect ratio (9:16,
                    16:9, 3:4, 4:3, 1:1, 2:3, 3:2), 2) Resolution level (2K,
                    4K), 3) Specific dimensions (e.g., 2048x2048).


                    When specifying dimensions, the following constraints must
                    be met:

                    - Total pixels range: [3,686,400, 16,777,216] (e.g., from
                    2560x1440 to 4096x4096)


                    Example: 3750x1250 is valid (pixels: 4,687,500). 1500x1500
                    is invalid (pixels: 2,250,000, below minimum).
                  example: 2K
                  default: 2K
                sourceImage:
                  type: array
                  items:
                    type: string
                    format: binary
                  description: Source image file
                imageUrl:
                  type: string
                  description: Source image URL
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneralResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    code: 1000
                    msg: Task created successfully
                    data:
                      taskid: abcd_1234567890abcdef
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GeneralResponse:
      type: object
      description: General response
      allOf:
        - $ref: '#/components/schemas/BaseResponse'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/GeneralData'
          required:
            - data
    BaseResponse:
      type: object
      description: Base response structure
      properties:
        code:
          type: integer
          description: >-
            Response status code: 1000=Success, 9999=Failure, 9000=Insufficient
            Credits
        msg:
          type: string
          description: Response message
      required:
        - code
        - msg
    GeneralData:
      type: object
      description: General data response
      properties:
        taskid:
          type: string
          description: Task ID, used for subsequent task status query
        url:
          type: string
          description: Generated image URL (returned by some interfaces)
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API Key authentication, please include the Authorization field in the
        request header

````