ViduのロゴVidu動画

Vidu 2.0 (reference-to-video) API

MartLLMならVidu 2.0 (reference-to-video)で動画を生成できます。

vidu/vidu-2-0-reference-to-videoClaudeに接続APIキーを取得
もっと見る

開発元:Vidu。 このモデルはMartLLMが運用しているものではありません。 MartLLMでは、販売者が自身のプロバイダーアカウントを通じて提供しています。

リクエスト

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "vidu/vidu-2-0-reference-to-video",
  "prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
  "resolution": "720p",
  "duration_seconds": 4,
  "aspect_ratio": "16:9",
  "image_url": "https://example.com/photo.jpg"
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

UBERLLM_API_KEYにAPIキーを設定してください。 statusが"succeeded"になるまで5秒ごとに/v1/video/generations/<job id>を確認し、キーを使ってファイルをダウンロードします。失敗したジョブは理由が返され、料金はかかりません。 API詳細ガイド

オプション

タスク
画像から動画, 参照画像
解像度
720p
長さ
4秒
アスペクト比
16:9, 9:16, 1:1
入力画像
最大3
課金単位
動画1秒あたり
モデルID
vidu/vidu-2-0-reference-to-video

Vidu 2.0 (reference-to-video)を試す

設定

元画像

左の設定と同じリクエストです。そのままコピーできます。

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "vidu/vidu-2-0-reference-to-video",
  "prompt": "",
  "resolution": "720p",
  "duration_seconds": 4,
  "aspect_ratio": "16:9"
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

Vidu 2.0 (reference-to-video) APIの得意なこと

  • 1回のリクエストで最長4秒のクリップを生成。
  • お手持ちの画像をそのまま最初のフレームに使用。
  • 人物・商品・場所の参照画像を最大3枚。
  • アスペクト比:16:9, 9:16, 1:1。

サンプルから始める

01

写真を動かす

Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged

自分の画像で

02

商品写真を回転させる

The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background

自分の画像で

03

静止したシーンを動かす

The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame

自分の画像で

Vidu 2.0 (reference-to-video) APIパラメーター

パラメーター型説明
modelvidu/vidu-2-0-reference-to-video必須
promptstring必須. What to make.
image_urlstringいずれか1つ. The first frame: an https:// link or a data: URI.
input_imagesarray<string>, 最大3いずれか1つ. Several pictures (https:// links or data: URIs).
resolution720p任意 · 720p. The seller needs one: left out, 720p is sent.
duration_seconds4任意. Length in seconds. Left out: the model's shortest.
aspect_ratio16:9, 9:16, 1:1任意 · 16:9. Shape of the video. The seller needs one: left out, 16:9 is sent.

GET https://api.martllm.com/v1/models/vidu/vidu-2-0-reference-to-videoから取得。APIが各リクエストの検証に使うのと同じルールです。

Viduモデル比較

モデルモデルID最低価格(1秒あたり)最大最長
Vidu 2.0 (reference-to-video)vidu/vidu-2-0-reference-to-video720p4秒
Vidu Q3 Text-to-Videovidu/vidu-q3-text-to-video$0.1416秒
Vidu Q3 (image-to-video)vidu/vidu-q3-image-to-video$0.06661080p16秒
Vidu Q3 Turbo Text to Videovidu/viduq3-turbo-text-to-video$0.03171080p16秒
Vidu Q3 Turbo Image to Videovidu/viduq3-turbo-image-to-video$0.03171080p16秒
Vidu Q4vidu/vidu-q4-image-to-video$0.04034k16秒
Vidu Q4 Referencevidu/vidu-q4-reference-to-video$0.04034k16秒
Vidu 2.0 (text-to-video)vidu/vidu-2-0-text-to-video$0.0571720p8秒
Vidu Q1 (reference-to-video)vidu/vidu-q1-reference-to-video$0.07621080p5秒
Vidu Q1 (text-to-video)vidu/vidu-q1-text-to-video$0.07621080p5秒

Vidu 2.0 (reference-to-video) APIのよくある質問

Vidu 2.0 (reference-to-video)の料金はいくらですか?

Vidu 2.0 (reference-to-video)は表示価格で請求され、MartLLMの手数料は上乗せされません。失敗したリクエストは無料です。

Vidu 2.0 (reference-to-video)で動画を生成するには?

MartLLMキー、モデル「vidu/vidu-2-0-reference-to-video」、プロンプトを指定してhttps://api.martllm.com/v1/video/generationsにPOSTリクエストを送信します。ジョブIDが返されるので、「succeeded」になるまでhttps://api.martllm.com/v1/video/generations/<job id>に問い合わせを行い、その後https://api.martllm.com/v1/media/artifacts/<job id>/0からダウンロードしてください。

ガイド

類似モデルと比較