Copy a video
LiveSend 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.
Copy a video
Eingabe
video_urlA public https link to the 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.
4 shots
Length 0:08.00 · No watermark
10: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
20: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
30: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
40: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 character
- Character 1 · A man with dark hair, thick eyebrows, and a sweaty, intense face, seen driving a car at night.
So funktioniert’s
- 01Send the videoAn https link, trimmed to the part you need.
- 02We break it downEvery cut found, every shot described and checked.
- 03Get the breakdownShots, frames and characters, ready to recreate.
Copy a video aus deinem Code aufrufen
One endpoint and one key, on the same balance as the playground. The request below is the example's own.
https:/ / api.opennan.com/ v1/ copy-video/ detectionsAPI-Schlüssel holen
Erstelle einen Schlüssel in der Konsole. Er nutzt dasselbe Guthaben wie der Playground.
Schlüssel erstellenErste Anfrage senden
Dieselbe Anfrage, die der Playground sendet. Setze OPENNAN_KEY auf deinen Schlüssel.
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"Task abfragen
Der Aufruf antwortet sofort mit einer Task-ID. Frag den Task ab, bis er fertig ist:
GEThttps:// api.opennan.com/ v1/ tasks/ {id} - queued
- Wartet auf einen Worker
- running
- Wird erstellt
- succeeded
- Fertig: outputs[].url enthält die Dateien
- failed
- Fehlgeschlagen: wird nicht berechnet
Fehler und wie du sie behebst
401Schlüssel fehlt oder ist falsch
Sende den Header Authorization: Bearer mit einem Schlüssel aus der Konsole.
402Guthaben zu niedrig
Lade unter Abrechnung Guthaben auf und sende denselben Aufruf erneut.
400Ein Wert wird nicht akzeptiert
Lies error.message: Dort steht das Feld. Nimm einen Wert aus der Parametertabelle.
429Zu viele Anfragen
Warte ein paar Sekunden und versuche es erneut, nach jedem 429 etwas länger.
Opennan zu deiner KI-App hinzufügen
Eine Installation gibt deiner KI jedes Opennan-Tool: Video, Bilder, Chat, Stimme, Musik, Soundeffekte, 3D, Untertitel und Synchronisation. Wähle deine App und folge den Schritten.
https:/ / api.opennan.com/ v1/ mcpFunktioniert in der Codex CLI, der Codex-App und der Codex-IDE-Erweiterung: Sie teilen ~/.codex/config.toml. Sieht die App oder IDE OPENNAN_KEY nicht, nimm die config.toml-Variante mit deinem Schlüssel. Codex fragt vor jedem Tool-Aufruf: Bestätige, um weiterzumachen.
API-Schlüssel holen
Erstelle einen Schlüssel in der Konsole. Er beginnt mit sk- und nutzt dasselbe Guthaben wie die Website.
Schlüssel erstellenSpeichere deinen Schlüssel als 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-..."Installiere das Opennan-Plugin: der Server plus ein Skill, der deiner KI beibringt, Modelle zu wählen, Preise zu bestätigen und auf Ergebnisse zu warten
codex plugin marketplace add Opennan/opennan-ai-plugin codex plugin add opennan@opennanOder füge nur den Server hinzu
codex mcp add opennan --url https://api.opennan.com/v1/mcp --bearer-token-env-var OPENNAN_KEYOder füge das in ~/.codex/config.toml ein
[mcp_servers.opennan] url = "https://api.opennan.com/v1/mcp" http_headers = { Authorization = "Bearer sk-..." }Prüfe, ob opennan aufgelistet ist
codex mcp listStarte Codex neu und frag nach allem, was du willst
“Mach ein 5-Sekunden-Video von Regen auf einer Neonstraße, einen passenden Song und ein Posterbild.”
Ersetze sk-... durch deinen eigenen Schlüssel und halte ihn geheim: Wer ihn hat, kann dein Guthaben ausgeben. Deine App kann die Tools ohne Schlüssel auflisten; zum Erstellen brauchst du einen.
Aus einem KI-Agenten nutzen
Füge deinem Agenten den Opennan-MCP-Server hinzu und rufe dieses Tool auf.
- Tool
- detect_copy_video_shots
- Beispielargumente
{ "video_url": "https://cdn.opennan.com/examples/copy-video-detect/night-race-input-c33d9d94.mp4" }
Copy a video: Fragen
Was kostet Copy a video?
$1.223 per minute. The Run button shows the exact price for your input before you start.
Wie rufe ich es aus meinem Code auf?
Sende POST https://api.opennan.com/v1/copy-video/detections mit deinem API-Schlüssel. Die Antwort ist eine Task-ID: Frag https://api.opennan.com/v1/tasks/{id} ab, bis der Task fertig oder fehlgeschlagen ist.
Kann mein KI-Agent es nutzen?
Ja. Füge den MCP-Server https://api.opennan.com/v1/mcp hinzu und rufe das Tool detect_copy_video_shots auf, oder verweise deinen Agenten auf https://api.opennan.com/llms.txt.
Was passiert, wenn ein Durchlauf fehlschlägt?
Ein fehlgeschlagener Durchlauf wird nicht berechnet. Du zahlst nur für Ergebnisse.
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.