コンテンツへスキップ

Pika Scenes (v2.2)

統合

モデルID pika/v2.2/pikascenes
# 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/pika/v2.2/pikascenes?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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.45 450 APIクレジット このページで実行

APIキーを取得
Pika 画像から動画 5–10 s1080pまで #editing#effects#animation

複数の参照画像を1本の動画に結合し、精密またはクリエイティブなブレンドに対応

Pika · 動画

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

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

リクエストを作成

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

•必須

生成する動画のテキスト説明。

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

動画に結合するソース画像を識別するURL。

duration 5 s

出力動画の長さ(秒)。

aspect_ratio デフォルト 16:9

出力動画のアスペクト比。

resolution デフォルト 1080p

出力動画の解像度。

詳細設定 negative_prompt · ingredients_mode · seed
デフォルト ugly, bad, terrible

モデルガイダンスに使用するネガティブプロンプト。

ingredients_mode デフォルト precise

複数画像統合モード。preciseモードの高い精度、またはcreativeモードの高い創造性から選択できます。

乱数生成器が使用するシード値。

POST /run/pika/v2.2/pikascenes?wait=20 見積もり → $0.45
# 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/pika/v2.2/pikascenes?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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キーを取得

Pika Scenes (v2.2)について

`image_urls`の複数画像を、必須の`prompt`に従って1本のクリップに統合します。`ingredients_mode`は、元画像に近いpreciseと、より自由なcreativeを切り替えます。7種類のアスペクト比、720pまたは1080p(既定値1080p)、5秒または10秒の長さに対応します。

パラメータ

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

名前型 デフォルト許可される値 説明
image_urls必須 images
型url[] · image
動画に結合するソース画像を識別するURL。
prompt必須
型string
生成する動画のテキスト説明。
negative_prompt任意
型string
デフォルトugly, bad, terrible
モデルガイダンスに使用するネガティブプロンプト。
seed任意
型integer | null
乱数生成器が使用するシード値。
aspect_ratio任意
型enum
デフォルト16:9
16:99:161:14:55:43:22:3
出力動画のアスペクト比。
resolution任意
型enum
デフォルト1080p
720p1080p
出力動画の解像度。
duration任意
型enum
デフォルト5
510
出力動画の長さ(秒)。
ingredients_mode任意
型enum
デフォルトprecise
precisecreative
複数画像統合モード。preciseモードの高い精度、またはcreativeモードの高い創造性から選択できます。
必須 正式名称(こちらも使用可能)

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

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "pika/v2.2/pikascenes",
  "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": 450,
    "usd": "0.45",
    "charged": 450,
    "refunded": 0
  },
  "input": {
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    }
  },
  "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}複数画像から組み立てられた生成動画。

その他のモデル: 画像から動画

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/pika/v2.2/pikascenes.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt