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

# Kling V2.1 Master テキストから動画生成

Kling V2.1 テキストから動画生成は、快手 AI チームが開発した最新世代のテキストから動画を生成するモデルです。入力テキストに基づいて、高品質で映画レベルの短編動画をワンクリックで生成できます。Kling 2.0 と比べて、2.1 バージョンでは動きの滑らかさ、画面の一貫性、プロンプト理解などの面で大きな進化を遂げています。

<Tip>
  これは**非同期**API であり、非同期タスクの task\_id のみを返します。この task\_id を使用して [タスク結果照会 API](/ja/docs/models/reference-get-async-task-result) をリクエストし、動画生成結果を取得してください。
</Tip>

## リクエストヘッダー

<ParamField header="Content-Type" type="string" required={true}>
  列挙値: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer 認証形式: Bearer \{\{API Key}}。
</ParamField>

## リクエストボディ

<ParamField body="prompt" type="string" required={true}>
  生成をガイドするポジティブなテキストプロンプト。長さは 2500 文字以内です。
</ParamField>

<ParamField body="duration" type="string" default="5">
  生成する動画の長さ（秒）。

  指定可能な値：`5`、`10`
</ParamField>

<ParamField body="aspect_ratio" type="string" default="16:9">
  出力動画のアスペクト比。

  指定可能な値：`16:9`、`9:16`、`1:1`
</ParamField>

<ParamField body="guidance_scale" type="number" default={0.5}>
  ガイダンス強度パラメータ。生成コンテンツとプロンプトの一致度を制御します。

  値の範囲：0 から 1<br />
  ステップ：0.1
</ParamField>

<ParamField body="negative_prompt" type="string">
  ネガティブプロンプト。望ましくない内容の出現を回避するために使用します。長さは 2500 文字以内です。
</ParamField>

## レスポンス情報

<ResponseField name="task_id" type="string" required={true}>
  非同期タスクの task\_id。この task\_id を使用して [タスク結果照会 API](/ja/docs/models/reference-get-async-task-result) をリクエストし、生成結果を取得してください
</ResponseField>
