---
title: "创建文生视频任务"
method: POST
path: "/v1/videos/create/kling/text2video"
tags: ["官方视频格式/可灵"]
---

# 创建文生视频任务

`POST /v1/videos/create/kling/text2video`

## Request

- The document declares no server URL.
- Auth: none required
- TypeScript: <https://skmtc.dev/agicto/apis/docs-agicto-com/docs/v1/videos/create/kling/text2video/post.ts> (a function with typed inputs; its response is checked against the schema)

官方文档：https://app.klingai.com/cn/dev/document-api/apiReference/model/textToVideo

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body `multipart/form-data`

- object
  - `model` string, required: 模型名称kling-v1、kling-v1-6、kling-v2-1-master、kling-v2-master、kling-v2-5-turbo、kling-v2-6

## Response `200`

- object

---

[API](https://skmtc.dev/agicto/apis/docs-agicto-com.md) - [All operations](https://skmtc.dev/agicto/apis/docs-agicto-com/llms.txt) - [OpenAPI document](https://skmtc.dev/agicto/apis/docs-agicto-com/revisions/24c455eca4b1?raw)
