Opennan

Copy a video

提供中

Send a video link. Get its shots with start and end times, the action, the camera move, the dialogue and an opening frame for each, plus the characters in it. Paid per started minute of video.

$1.223 per minuteFailed runs are not charged.

Copy a video

入力

  • night-race-input-c33d9d94.mp4Reading the length…

$1.223 per started minute.

These tools need an API key with the api:opennan scope: paste one under Use API key to run them.

出力

例
出力の例Made with these inputs

4 shots

Length 0:08.00 · No watermark

  1. Shot 11

    0:00.00 – 0:01.96

    A black classic muscle car and a grey modern sports car sit side-by-side at a red traffic light on a wet, neon-lit city street at night, both stationary with brake lights glowing.

    Camera: static low-angle rear shot

  2. Shot 22

    0:01.96 – 0:06.42

    A dark-haired male driver stares forward with intense, focused eyes reflected in the rain-streaked rearview mirror, his sweaty face framed by blurred neon bokeh behind the wet windshield.

    Camera: static extreme close-up, rearview mirror

  3. Shot 33

    0:06.42 – 0:07.62

    A leather-gloved hand grips a spherical gear shifter and pushes it forward through a gear change, the wrist rotating slightly as the shift completes inside the dark cabin.

    Camera: static close-up, gear shifter

  4. Shot 44

    0:07.62 – 0:08.00

    A leather-gloved hand holds the gear shifter steady in its shifted position inside the dark car interior, the red-trimmed jacket sleeve visible and the cabin otherwise still.

    Camera: static close-up, gear shifter

1 characters

  • Character 1 · A man with dark hair, thick eyebrows, and a sweaty, intense face, seen driving a car at night.

仕組み

  1. 01Send the videoAn https link, trimmed to the part you need.
  2. 02We break it downEvery cut found, every shot described and checked.
  3. 03Get the breakdownShots, frames and characters, ready to recreate.

コードから Copy a video を呼び出す

One endpoint and one key, on the same balance as the playground. The request below is the example's own.

POSThttps://api.opennan.com/v1/copy-video/detections
  1. API キーを取得

    コンソールでキーを作成します。プレイグラウンドと同じ残高を使います。

    キーを作成
  2. 最初のリクエストを送る

    プレイグラウンドが送るのと同じリクエストです。OPENNAN_KEY にキーを設定してください。

    curl https://api.opennan.com/v1/copy-video/detections \
      -H "Authorization: Bearer $OPENNAN_KEY" \
      -H "Content-Type: application/json" \
      -d '{"video_url":"https://cdn.opennan.com/examples/copy-video-detect/night-race-input-c33d9d94.mp4"}'
    
    # Then poll until "status" is "succeeded" or "failed":
    curl https://api.opennan.com/v1/tasks/<task id> -H "Authorization: Bearer $OPENNAN_KEY"
  3. タスクを確認する

    呼び出すとすぐにタスク ID が返ります。終わるまでタスクを確認します:

    GEThttps://api.opennan.com/v1/tasks/{id}
    queued
    ワーカーの空き待ち
    running
    生成中
    succeeded
    完了: outputs[].url にファイルがあります
    failed
    失敗: 料金はかかりません

エラーと直し方

  • 401キーがない、または間違っている

    コンソールで作ったキーを Authorization: Bearer ヘッダーで送ってください。

  • 402残高不足

    請求ページで残高を追加し、同じ呼び出しをもう一度送ってください。

  • 400受け付けられない値がある

    error.message にフィールド名が出ます。パラメーター表の値を使ってください。

  • 429リクエストが多すぎる

    数秒待ってから再試行し、429 が続くたびに待ち時間を延ばしてください。

AI アプリに Opennan を追加

一度の設定で、AI が Opennan のすべてのツールを使えます:動画、画像、チャット、音声、音楽、効果音、3D、字幕、吹き替え。お使いのアプリを選んで手順に従ってください。

MCP サーバーhttps://api.opennan.com/v1/mcp

Codex CLI、Codex アプリ、Codex の IDE 拡張で使えます(共通の ~/.codex/config.toml)。アプリや IDE が OPENNAN_KEY を読めない場合は、キーを書いた config.toml の方法を使ってください。Codex はツールを呼ぶ前に確認するので、承認して続けます。

  1. API キーを取得

    コンソールでキーを作成します。sk- で始まり、サイトと同じ残高を使います。

    キーを作成
  2. キーを OPENNAN_KEY として保存

    # macOS / Linux (zsh shown; bash: ~/.bashrc)
    echo 'export OPENNAN_KEY="sk-..."' >> ~/.zshrc
    source ~/.zshrc
    
    # Windows (PowerShell), then open a new terminal
    setx OPENNAN_KEY "sk-..."
  3. Opennan プラグインをインストール:サーバーと、モデル選び・価格確認・結果待ちを AI に教えるスキルが入ります

    codex plugin marketplace add Opennan/opennan-ai-plugin
    codex plugin add opennan@opennan
  4. またはサーバーだけを追加

    codex mcp add opennan --url https://api.opennan.com/v1/mcp --bearer-token-env-var OPENNAN_KEY
  5. または ~/.codex/config.toml にこれを追加

    [mcp_servers.opennan]
    url = "https://api.opennan.com/v1/mcp"
    http_headers = { Authorization = "Bearer sk-..." }
  6. opennan が一覧にあるか確認

    codex mcp list
  7. Codex を再起動して、何でも頼んでください

    “ネオン街に降る雨の 5 秒動画と、それに合う曲とポスター画像を作って。”

sk-... をご自身のキーに置き換え、他人に見せないでください。キーを持つ人は残高を使えます。キーがなくてもツール一覧は表示できますが、生成にはキーが必要です。

AI エージェントから使う

エージェントに Opennan の MCP サーバーを追加して、このツールを呼び出します。

ツール
detect_copy_video_shots
引数の例
{
  "video_url": "https://cdn.opennan.com/examples/copy-video-detect/night-race-input-c33d9d94.mp4"
}

Copy a video: よくある質問

Copy a video の料金は?

$1.223 per minute. The Run button shows the exact price for your input before you start.

コードから呼び出すには?

API キーを付けて POST https://api.opennan.com/v1/copy-video/detections を送ります。タスク ID が返るので、成功か失敗になるまで https://api.opennan.com/v1/tasks/{id} を確認します。

AI エージェントから使えますか?

はい。MCP サーバー https://api.opennan.com/v1/mcp を追加して detect_copy_video_shots ツールを呼び出すか、エージェントに https://api.opennan.com/llms.txt を読ませてください。

実行が失敗したら?

失敗した実行には料金がかかりません。支払いは結果に対してだけです。

Which API key do I need?

A key with the api:opennan scope. A full api key does not include it: create one with that scope in the console, then use it here under Use API key or in your code.

当サイトでは、言語設定や紹介コードなど、サイトに必要な Cookie のみを使用しています。広告は表示しません。ページの閲覧数は Cookie を使わない分析で計測しています。詳しくは Cookie ポリシー をご覧ください。