How to Use Kling O3 4K Image to Video in opencode
Animate a still into a native 4K clip, with an optional ending frame to guide the transition. Unlike Kling O3 4K Text to Video, it anchors the opening composition to your image.
Prompts to try with Kling O3 4K Image to Video in opencode
Copy an example into opencode, or ask in your own words.
Use Kling O3 4K Image to Video with the character illustration in this project's assets. Make a 5-second shot where the character turns toward the camera and smiles; keep the illustrated style and use a fixed camera.
Animate the image I attach with Kling O3 4K Image to Video: slow push-in, leaves moving in the wind. Save the result in ./assets.
Turn this product photo into a 5-second rotating shot with Kling O3 4K Image to Video.
Bring this portrait to life with Kling O3 4K Image to Video: a subtle smile and a blink.
Animate this illustration with Kling O3 4K Image to Video: clouds drifting, a slow camera pan to the right.
How to set up Kling O3 4K Image to Video in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 O3 4K Image to Video
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/o3/4k/image-to-video", "input": { "prompt": "The character walks forward slowly, with the camera following from behind.", "image_url": "https://v3b.fal.media/files/b/0a8cfd5a/8ABMp4n9rh3kfD2Rq8fHd_start_frame.png" } }'
Then paste one of the prompts above: opencode finds Kling O3 4K Image to Video on Spiral, shows the price and runs it.
Kling O3 4K Image to Video providers and prices
Spiral runs Kling O3 4K Image to Video through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Kling O3 4K Image to Video works from your prompt, image URL, and end image URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Duration | 3 to 15 | 5 | Video duration in seconds (3-15s). |
| Generate audio | on or off | off | Whether to generate native audio for the video. |
| Shot type | customize or intelligent | customize | The type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure. |
Every API field of Kling Video 4K · Image to Video is on its tool page: open its card above.
What can you do with Kling O3 4K Image to Video in opencode?
Turn a project's creative brief and visual assets into short scenes or footage revisions with Kling O3. Keep the intended action and visual direction beside the project so each result can be reviewed against the brief.
Product reveal concepts
Create or revise a short product scene to test framing, lighting, and the reveal before committing to a campaign.
Storyboard scene tests
Explore a scene's blocking, composition, and visual direction through generated shots or revisions to existing footage.
Stylized short scenes
Develop a brief illustrated or anime scene, either by generating footage or restyling a supplied clip.
Setting and mood studies
Test how a short scene reads in different environments, weather, or lighting before selecting its visual direction.
Illustrations in motion
Start with an illustration and direct a short gesture, expression change, or camera move.
More on Kling O3 4K Image to Video and opencode
Overview
Kling O3 4K Image to Video in other agents
Questions about Kling O3 4K Image to Video in opencode
Can opencode use Kling O3 4K Image to Video?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Kling O3 4K Image to Video like any built-in tool.
How much does Kling O3 4K Image to Video cost in opencode?
$0.546 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 opencode plan is separate.
Do I need a fal account to use Kling O3 4K Image to Video in opencode?
No. Spiral runs Kling O3 4K Image to Video 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 O3 4K Image to Video in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Kling O3 4K Image to Video runs?
Kling O3 4K Image to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What is Kling O3 useful for?
Use Kling O3 for short advertising scenes, storyboard experiments, and visual storytelling. Choose a concrete scene to create or revise, such as a product reveal or a character entering a room.
How long should I plan each scene?
Plan around short clips: generation supports 3 to 15 seconds, and video editing accepts footage within that range. Break a longer story into separate scenes.
What should a Kling O3 prompt describe?
Describe the subject, visible action, setting, lighting, and camera intention. When revising footage, state the exact change and what you want preserved.
What should I review before using a clip?
Watch the entire clip and check whether the intended action, appearance, and camera direction hold throughout. Treat requests to preserve details as instructions to verify during review.
Is Kling O3 the same as Kling VIDEO 3.0 Omni?
Yes. Kling O3 is the name used for VIDEO 3.0 Omni, which follows Kling O1.
Start using Kling O3 4K Image to Video in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


