How to Use Kling 4.0 Text to Video in Raycast
Kling 4.0 Text to Video turns written scenes into clips with optional shot-by-shot prompts. Unlike Kling 4.0 Flash Text to Video, it supports 1080p and up to 30 seconds for a longer sequence of actions.
Prompts to try with Kling 4.0 Text to Video in Raycast
Copy an example into Raycast, or ask in your own words.
Use Kling 4.0 Text to Video to create a 5-second 720p clip of a paper boat crossing a puddle. Frame it vertically and keep the camera close to water level.
Estimate, then generate a 5-second 9:16 clip with Kling 4.0 Text to Video: a paper boat drifting down a rainy street.
Make a 10-second product teaser with Kling 4.0 Text to Video for a smartwatch, slow orbit shot, studio lighting.
Generate three 5-second b-roll clips of a busy coffee shop with Kling 4.0 Text to Video and list what each cost.
Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Kling 4.0 Text to Video.
How to set up Kling 4.0 Text to Video in Raycast
Pick the way that suits you. Each takes about two minutes.
Use the Raycast connector
- Install the server
In Raycast run Install MCP Server. Name it Spiral, set Transport to HTTP, paste this URL and keep OAuth Type on Dynamic:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Spiral opens in your browser: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Raycast never sees it, and you can remove it under Settings › Connected apps in the console.
Use the Spiral skill
- Send Raycast 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 4.0 Text 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": "kling/v4/text-to-video", "input": { "prompt": "A detective in a black trench coat stands on a rooftop in the rain, looking through a telescope at the street below." } }'
Then paste one of the prompts above: Raycast finds Kling 4.0 Text to Video on Spiral, shows the price and runs it.
Kling 4.0 Text to Video providers and prices
Spiral runs Kling 4.0 Text to Video through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Kling 4.0 Text to Video works from your prompt. Ask Raycast for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Duration | 3 to 30 | 5 | Video duration in seconds (3-30). |
| Resolution | 720p or 1080p | 1080p | Output resolution. |
| Aspect ratio | 16:9, 9:16, 1:1, or 21:9 | 16:9 | Aspect ratio of the generated video. |
Every API field of Kling 4.0 Text to Video is on its tool page: open its card above.
What can you do with Kling 4.0 Text to Video in Raycast?
Develop a video idea into a concrete shot brief and a short visual test. Describe the action, lighting, and camera movement in everyday language.
Product shot tests
Create or revise a short product shot to compare lighting, camera movement, and presentation before choosing a direction.
Social video hooks
Develop short opening shots with a clear visual action, then compare different ways to introduce a product or character.
Film previsualization
Create or revise a scene to test character blocking, camera coverage, and the timing of a visible action before a shoot.
Visual style studies
Explore a short scene through specific materials, lighting, and color choices, using a written brief or suitable source assets.
More on Kling 4.0 Text to Video and Raycast
Overview
Kling 4.0 Text to Video in other agents
Questions about Kling 4.0 Text to Video in Raycast
Can Raycast use Kling 4.0 Text to Video?
Yes. Add Spiral to Raycast as an MCP server, and Raycast can find and run Kling 4.0 Text to Video like any built-in tool.
How much does Kling 4.0 Text to Video cost in Raycast?
$0.306 per second at 1080p ($0.204 at 720p). You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Raycast plan is separate.
Do I need a fal account to use Kling 4.0 Text to Video in Raycast?
No. Spiral runs Kling 4.0 Text 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 4.0 Text to Video in Raycast?
About two minutes: install the server, then sign in to Spiral and approve.
Does Raycast wait while Kling 4.0 Text to Video runs?
Kling 4.0 Text to Video runs in the background. Raycast starts the run, checks on it and gives you the video when it's ready.
What should I include in a Kling 4.0 prompt?
Describe the subject, visible action, setting, lighting, and camera movement. Give concrete details, such as a bottle catching side light, instead of asking for a premium look.
Should I use long negative prompts?
Keep them brief. Kling recommends describing what should appear and warns that negative prompts can increase errors.
How do I describe a visual style clearly?
Translate the style into visible details. For a vintage room, describe worn furniture, yellowed walls, and warm incandescent light.
How can I reduce ambiguity in an action prompt?
Describe the pose and movement you want to see. For example, ask for a person shown in profile during a phone call instead of listing views to avoid.
What should I change when a result misses the brief?
Replace vague instructions with observable details about the missed action, framing, or lighting. Revise one part of the brief at a time so you can judge the effect.
Start using Kling 4.0 Text to Video in Raycast
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Raycast:
set up https://spiral.ai/SKILL.md


