> ## 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 2.1 Master は Kling 2.1 シリーズのフラッグシップ版で、最高レベルの画像から動画生成能力を備え、極めて滑らかなモーション、映画級のビジュアル効果、卓越したプロンプト理解力を持ち、1080p HD 動画出力にも対応しています。

<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="image" type="string" required={true}>
  動画の最初のフレーム画像。対応する画像形式は `.jpg`、`.jpeg`、`.png` です。画像ファイルサイズは 10MB を超えてはならず、解像度は 300\*300 ピクセル以上である必要があります。
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  生成する動画のポジティブプロンプトテキスト。2500 文字を超えることはできません。
</ParamField>

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

  選択可能な値：`5`、`10`
</ParamField>

<ParamField body="guidance_scale" type="number" default={0.5}>
  ガイダンス強度パラメータ。生成内容がプロンプトにどの程度一致するかを制御します。

  取り得る範囲：0 から 1<br />
  ステップ：0.01
</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>
