Opennan

Copy a video

Aktif

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

Input

  • 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.

Output

Contoh
Contoh hasilMade 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.

Cara kerjanya

  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.

Panggil Copy a video dari kode Anda

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. Dapatkan kunci API

    Buat kunci di konsol. Kunci memakai saldo yang sama dengan playground.

    Buat kunci
  2. Kirim permintaan pertama

    Permintaan yang sama dengan yang dikirim playground. Isi OPENNAN_KEY dengan kunci Anda.

    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. Periksa tugasnya

    Panggilan langsung menjawab dengan id tugas. Periksa tugas itu sampai selesai:

    GEThttps://api.opennan.com/v1/tasks/{id}
    queued
    Menunggu worker
    running
    Sedang dibuat
    succeeded
    Selesai: outputs[].url berisi berkasnya
    failed
    Gagal: tidak ditagih

Galat dan cara memperbaikinya

  • 401Kunci tidak ada atau salah

    Kirim header Authorization: Bearer dengan kunci dari konsol.

  • 402Saldo tidak cukup

    Tambah saldo di Penagihan, lalu kirim panggilan yang sama lagi.

  • 400Ada nilai yang ditolak

    Baca error.message: di sana tertulis kolomnya. Pakai nilai dari tabel parameter.

  • 429Terlalu banyak permintaan

    Tunggu beberapa detik lalu coba lagi, dan tunggu lebih lama setelah setiap 429.

Tambahkan Opennan ke aplikasi AI Anda

Sekali pasang, AI Anda bisa memakai semua alat Opennan: video, gambar, chat, suara, musik, efek suara, 3D, teks film, dan sulih suara. Pilih aplikasi Anda dan ikuti langkahnya.

Server MCPhttps://api.opennan.com/v1/mcp

Berfungsi di Codex CLI, aplikasi Codex, dan ekstensi Codex untuk IDE: semuanya memakai ~/.codex/config.toml. Jika aplikasi atau IDE tidak membaca OPENNAN_KEY, pakai opsi config.toml berisi kunci Anda. Codex meminta izin sebelum tiap panggilan alat: setujui untuk lanjut.

  1. Dapatkan kunci API

    Buat kunci di konsol. Kunci diawali sk- dan memakai saldo yang sama dengan situs.

    Buat kunci
  2. Simpan kunci Anda sebagai 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. Pasang plugin Opennan: server plus skill yang mengajari AI Anda memilih model, mengonfirmasi harga, dan menunggu hasil

    codex plugin marketplace add Opennan/opennan-ai-plugin
    codex plugin add opennan@opennan
  4. Atau tambahkan servernya saja

    codex mcp add opennan --url https://api.opennan.com/v1/mcp --bearer-token-env-var OPENNAN_KEY
  5. Atau tambahkan ini ke ~/.codex/config.toml

    [mcp_servers.opennan]
    url = "https://api.opennan.com/v1/mcp"
    http_headers = { Authorization = "Bearer sk-..." }
  6. Pastikan opennan ada di daftar

    codex mcp list
  7. Mulai ulang Codex, lalu minta apa saja

    “Buat video 5 detik hujan di jalan neon, lagu pengiringnya, dan gambar poster.”

Ganti sk-... dengan kunci Anda sendiri dan rahasiakan: siapa pun yang memilikinya bisa memakai saldo Anda. Aplikasi bisa menampilkan daftar alat tanpa kunci; untuk membuat sesuatu perlu kunci.

Pakai dari agen AI

Tambahkan server MCP Opennan ke agen Anda dan panggil alat ini.

Alat
detect_copy_video_shots
Contoh argumen
{
  "video_url": "https://cdn.opennan.com/examples/copy-video-detect/night-race-input-c33d9d94.mp4"
}

Copy a video: pertanyaan

Berapa biaya Copy a video?

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

Bagaimana memanggilnya dari kode saya?

Kirim POST https://api.opennan.com/v1/copy-video/detections dengan kunci API Anda. Jawabannya berupa id tugas: periksa https://api.opennan.com/v1/tasks/{id} sampai tugas berhasil atau gagal.

Bisakah agen AI saya memakainya?

Bisa. Tambahkan server MCP https://api.opennan.com/v1/mcp dan panggil alat detect_copy_video_shots, atau arahkan agen Anda ke https://api.opennan.com/llms.txt.

Apa yang terjadi jika run gagal?

Run yang gagal tidak ditagih. Anda hanya membayar hasil.

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.

Kami hanya menggunakan cookie yang dibutuhkan situs, seperti bahasa dan kode referral. Tanpa iklan. Kami menghitung kunjungan halaman dengan analitik tanpa cookie. Lihat Kebijakan Cookie kami untuk detailnya.