Guide
How to Generate Video in Cursor for Sites, Apps and Demos
Published By DreamClip
To generate video in Cursor, install a video MCP server and ask the agent for the clip in the same chat where you write code. DreamClip's server goes in with the Add to Cursor link on the connect page or a three-line entry in mcp.json that holds the address https://dreamclip.ai/mcp. Once you have signed in, the agent can render a hero loop on Kling V3 Turbo or a talking product shot on Veo 3.1 Fast, then drop the file into your project and wire it into the component.
As of November 2026, Cursor's agent uses whatever MCP tools you install and asks before it runs one that has side effects; Cursor's own documentation is the place to check how that prompt looks in your version. The server supplies the video models, prices every render before it starts, and never charges for a render that fails.
Why make video from the editor
Front-end work keeps needing short clips: a muted loop behind a landing page headline, a five second animation for an onboarding step, a product turn for a store page, placeholder footage for a video player you are still building. Making those in a separate tool means exporting, renaming, moving the file and pasting a path. In Cursor the agent already knows the component, the folder layout and the aspect ratio the layout expects, so it can do all of that in one request.
It also keeps the decision close to the code. The prompt that made a clip can sit in a comment next to the video tag, so the next person to touch the page knows how to remake it.
Installing the server
- Go to the connect page and open the Cursor panel.
- Select Add to Cursor; Cursor opens with the dreamclip entry ready, and you confirm.
- Cursor wants a login next, and your browser shows DreamClip's sign-in; finish it and press Allow.
To do it by hand, create an mcpServers object with a dreamclip entry whose url is https://dreamclip.ai/mcp. Put it in .cursor/mcp.json inside a repository to share it with that project, or in ~/.cursor/mcp.json in your home folder to have it everywhere. No command, arguments or environment variables are needed, since the server runs remotely.
The file contains only the address. Each developer who opens the project signs in with their own DreamClip account, and the clips they make are billed to that account alone.
How to generate video in Cursor, step by step
Take a landing page with an empty hero. Open the hero component and ask: "Make a silent eight second background loop for this hero on Kling V3 Turbo, 16:9, 1080p, matching the copy's mood, and set it as the video source". The agent then works through the tools:
- It reads the component and the headline, and writes a visual prompt from them.
- It calls estimate_cost with Kling V3 Turbo, 1080p and eight seconds, and tells you the price and your balance.
- You approve the generate_video call in Cursor's prompt.
- It calls get_generation with a wait, again and again, until the status turns to delivered.
- It downloads the file into the folder your project uses for media and updates the video tag.
Each get_generation call waits up to 50 seconds on the server and answers inside 55, so a render that takes a few minutes is a handful of calls. If the agent session is interrupted, the generation id is enough to pick the clip up later, and list_generations finds recent runs even without it.
Choosing a model for web and app video
Every video model in the Video studio is reachable from Cursor. Four that cover most interface work:
| Model | Maker | Clip lengths | Sizes | Sound | Start frame | Reference photos |
|---|---|---|---|---|---|---|
| Kling V3 Turbo | MakerKling | Clip lengths3 to 15 s | Sizes720p, 1080p | SoundNo | Start frameYes | Reference photosNo |
| Seedance 2.0 Fast | MakerByteDance | Clip lengths4 to 15 s | Sizes480p, 720p | SoundYes, on by default | Start frameStart and end | Reference photosYes |
| Wan 3.0 | MakerAlibaba | Clip lengths2 to 30 s | Sizes480p, 720p, 1080p | SoundYes, on by default | Start frameStart and end | Reference photosNo |
| Veo 3.1 Fast | MakerGoogle | Clip lengths4, 6 or 8 s | Sizes720p, 1080p | SoundYes, on by default | Start frameYes | Reference photosNo |
- Kling V3 Turbo renders without sound, which suits autoplaying background loops that must stay muted anyway.
- Seedance 2.0 Fast is the one to use when a mascot or product must look the same across several clips, since it takes reference photos.
- Wan 3.0 covers long takes, up to 30 seconds, and can end on a chosen frame.
- Veo 3.1 Fast adds native sound for demo clips that will play with audio.
Other silent options are PixVerse V6 and Pika 2.2. Before you commit to one, run the same prompt through Compare in the browser, or read the best AI video generators.
Settings to always name
When a request leaves something out, the server is told to take the smallest size and the shortest length. That is cheap and fine for a look, but a hero background needs more. Name these four in every request, or put them in a project rule so the agent does it for you:
| Setting | Why it matters in a codebase |
|---|---|
| Shape | Must match the container: 16:9 hero, 9:16 story, 1:1 card |
| Size | 720p for small embeds, 1080p for full-width heroes |
| Length | Short loops weigh less on the page |
| Sound | Muted autoplay drops the audio anyway, so a silent model is the simpler pick |
A project rule for consistent clips
As of November 2026, Cursor lets a project carry standing instructions for its agent; Cursor's documentation describes where they live in your version. A short rule saves repeating yourself and keeps every clip in a repository looking like it belongs to the same product. Something along these lines works:
- "For video, use Kling V3 Turbo unless the clip needs sound, then Veo 3.1 Fast."
- "Always call estimate_cost and show the price before generate_video, and never exceed the limit in BUDGET.md."
- "Name files after the component that uses them, save them under public/media, and keep the prompt in a comment next to the video tag."
- "Use 16:9 for heroes, 9:16 for stories and 1:1 for cards, at 1080p for anything full width."
The same rule doubles as documentation. A teammate who opens the project months later can see which model made the hero loop, what it cost to make, and how to remake it with a changed prompt, without asking anyone.
Using your screenshots and mockups
Every video model here can open on a picture. The agent passes it as image_url, and on models that take an end frame, a second picture as end_image_url. Inputs have to be a public https link, or a single data URL smaller than 3 MB; the server reads PNG, JPEG and WebP. A file dragged into Cursor's chat panel is not forwarded on its own, so the link route is the reliable one.
Useful starts include a product render from your design file, a hero still you made earlier on an image model, or a screenshot of the app for a short zoom-in. For real examples of animated stills, see the image to video page, and the Kling V3 Turbo frame mode lets you test one by hand.
Keeping the page light
A generated clip is a starting point for the web, not a finished asset. Ask the agent to transcode it for the page after download: a smaller resolution for mobile, a poster image from the first frame, and the attributes for muted, looping, inline playback. Those steps run with your local tools and do not touch the server.
Keep the original download too. The links the server returns point at stored files in your DreamClip Assets library and keep working, but a copy in your own storage is what production should serve.
Spending under control
- Prices are the Video studio's, quoted by estimate_cost before each render.
- A render's credits are held when it is queued and only spent once the clip is delivered; a failed or cancelled render releases them.
- Give the agent a per-render limit and it sends max_credits; anything over it is refused before a hold.
- Sending a call again under its original idempotency key gives back that render, not a new one.
- The server accepts 120 agent calls and 15 new generations a minute per account, which a runaway loop will hit.
Free accounts run one render at a time; paid plans can run several together, so a batch of clips for a page finishes sooner.
When the agent cannot reach the server
| The agent reports | What to do |
|---|---|
| "Connect DreamClip again: this connection is not signed in." | Sign in again from Cursor's MCP settings |
| "This connection was not allowed to generate. Reconnect DreamClip and allow it." | Reconnect and approve both permissions |
| A size or length refusal naming the allowed values | Let the agent retry with one of them |
| "DreamClip could not fetch that image URL. Use a public https link." | The start image is private or local |
If dreamclip never appears in the tool list, check that mcp.json parses and sits in one of the two locations, then restart Cursor. The safest first test is a free one: "what is my DreamClip balance?".
Revoking access
To end the connection for good, open your DreamClip account, find Connected agents and choose Disconnect next to Cursor. The next call from Cursor is turned away. Deleting the entry from mcp.json alone stops Cursor using it, but the sign-in it held can still refresh for up to 30 days, so disconnect from the account side as well. For stills instead of clips, read how to generate images in Cursor; for the terminal, video in Claude Code.
Questions
How do I add a video MCP server to Cursor?
The quickest way is the Add to Cursor button on the DreamClip connect page. The manual way is a dreamclip entry under mcpServers in mcp.json, url https://dreamclip.ai/mcp. Both end with a sign-in.
Which video models can Cursor's agent use?
Every video model in the DreamClip Video studio, including Kling V3 Turbo, Seedance 2.0 Fast, Wan 3.0 and Veo 3.1 Fast.
Can it make a silent background loop?
Yes. Kling V3 Turbo, PixVerse V6 and Pika 2.2 render without sound, which suits muted autoplay.
How long does the agent wait for a clip?
As long as the render takes. Each get_generation call holds for at most 50 seconds on the server, and the agent repeats it until the status reads delivered.
Is a failed render charged?
No. The held credits return to your balance.
Can teammates share the setup?
Yes. Commit .cursor/mcp.json; it holds only the address, and each person signs in with their own account.
Related
- GuideHow to Generate Images in Cursor with an MCP ServerInstall DreamClip's image server in Cursor with one link or three lines of JSON, then ask the agent for app icons, hero art and mockups on Nano Banana 2.
- GuideHow to Generate Video in Claude Code for Your ProjectsQueue clips on PixVerse V6, Kling or Seedance from Claude Code, keep a storyboard file in your repo, and download each delivered clip next to your code.
- GuideAI Video MCP Server: How an Agent Makes Clips, Tool by ToolWhat an AI video MCP server is and how an agent drives one: sign-in, the ten tools, async renders, holds and refusals, shown on DreamClip's own server.