How to Use Kling O1 Reference Pro in Codex
Kling O1 Reference Pro creates follow-up shots that carry over a reference clip's motion and camera style. Choose its 1080p output when you need more resolution than Kling O1 Reference Standard's 720p.
Prompts to try with Kling O1 Reference Pro in Codex
Copy an example into Codex, or ask in your own words.
Read the project's shot list and use Kling O1 Reference Pro to create its next eight-second shot from the approved reference clip.
Use Kling O1 Reference Pro with the project's character references and scene clip to create a six-second close-up as the detective notices the envelope.
Use Kling O1 Reference Pro with assets/establishing.mp4 to generate a five-second follow-up: the cyclist reaches the bridge, keeping the reference's tracking movement.
Use Kling O1 Reference Pro with the project's product image and camera reference to create a five-second orbit around the bottle.
Use Kling O1 Reference Pro to create two separate five-second camera studies from assets/reference.mp4, changing only the new scene's subject.
How to set up Kling O1 Reference Pro in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Kling O1 Reference Pro
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "fal-ai/kling-video/o1/video-to-video/reference", "input": { "prompt": "Based on @Video1, generate the next shot. keep the style of the video", "video_url": "https://v3b.fal.media/files/b/panda/oVdiICFXY03Vbam-08Aj8_output.mp4" } }'
Then paste one of the prompts above: Codex finds Kling O1 Reference Pro on Spiral, shows the price and runs it.
Kling O1 Reference Pro providers and prices
Spiral runs Kling O1 Reference Pro through fal. Open a card for today's price, with every fee included.
$0.2184 per second. Billed on duration, default 5.
Settings you can ask for
Kling O1 Reference Pro works from your prompt, video URL, and image URLs. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Keep audio | on or off | off | Whether to keep the original audio from the video. |
| Aspect ratio | auto, 16:9, 9:16, or 1:1 | auto | The aspect ratio of the generated video frame. If 'auto', the aspect ratio will be determined automatically based on the input video, and the closest aspect ratio to the input video will be used. |
| Duration | 3 to 10 | 5 | Video duration in seconds. |
Every API field of Kling O1 Reference Video to Video Pro · Reference V2V is on its tool page: open its card above.
What can you do with Kling O1 Reference Pro in Codex?
Turn project footage into follow-up shots and camera studies with Kling O1 Reference. A coding agent can use the project's shot list and assets to prepare consistent briefs for each clip.
Follow-up scene
Generate the next shot after an establishing clip, carrying its camera style into a closer view of the action.
Previous-shot storyboard
Use an existing scene as a reference for the shot that leads into it, such as an approach to a doorway before an interior scene.
Product camera study
Combine a product image with a reference clip to explore how an orbit, push-in, or tracking move could present the product.
Character coverage
Use character references and an existing scene to request another shot featuring the same character, costume, and props.
Action rehearsal
Reference a short performance clip to explore the same action with a different character or setting.
Campaign shot series
Use one approved reference clip to guide camera movement across separate product shots for a campaign.
More on Kling O1 Reference Pro and Codex
Overview
Kling O1 Reference Pro in other agents
Questions about Kling O1 Reference Pro in Codex
Can Codex use Kling O1 Reference Pro?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Kling O1 Reference Pro like any built-in tool.
How much does Kling O1 Reference Pro cost in Codex?
$0.2184 per second. Billed on `duration`, default 5. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need a fal account to use Kling O1 Reference Pro in Codex?
No. Spiral runs Kling O1 Reference Pro on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Kling O1 Reference Pro in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Kling O1 Reference Pro runs?
Kling O1 Reference Pro runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.
What is Kling O1 Reference good at?
Creating a new shot that follows an existing clip's camera style and motion. Use it for follow-up scenes, alternate coverage, or a new subject filmed with similar camera movement.
Does Kling O1 Reference edit the original footage?
Reference generation creates new shots guided by the footage. Treat requests to remove an object from the original clip as editing work; Kling's documentation distinguishes reference generation from direct video editing.
How long can a generated shot be?
Kling O1 generates clips from 3 to 10 seconds. For a longer sequence, plan separate shots and assemble them afterward.
How do Standard and Pro differ?
Kling O1 Reference Standard outputs 720p; Kling O1 Reference Pro outputs 1080p. Choose based on the resolution your finished video needs.
What reference footage should I prepare?
Use a 3 to 10 second MP4 or MOV under 200 MB, with width and height between 720 and 2160 pixels. Choose a clip whose camera movement or action clearly demonstrates what you want to carry into the new shot.
Start using Kling O1 Reference Pro in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


