---
title: "DeerAPI Kling Avatar Task"
method: POST
path: "/kling/v1/videos/avatar/image2video"
---

# DeerAPI Kling Avatar Task

`POST /kling/v1/videos/avatar/image2video`

Use this field according to the endpoint schema.

## Headers

- `Content-Type` string

## Request body

- object
  - `image` string, required — Use this field according to the endpoint schema.
  - `audio_id` string — Use this field according to the endpoint schema.
  - `prompt` string, required — Use this field according to the endpoint schema.
  - `mode` string — Use this field according to the endpoint schema.
  - `sound_file` string — Use this field according to the endpoint schema.
  - `callback_url` string — Use this field according to the endpoint schema.
  - `external_task_id` string — Use this field according to the endpoint schema.

## Response `200`

Use this field according to the endpoint schema.

- object
  - `code` integer, required — Use this field according to the endpoint schema.
  - `message` string, required — Use this field according to the endpoint schema.
  - `request_id` string, required — Use this field according to the endpoint schema.
  - `data` object, required
    - `task_id` string, required — Use this field according to the endpoint schema.
    - `task_status` string, required — Use this field according to the endpoint schema.
    - `task_info` object, required
      - `external_task_id` string — Use this field according to the endpoint schema.
    - `created_at` integer, required — Use this field according to the endpoint schema.
    - `updated_at` integer, required — Use this field according to the endpoint schema.

---

[API](https://skmtc.net/deerapi/apis/text-to-audio-api.md) · [All operations](https://skmtc.net/deerapi/apis/text-to-audio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deerapi/text-to-audio-api/revisions/b6265ced74a1/schema)
