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

# Kling Apparel Summary



## OpenAPI

````yaml /openapi/kling.json post /kling/apparel
openapi: 3.0.0
info:
  title: Kling video generation
  version: 1.0.0
  description: API reference for Kling video generation on Ace Data Cloud.
servers:
  - url: https://api.acedata.cloud
    description: Ace Data Cloud API
security:
  - bearerAuth: []
paths:
  /kling/apparel:
    post:
      summary: Kling Apparel Summary
      operationId: kling_create_apparel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - contents
              properties:
                contents:
                  type: array
                  minItems: 2
                  items:
                    oneOf:
                      - type: object
                        additionalProperties: false
                        required:
                          - type
                          - text
                        properties:
                          type:
                            type: string
                            enum:
                              - product_info
                          text:
                            type: string
                            minLength: 1
                            maxLength: 2500
                      - type: object
                        additionalProperties: false
                        required:
                          - type
                          - url
                        properties:
                          type:
                            type: string
                            enum:
                              - source_video
                          url:
                            type: string
                            minLength: 1
                      - type: object
                        additionalProperties: false
                        required:
                          - type
                          - url
                        properties:
                          type:
                            type: string
                            enum:
                              - product_image
                          url:
                            type: string
                            minLength: 1
                      - type: object
                        additionalProperties: false
                        required:
                          - type
                          - url
                        properties:
                          type:
                            type: string
                            enum:
                              - model_image
                          url:
                            type: string
                            minLength: 1
                      - type: object
                        additionalProperties: false
                        required:
                          - type
                          - url
                        properties:
                          type:
                            type: string
                            enum:
                              - bgm
                          url:
                            type: string
                            minLength: 1
                      - type: object
                        additionalProperties: false
                        required:
                          - type
                          - voice_id
                        properties:
                          type:
                            type: string
                            enum:
                              - voice
                          voice_id:
                            type: string
                            minLength: 1
                            maxLength: 128
                  description: Kling Apparel Contents
                settings:
                  type: object
                  additionalProperties: false
                  properties:
                    resolution:
                      type: string
                      enum:
                        - 720p
                        - 1080p
                      default: 720p
                    aspect_ratio:
                      type: string
                      enum:
                        - '9:16'
                        - '2:3'
                        - '3:4'
                        - '1:1'
                        - '4:3'
                        - '3:2'
                        - '16:9'
                        - '21:9'
                watermark:
                  type: boolean
                  description: Kling Apparel Watermark
                async:
                  type: boolean
                  default: false
                  description: Kling Apparel Async
                callback_url:
                  type: string
                  format: uri
                  description: Kling Apparel Callback
      responses:
        '200':
          description: Kling Apparel Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  task_id:
                    type: string
                  trace_id:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        type:
                          type: string
                          enum:
                            - image
                            - video
                        image_url:
                          type: string
                        video_url:
                          type: string
                        watermark_url:
                          type: string
                  usage:
                    type: object
                    properties:
                      seconds:
                        type: number
                        readOnly: true
                      image_count:
                        type: integer
                        readOnly: true
                      pricing_tier:
                        type: string
                        readOnly: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token from https://platform.acedata.cloud

````