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

# Kling 1.0 API Documentation

> Kling 1.0 is the original Kling AI model for text and image to video generation, featuring moderate prompt adherence and quality. Learn how to integrate it for effortless video creation.

Check out Kling 1.0 API pricing [here](https://api.pollo.ai/pricing?modelName=kling-v1\&modelType=video), cheaper than Fal AI.


## OpenAPI

````yaml POST /generation/kling-ai/kling-v1
openapi: 3.0.3
info:
  title: Pollo | AI Video Collection
  description: ✨RESTful API Document
  version: 1.0.0
servers:
  - url: https://pollo.ai/api/platform
security: []
externalDocs:
  url: https://pollo.ai/api/platform/api/openapi.json
paths:
  /generation/kling-ai/kling-v1:
    post:
      tags:
        - generation
        - video generation
      summary: create video by text or image or reference image
      operationId: generation-kling-v12video
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  anyOf:
                    - type: object
                      properties:
                        image:
                          type: string
                          format: uri
                          description: >-
                            Only image URLs are accepted (HTTPS preferred);
                            base64 is not allowed.
                                        Supported formats include JPG, PNG, and JPEG.
                                        Image aspect ratio must be less than 1:4 or 4:1.
                        prompt:
                          type: string
                          maxLength: 2500
                          description: The prompt of the generation
                        imageTail:
                          type: string
                          format: uri
                          description: |-
                            URL of the tail image for video generation.
                                        Only image URLs are accepted (HTTPS preferred); base64 is not allowed.
                                        Supported formats include JPG, PNG, and JPEG.
                                        Image aspect ratio must be less than 1:4 or 4:1.
                        negativePrompt:
                          type: string
                          maxLength: 2500
                          description: The negative prompt of the generation
                        length:
                          type: number
                          enum:
                            - 5
                            - 10
                          default: 5
                          description: The length of the generation
                        strength:
                          type: number
                          minimum: 0
                          maximum: 100
                          default: 50
                          description: The prompt strength of the generation
                        mode:
                          type: string
                          enum:
                            - std
                            - pro
                            - 4k
                          default: std
                      required:
                        - image
                      additionalProperties: false
                      title: Image To Video
                    - type: object
                      properties:
                        prompt:
                          type: string
                          minLength: 1
                          maxLength: 2500
                          description: The prompt of the generation
                        aspectRatio:
                          type: string
                          enum:
                            - '16:9'
                            - '9:16'
                            - '1:1'
                          default: '16:9'
                        negativePrompt:
                          type: string
                          maxLength: 2500
                          description: The negative prompt of the generation
                        length:
                          type: number
                          enum:
                            - 5
                            - 10
                          default: 5
                          description: The length of the generation
                        strength:
                          type: number
                          minimum: 0
                          maximum: 100
                          default: 50
                          description: The prompt strength of the generation
                        mode:
                          anyOf:
                            - type: string
                              enum:
                                - std
                            - type: string
                              enum:
                                - pro
                          default: std
                        cameraControl:
                          anyOf:
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - simple
                                config:
                                  type: object
                                  properties:
                                    subType:
                                      type: string
                                      enum:
                                        - horizontal
                                        - vertical
                                        - pan
                                        - tilt
                                        - roll
                                        - zoom
                                    value:
                                      type: number
                                      minimum: -10
                                      maximum: 10
                                  required:
                                    - subType
                                    - value
                                  additionalProperties: false
                              required:
                                - type
                                - config
                              additionalProperties: false
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - down_back
                              required:
                                - type
                              additionalProperties: false
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - forward_up
                              required:
                                - type
                              additionalProperties: false
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - left_turn_forward
                              required:
                                - type
                              additionalProperties: false
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - right_turn_forward
                              required:
                                - type
                              additionalProperties: false
                      required:
                        - prompt
                      additionalProperties: false
                      title: Text To Video
                webhookUrl:
                  type: string
                clientSource:
                  type: string
                  minLength: 1
                  maxLength: 100
              required:
                - input
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  taskId:
                    type: string
                  status:
                    type: string
                    enum:
                      - waiting
                      - succeed
                      - failed
                      - processing
                required:
                  - taskId
                  - status
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - ApiKeyAuth: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key to authorize requests

````