Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

Vidu のロゴ

Vidu Q3 Turbo

テキストから動画 • Vidu

Markdown で表示Agent セットアップ
  • サードパーティ
  • ゼロデータ保持

Vidu Q3 Turbo は、音声対応と最大 16 秒のクリップを維持しつつ、低レイテンシの動画生成に最適化した Vidu Q3 の高速版です。

モデル情報
利用規約とライセンスリンク
詳細情報リンク
ゼロデータ保持はい
料金Cloudflare ダッシュボードで料金を見る

使い方

const response = await env.AI.run(
  'vidu/q3-turbo',
  { prompt: 'A cat lazily stretching on a sunlit windowsill', duration: 5, resolution: '720p' },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "vidu/q3-turbo",
  "input": {
    "prompt": "A cat lazily stretching on a sunlit windowsill",
    "duration": 5,
    "resolution": "720p"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "video": "https://video.cf.vidu.com/infer_28/tasks/26/0417/05/942602832110972928/creation-01/video.mp4"
  },
  "state": "Completed"
}

高解像度 — 1080p で生成します
const response = await env.AI.run(
  'vidu/q3-turbo',
  {
    prompt:
      'Close-up of a hummingbird feeding from a vibrant red flower, slow motion with soft bokeh background',
    duration: 5,
    resolution: '1080p',
  },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "vidu/q3-turbo",
  "input": {
    "prompt": "Close-up of a hummingbird feeding from a vibrant red flower, slow motion with soft bokeh background",
    "duration": 5,
    "resolution": "1080p"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "video": "https://video.cf.vidu.com/infer_44/tasks/26/0417/05/942602894400569344/creation-01/video.mp4"
  },
  "state": "Completed"
}
ポートレート動画 — モバイル視聴向けの縦向き動画です
const response = await env.AI.run(
  'vidu/q3-turbo',
  {
    prompt: 'A waterfall cascading down mossy rocks in a tropical jungle, mist rising',
    aspect_ratio: '9:16',
    duration: 5,
    resolution: '720p',
  },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "vidu/q3-turbo",
  "input": {
    "prompt": "A waterfall cascading down mossy rocks in a tropical jungle, mist rising",
    "aspect_ratio": "9:16",
    "duration": 5,
    "resolution": "720p"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "video": "https://video.cf.vidu.com/infer_48/tasks/26/0417/05/942603057143758848/creation-01/video.mp4"
  },
  "state": "Completed"
}
長めの尺 — より長い動画クリップです
const response = await env.AI.run(
  'vidu/q3-turbo',
  {
    prompt:
      'Timelapse of clouds rolling over a mountain peak from sunrise to sunset, dramatic lighting',
    duration: 16,
    resolution: '720p',
  },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "vidu/q3-turbo",
  "input": {
    "prompt": "Timelapse of clouds rolling over a mountain peak from sunrise to sunset, dramatic lighting",
    "duration": 16,
    "resolution": "720p"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "video": "https://video.cf.vidu.com/infer_84/tasks/26/0417/06/942603162785705984/creation-01/video.mp4"
  },
  "state": "Completed"
}
低解像度の高速プレビュー — 540p のクイックプレビューです
const response = await env.AI.run(
  'vidu/q3-turbo',
  {
    prompt: 'A sailboat gliding across calm ocean waters at sunset',
    duration: 3,
    resolution: '540p',
  },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "vidu/q3-turbo",
  "input": {
    "prompt": "A sailboat gliding across calm ocean waters at sunset",
    "duration": 3,
    "resolution": "540p"
  }
}'
{
  "gatewayMetadata": {
    "keySource": "Unified"
  },
  "result": {
    "video": "https://video.cf.vidu.com/infer_68/tasks/26/0417/06/942603796612128768/creation-01/video.mp4"
  },
  "state": "Completed"
}

パラメーター

prompt
stringmaxLength: 5000動画に映すべき内容を説明するテキストプロンプトです
start_image
string動画生成の開始画像です。単独なら画像から動画、`end_image` と組み合わせると開始/終了から動画です。公開 URL または Base64 data URI(`data:image/png;base64,...`)を受け付けます
end_image
string開始/終了から動画向けの終了画像です。`start_image` と一緒に使います。公開 URL または Base64 data URI(`data:image/png;base64,...`)を受け付けます
duration
integer必須デフォルト: 5minimum: 1maximum: 16動画の長さ(秒、1〜16)です
resolution
string必須デフォルト: 720penum: 540p, 720p, 1080p動画の解像度です
audio
boolean音声と動画の同期を有効にします。Q3 モデルのデフォルトは true です。false の場合は無音の動画になります
aspect_ratio
stringenum: 16:9, 9:16, 3:4, 4:3, 1:1動画のアスペクト比です(テキストから動画のみ)。デフォルトは 16:9 です
video
stringformat: uri生成された動画の URL です

API スキーマ(Raw)

Input
Output

役に立ちましたか?