コンテンツへスキップ

LTX-2.3 22B · Extend Video

統合

モデルID ltx-2.3-22b/extend-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ltx-2.3-22b/extend-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

例と同様のファイル: $0.18 180 APIクレジット 実行前にファイルを計測します このページで実行

APIキーを取得
Lightricks 動画変換 ネイティブ音声

プロンプトから既存動画を延長し、音声を生成します。最後の画像も任意で指定できます

Lightricks · 動画

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須

動画生成の基礎となるプロンプト。

•必須 video_url
ファイルをドロップ、または

延長する動画を指すURL。

video_size デフォルト auto

生成された動画のサイズ。

デフォルト 121

生成する出力のフレーム数。

詳細設定 negative_prompt · end_image · scheduler · acceleration · camera_lora · video_output_type · video_quality · video_write_mode · extend_direction · fps · num_inference_steps · video_cfg_scale · video_stg_scale · video_rescaling_scale · video_modality_scale · audio_cfg_scale · audio_stg_scale · audio_rescaling_scale · audio_modality_scale · gradient_estimation_gamma · camera_lora_scale · distill_lora_first_pass_scale · distill_lora_second_pass_scale · num_context_frames · video_strength · audio_strength · end_image_strength · seed · use_multiscale · match_input_fps · use_restart_sampling · enable_prompt_expansion · enable_safety_checker
デフォルト news broadcast, 3d an...

動画生成時に使用するネガティブプロンプト。

end_image_url
ファイルをドロップ、または

延長動画の終了方法を定義する最終フレーム画像をURLで指定します。

scheduler デフォルト ltx2

スケジューラーの選択。

acceleration デフォルト regular

処理に適用する高速化レベル。

camera_lora デフォルト none

カメラ動作プロンプトだけの場合より正確に生成動画の動きを制御するCamera LoRAの選択。

video_output_type デフォルト X264 (.mp4)

結果動画の出力タイプ。

video_quality デフォルト high

結果動画の品質レベル。

video_write_mode デフォルト balanced

結果動画の書き込みモード。

extend_direction デフォルト forward

延長する側。'backward' は冒頭より前に内容を追加し、'forward' は末尾より後に内容を追加します。

デフォルト 24

出力動画のフレームレート。1秒あたりのフレーム数で測定します。

デフォルト 40

実行された推論ステップ数。

デフォルト 3

動画のガイダンス設定。値を上げると生成内容の一貫性と焦点が向上します。classifier-free guidance (CFG)を使用します。

デフォルト 0

Spatiotemporal Guidance (STG)スケールによる動画の一貫性と焦点の制御。値を上げると両方が強まります。

デフォルト 0.7

classifier-free guidanceと時空間ガイダンスのバランスを比率で調整する動画の再スケーリング設定。

デフォルト 3

動画と音声の寄与を比率で調整する動画モダリティ設定。

デフォルト 7

音声ガイダンス設定。値を上げると生成内容の一貫性と焦点が向上します。classifier-free guidance (CFG)を使用します。

デフォルト 0

Spatiotemporal Guidance (STG)スケールによる音声の一貫性と焦点の制御。値を上げると両方が強まります。

デフォルト 0.7

classifier-free guidanceと時空間ガイダンスのバランスを比率で調整する音声の再スケーリング設定。

デフォルト 3

動画と音声の寄与を比率で調整する音声モダリティ設定。

デフォルト 2

ノイズ除去勾配推定設定。0で推定を無効にし、それ以外では値がgammaを指定します。

デフォルト 1

カメラ動作プロンプトだけの場合より正確に生成動画の動きを制御するCamera LoRAの強度。

デフォルト 0.2

初回パスのdistill LoRAスケーリングを制御します。0で無効になります。

デフォルト 0.5

初回以降の各パスにおけるdistill LoRAスケーリングを制御します。

デフォルト 25

動画延長時にコンテキストとして使用するフレーム数。

デフォルト 1

動画内容を変更する自由度を制御する条件付け強度。値が小さいほどモデルの裁量が大きくなります。

デフォルト 1

音声内容を変更する自由度を制御する条件付け強度。値が小さいほどモデルの裁量が大きくなります。

デフォルト 1

終了画像が生成動画に与える影響の強さを制御します。

乱数生成を初期化するシード値。

POST /run/ltx-2.3-22b/extend-video?wait=20 見積もり → $0.18
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ltx-2.3-22b/extend-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

LTX-2.3 22B · Extend Videoについて

`video_url`と`prompt`を受け取り、`num_frames`フレーム(9~481)の続きの映像を生成します。任意の`end_image_url`で延長の終了位置を設定できます。`match_input_fps`でソースのフレームレートを維持し、`generate_audio`で音声を追加します。`video_size`のデフォルトはautoです。出力形式にはmp4、webm、mov、GIFを指定できます。

パラメータ

正式名称またはネイティブ名のいずれか一方を送信してください。両方は送信しないでください。 正式名称

名前型 デフォルト許可される値 説明
prompt必須
型string
動画生成の基礎となるプロンプト。
video_url必須 video
型url · video
延長する動画を指すURL。
end_image_url任意 end_image
型url · image
延長動画の終了方法を定義する最終フレーム画像をURLで指定します。
num_frames任意
型integer
デフォルト121
9 – 481
生成する出力のフレーム数。
video_size任意
型object
デフォルトauto
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
生成された動画のサイズ。
generate_audio任意
型boolean
デフォルトtrue
動画に生成された音声を含めるかどうかを制御します。
use_multiscale任意
型boolean
デフォルトtrue
一貫性とディテールを向上させるマルチスケール生成の切り替え。True の場合、小さな予備動画で、要求寸法以上のサイズになる2回目の生成を誘導します。
match_input_fps任意
型boolean
デフォルトtrue
出力フレームレートの上書き。有効にするとデフォルトの目標FPSをソース動画のFPSに置き換えます。
fps任意
型number
デフォルト24
1 – 60
出力動画のフレームレート。1秒あたりのフレーム数で測定します。
num_inference_steps任意
型integer
デフォルト40
8 – 50
実行された推論ステップ数。
video_cfg_scale任意
型number
デフォルト3
1 – 20
動画のガイダンス設定。値を上げると生成内容の一貫性と焦点が向上します。classifier-free guidance (CFG)を使用します。
video_stg_scale任意
型number
デフォルト0
0 – 20
Spatiotemporal Guidance (STG)スケールによる動画の一貫性と焦点の制御。値を上げると両方が強まります。
video_rescaling_scale任意
型number
デフォルト0.7
0 – 1
classifier-free guidanceと時空間ガイダンスのバランスを比率で調整する動画の再スケーリング設定。
video_modality_scale任意
型number
デフォルト3
0 – 10
動画と音声の寄与を比率で調整する動画モダリティ設定。
audio_cfg_scale任意
型number
デフォルト7
1 – 20
音声ガイダンス設定。値を上げると生成内容の一貫性と焦点が向上します。classifier-free guidance (CFG)を使用します。
audio_stg_scale任意
型number
デフォルト0
0 – 20
Spatiotemporal Guidance (STG)スケールによる音声の一貫性と焦点の制御。値を上げると両方が強まります。
audio_rescaling_scale任意
型number
デフォルト0.7
0 – 1
classifier-free guidanceと時空間ガイダンスのバランスを比率で調整する音声の再スケーリング設定。
audio_modality_scale任意
型number
デフォルト3
0 – 10
動画と音声の寄与を比率で調整する音声モダリティ設定。
gradient_estimation_gamma任意
型number
デフォルト2
0 – 10
ノイズ除去勾配推定設定。0で推定を無効にし、それ以外では値がgammaを指定します。
use_restart_sampling任意
型boolean
デフォルトfalse
動画品質向上の可能性がある再起動サンプリングの切り替え。有効にすると各ノイズ除去ステップで少量のノイズを導入します。
scheduler任意
型enum
デフォルトltx2
ltx2linear_quadraticbeta
スケジューラーの選択。
acceleration任意
型enum
デフォルトregular
noneregularhighfull
処理に適用する高速化レベル。
camera_lora任意
型enum
デフォルトnone
dolly_indolly_outdolly_leftdolly_rightjib_upjib_downstaticnone
カメラ動作プロンプトだけの場合より正確に生成動画の動きを制御するCamera LoRAの選択。
camera_lora_scale任意
型number
デフォルト1
0 – 1
カメラ動作プロンプトだけの場合より正確に生成動画の動きを制御するCamera LoRAの強度。
negative_prompt任意
型string
デフォルトnews broadcast, 3d animation, computer graphics, pc game, console game, video game, cartoon, childish, watermark, logo, text, on screen text, subtitles, titles, signature, slowmo, static
動画生成時に使用するネガティブプロンプト。
seed任意
型integer | null
乱数生成を初期化するシード値。
enable_prompt_expansion任意
型boolean
デフォルトtrue
プロンプト拡張を有効にするかどうかを制御します。
enable_safety_checker任意
型boolean
デフォルトtrue
安全性チェックを有効にするかどうかを制御します。
video_output_type任意
型enum
デフォルトX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
結果動画の出力タイプ。
video_quality任意
型enum
デフォルトhigh
lowmediumhighmaximum
結果動画の品質レベル。
video_write_mode任意
型enum
デフォルトbalanced
fastbalancedsmall
結果動画の書き込みモード。
distill_lora_first_pass_scale任意
型number
デフォルト0.2
0 – 1
初回パスのdistill LoRAスケーリングを制御します。0で無効になります。
distill_lora_second_pass_scale任意
型number
デフォルト0.5
0 – 1
初回以降の各パスにおけるdistill LoRAスケーリングを制御します。
extend_direction任意
型enum
デフォルトforward
forwardbackward
延長する側。'backward' は冒頭より前に内容を追加し、'forward' は末尾より後に内容を追加します。
num_context_frames任意
型integer
デフォルト25
0 – 121
動画延長時にコンテキストとして使用するフレーム数。
video_strength任意
型number
デフォルト1
0 – 1
動画内容を変更する自由度を制御する条件付け強度。値が小さいほどモデルの裁量が大きくなります。
audio_strength任意
型number
デフォルト1
0 – 1
音声内容を変更する自由度を制御する条件付け強度。値が小さいほどモデルの裁量が大きくなります。
end_image_strength任意
型number
デフォルト1
0 – 1
終了画像が生成動画に与える影響の強さを制御します。
必須 正式名称(こちらも使用可能)

ファイルパラメータには、公開されたhttps:// URL、10 MBまでのdata: URI、またはアップロードしたファイルのfile_urlを指定します。 ファイル

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3-22b/extend-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 180,
    "usd": "0.18",
    "charged": 180,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "prompt": "A woman stands still amid a busy neon-lit street at night. The camera slowly dollies in toward her face as people blur past, their motion emphasizing her calm presence. City lights flicker and reflections shift across her denim jacket."
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}モデルが生成した動画。
seed
integer乱数生成の初期化に使用するシード値。
prompt
string生成を誘導するプロンプト。

その他のモデル: 動画変換

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/ltx-2.3-22b/extend-video.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt