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

# seedream-5.0-lite-t2i

> Generate images from text with seedream-5-0-lite-260128. The model supports single-image and coherent batch image output. For specific content requests, select the Special-Ns resource group.

<Info>
  For specific content requests, select the **Special-Ns** resource group.
</Info>


## OpenAPI

````yaml api-reference/model-api/bytedance/openapi/seedream-5-0-lite-260128-t2i/openapi.yaml POST /v1/images/generations
openapi: 3.1.0
info:
  title: Seedream 5.0 Lite t2i
  description: >-
    Generate single images and coherent image sets from text with Seedream 5.0
    Lite.
  version: 1.0.0
servers:
  - url: https://www.anyfast.ai
security:
  - bearerAuth: []
paths:
  /v1/images/generations:
    post:
      summary: Generate images from text
      description: >-
        Generate images from text with seedream-5-0-lite-260128. The model
        supports single-image and coherent batch image output. For specific
        content requests, select the Special-Ns resource group.
      operationId: generateSeedream50LiteTextToImage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - prompt
              properties:
                model:
                  type: string
                  enum:
                    - seedream-5-0-lite-260128
                  description: Model ID.
                  example: seedream-5-0-lite-260128
                prompt:
                  type: string
                  description: Text instruction for image generation or editing.
                  example: >-
                    Create four coherent cinematic storyboard frames of an
                    astronaut repairing a spacecraft.
                size:
                  type: string
                  description: >-
                    Resolution tier 2K, 3K, or 4K, or a supported explicit pixel
                    size.
                  example: 2K
                seed:
                  type: integer
                  format: int32
                  description: Random seed used to make repeated requests more consistent.
                sequential_image_generation:
                  type: string
                  enum:
                    - auto
                    - disabled
                  default: disabled
                  description: >-
                    Set to auto to allow coherent batch image output; disabled
                    returns one image.
                sequential_image_generation_options:
                  type: object
                  description: >-
                    Batch output options. Used when sequential_image_generation
                    is auto.
                  properties:
                    max_images:
                      type: integer
                      minimum: 1
                      description: Maximum number of images to generate.
                      example: 4
                response_format:
                  type: string
                  enum:
                    - url
                    - b64_json
                  default: url
                  description: >-
                    Return generated images as temporary URLs or Base64 data.
                    URLs expire after 24 hours.
                output_format:
                  type: string
                  enum:
                    - png
                    - jpeg
                  default: jpeg
                  description: Generated image file format.
                watermark:
                  type: boolean
                  default: true
                  description: Whether to add an AI-generated watermark.
                optimize_prompt_options:
                  type: object
                  description: Prompt optimization configuration.
                  properties:
                    mode:
                      type: string
                      enum:
                        - standard
                      description: Seedream 5.0 Lite supports standard prompt optimization.
            examples:
              batchGeneration:
                summary: Generate a coherent image set
                value:
                  model: seedream-5-0-lite-260128
                  prompt: >-
                    Generate four coherent cinematic storyboard frames of an
                    astronaut repairing a spacecraft.
                  size: 2K
                  sequential_image_generation: auto
                  sequential_image_generation_options:
                    max_images: 4
                  output_format: png
                  response_format: url
                  watermark: false
      responses:
        '200':
          description: Images generated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageGenerationResponse'
        '400':
          description: Invalid request or unsupported parameter value.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ImageGenerationResponse:
      type: object
      properties:
        model:
          type: string
          description: Model used for generation.
          example: seedream-5-0-260128
        created:
          type: integer
          description: Creation time as a Unix timestamp in seconds.
          example: 1784880000
        data:
          type: array
          description: Generated image results.
          items:
            type: object
            properties:
              url:
                type: string
                description: Temporary generated image URL when response_format is url.
                example: https://example.com/generated-image.png
              b64_json:
                type: string
                description: Base64 image data when response_format is b64_json.
              size:
                type: string
                description: Generated image dimensions.
                example: 2048x2048
        usage:
          type: object
          properties:
            generated_images:
              type: integer
              description: Number of generated images.
              example: 4
            output_tokens:
              type: integer
              description: Output tokens consumed.
            total_tokens:
              type: integer
              description: Total tokens consumed.
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            type:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````