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

เพิ่ม Opennan ในแอป AI ของคุณ

ติดตั้งครั้งเดียว AI ของคุณใช้ได้ทุกเครื่องมือของ Opennan: วิดีโอ รูปภาพ แชต เสียงพูด เพลง เอฟเฟกต์เสียง 3D คำบรรยาย และพากย์เสียง เลือกแอปของคุณแล้วทำตามขั้นตอน

เซิร์ฟเวอร์ MCPhttps://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

เพิ่มเซิร์ฟเวอร์ MCP ของ Opennan ให้เอเจนต์ แล้วเรียกเครื่องมือนี้

เครื่องมือ
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.

เรียกจากโค้ดของฉันอย่างไร

ส่ง POST https://api.opennan.com/v1/copy-video/detections พร้อมคีย์ API ของคุณ ระบบตอบกลับด้วย 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.

เราใช้เฉพาะคุกกี้ที่เว็บไซต์จำเป็นต้องใช้ เช่น ภาษาและรหัสแนะนำ ไม่มีโฆษณา เรานับจำนวนการเข้าชมหน้าเว็บด้วยระบบวิเคราะห์ที่ไม่ใช้คุกกี้ ดูรายละเอียดได้ที่ นโยบายคุกกี้ ของเรา