Spiral gives your agent every tool with one account. Browse the tools →

Codex · Video

How to Use Kling O1 Reference to Video Pro in Codex

Kling O1 Reference to Video Pro builds 1080p scenes around reference characters, products, and settings. Unlike Kling O1 Image to Video Pro, it uses references to guide appearances rather than define both endpoints.

Prompts to try with Kling O1 Reference to Video Pro in Codex

Copy an example into Codex, or ask in your own words.

Use Kling O1 Reference to Video Pro with the character and workshop images in assets/storyboard to create a five-second scene. The character places a wooden toy on the bench; use a medium shot with warm window light.

Kling O1 Reference to Video ProCodex
Try asking
  • Estimate, then generate a 5-second 9:16 clip with Kling O1 Reference to Video Pro: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Kling O1 Reference to Video Pro for a smartwatch, slow orbit shot, studio lighting.

  • Generate three 5-second b-roll clips of a busy coffee shop with Kling O1 Reference to Video Pro and list what each cost.

  • Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Kling O1 Reference to Video Pro.

How to set up Kling O1 Reference to Video Pro in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. 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

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

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

  1. Create an API key

    In the console, under API keys.

  2. Run Kling O1 Reference to Video 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/reference-to-video",
        "input": {
          "prompt": "Take @Image1 as the start frame. Start with a high-angle satellite view of the ancient greenhouse ruin surrounded by nature. The camera swoops down and flies…"
        }
      }'

Then paste one of the prompts above: Codex finds Kling O1 Reference to Video Pro on Spiral, shows the price and runs it.

Kling O1 Reference to Video Pro providers and prices

Spiral runs Kling O1 Reference to Video Pro through fal. Open a card for today's price, with every fee included.

falVideo
Kling O1 Reference Image to Video Pro · Reference I2V
fal-ai/kling-video/o1/reference-to-video

Settings you can ask for

Kling O1 Reference to Video Pro works from your prompt and image URLs. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration3 to 105

Video duration in seconds.

Aspect ratio16:9, 9:16, or 1:116:9

The aspect ratio of the generated video frame.

Every API field of Kling O1 Reference Image to Video Pro · Reference I2V is on its tool page: open its card above.

What can you do with Kling O1 Reference to Video Pro in Codex?

Turn project artwork into short motion assets and revise existing clips with Kling O1. A coding agent can use the project's images, footage, and creative brief to prepare shots and place the results in the application.

Product showcase clips

Animate a product still with a slow camera move, or use product references to place the item in a new scene. Keep each shot focused on one feature, such as the handle, finish, or silhouette.

Fashion lookbook shots

Turn an outfit image into a short walking or turning shot. Use a composed still to anchor the opening, or reference images to guide the model's appearance and clothing.

Storyboard motion studies

Explore how a storyboard scene could move before production. Animate a board with a defined camera move, or use character and setting references to develop a short scene.

Character introduction shots

Create a short entrance, glance, or turn from character artwork. Anchor the shot with an opening frame or guide the character's appearance with reference images.

Questions about Kling O1 Reference to Video Pro in Codex

Can Codex use Kling O1 Reference to Video Pro?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Kling O1 Reference to Video Pro like any built-in tool.

How much does Kling O1 Reference to Video Pro cost in Codex?

$0.1456 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 to Video Pro in Codex?

No. Spiral runs Kling O1 Reference to Video 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 to Video Pro in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Kling O1 Reference to Video Pro runs?

Kling O1 Reference to Video 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 useful for?

Kling O1 suits short visual sequences where you want control over recognizable subjects, composition, or an existing shot. Practical uses include product videos, storyboard animation, and visual revisions.

Can Kling O1 make a full minute in one generation?

No. Kling O1 outputs at most 10 seconds per generation, so plan longer videos as separate shots and assemble them afterward.

What resolution does Kling O1 produce?

Standard outputs 720p video, and Pro outputs 1080p. Choose the output size around where the finished shot will appear.

How should I write a Kling O1 prompt?

Name the subject and its action first. Then describe the setting, camera movement, and visual style so each instruction has a clear job.

What should I plan around before using Kling O1?

The 10-second ceiling makes Kling O1 better suited to individual shots than uninterrupted long scenes. Decide what each shot must accomplish before generating it.

Get started

Start using Kling O1 Reference to Video Pro in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options