> ## 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 Talking Photo

> Kling Talking Photo



## OpenAPI

````yaml /openapi/kling.json post /kling/talking-photo
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/talking-photo:
    post:
      summary: Kling Talking Photo
      description: Kling Talking Photo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - image_url
                - audio_url
              properties:
                image_url:
                  type: string
                  format: uri
                  description: Kling Talking Photo Image Url
                audio_url:
                  type: string
                  format: uri
                  description: Kling Talking Photo Audio Url
                prompt:
                  type: string
                  description: Kling Talking Photo Prompt
                model:
                  type: string
                  enum:
                    - kling-v1
                    - kling-v1-6
                    - kling-v2-master
                    - kling-v2-1-master
                    - kling-v2-5-turbo
                    - kling-v2-6
                  default: kling-v2-1-master
                  description: Kling Talking Photo Model
                duration:
                  type: integer
                  enum:
                    - 5
                    - 10
                  default: 5
                  description: Kling Talking Photo Duration
                mode:
                  type: string
                  enum:
                    - std
                    - pro
                  default: pro
                  description: Kling Talking Photo Mode
                callback_url:
                  type: string
                  format: uri
                  description: Kling Talking Photo Callback Url
                async:
                  type: boolean
                  default: false
                  description: Kling Talking Photo Async
      responses:
        '200':
          description: Kling Talking Photo Response 200
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  task_id: 0c0b4d3a-2f1e-4a6b-9c2d-2b3c4d5e6f70
                  video_id: '895055968777281546'
                  video_url: >-
                    https://platform2.cdn.acedata.cloud/kling/07a3ec65-9f7e-4a09-b7b7-282684082527.mp4
                  source_video_url: >-
                    https://platform2.cdn.acedata.cloud/kling/163ac822-1a15-4f5e-a2eb-465154df15af.mp4
                  duration: 5
                  state: succeed
        '400':
          description: Kling Talking Photo Response 400
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  error:
                    code: bad_request
                    message: image_url is required
        '401':
          description: Kling Talking Photo Response 401
          content:
            application/json:
              schema:
                type: object
                example:
                  error:
                    code: authorization_missing
        '500':
          description: Kling Talking Photo Response 500
          content:
            application/json:
              schema:
                type: object
                example:
                  error:
                    code: api_error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token from https://platform.acedata.cloud

````