How to Use Video Face Swap in Devin
Video Face Swap replaces a person's face in existing footage using a reference portrait while retaining the original expressions and lip movements. It suits talking clips and face replacement edits; hair and head outline generally stay as filmed.
Prompts to try with Video Face Swap in Devin
Copy an example into Devin, or ask in your own words.
Use Video Face Swap on the project's 15-second presenter clip with the approved portrait. Save a separate preview.
Create three casting previews with Video Face Swap using the project's 20-second ad and three approved portraits, one request per portrait.
Use Video Face Swap on a 10-second excerpt containing the sharpest head turn in the project's footage. Save it for review.
Process the project's 30-second greeting with Video Face Swap and the approved participant portrait. Keep the original alongside the result.
Use Video Face Swap to test the project's two approved portraits on the same 12-second performance. Build a comparison page with both results.
How to set up Video Face Swap in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin 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 Video Face Swap
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": "wavespeed", "model": "wavespeed-ai/video-face-swap", "input": { "video": "<video>", "face_image": "<face_image>" } }'
Then paste one of the prompts above: Devin finds Video Face Swap on Spiral, shows the price and runs it.
Video Face Swap providers and prices
Spiral runs Video Face Swap through WaveSpeed. Open a card for today's price, with every fee included.
Settings you can ask for
Video Face Swap works from your video and face image. Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Target index | 0 to 10 | 0 | 0 = the largest face the detector finds, 1 the next, and so on. Profile and very small faces may not be found, and the video comes back unchanged. |
| Target gender | all, male, or female | all | Only swap target faces matching this gender. 'all' swaps regardless of gender. |
Every API field of Video Face Swap is on its tool page: open its card above.
What can you do with Video Face Swap in Devin?
Create face replacement previews from footage already in your project. Your coding agent can prepare short tests and organize results for review.
Presenter face replacement
Use an approved portrait to replace the face in a recorded introduction while retaining the presenter's facial performance.
Ad casting previews
Compare approved faces in the same filmed ad before deciding which appearance fits the creative.
Short-film casting tests
Preview an actor's face on an existing performance to assess the shot, with the original hair and head outline generally retained.
Personalized greeting clips
Place a participant's approved portrait into a prerecorded greeting, producing one face replacement per request.
Comedy sketches
Replace a performer's face in an original sketch while keeping the facial expressions that carry the joke.
Reference portrait comparisons
Process the same short shot with several approved portraits in separate requests, then compare identity match and facial edges.
More on Video Face Swap and Devin
Overview
Video Face Swap in other agents
Questions about Video Face Swap in Devin
Can Devin use Video Face Swap?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Video Face Swap like any built-in tool.
How much does Video Face Swap cost in Devin?
$0.013 per second, at least 3 seconds. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need a WaveSpeed account to use Video Face Swap in Devin?
No. Spiral runs Video Face Swap on its own WaveSpeed account. You sign in to Spiral once and never paste a key.
How long does it take to set up Video Face Swap in Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while Video Face Swap runs?
Video Face Swap runs in the background. Devin starts the run, checks on it and gives you the video when it's ready.
How long can a Video Face Swap clip be?
The source video can be up to 10 minutes long.
Does Video Face Swap keep the original performance?
It is designed to retain the original facial movements, emotions, and lip sync while replacing the face. Review the result before using it.
What reference photo works best?
Choose a clear, front-facing portrait with good lighting and an unobstructed face. Avoid sunglasses and strong shadows.
Can I replace two people with different faces?
Yes, through separate requests. Each request uses one reference identity to replace one selected face.
Will Video Face Swap also replace the hairstyle?
Hair and head outline generally remain from the original footage. Face replacement works best when you want to retain those parts of the shot.
Start using Video Face Swap in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


