← Back to Skills
Media

lfs-video-face-swap

qing shao By qing shao 👁 8 views ▲ 0 votes

Give media assistants a review step between quoting and starting a short MP4 face swap. Users select an authorized reference portrait and approve the credit charge in their browser, then ask the assistant to start and track the render.

---
name: lfs-video-face-swap
description: Quote, prepare, start, and track approved face swaps for short uploaded MP4 clips using the Live Face Swap MCP.
---

# Live Face Swap for uploaded video

This skill helps a media assistant price a single short clip and hand asset selection and credit approval back to the creator. Follow the [Live Face Swap MCP setup guide](https://live-face-swap.net/mcp) to connect the tools. Use the connection the user selected and keep any preparation and result links private.

- For an estimate, ask for the clip duration if unknown. Call quote_video_face_swap with durationSeconds between 1 and 30 and report the estimated credits. Stop there for a quote-only request.
- To prepare, call prepare_video_face_swap, retain the draftId, and share the preparationUrl privately. The user opens it with the same account, selects a 1–30 second MP4 with one clear face and a portrait they have permission to use, then approves the exact quote in the browser. The preparation link expires after 30 minutes.
- Start only after the user confirms approval of the quote on the site and explicitly asks to start. Call create_video_face_swap with the same draftId and retain the taskId. Starting reserves credits. If approval is required, return the user to preparation. If the draft is expired or the quote changed, get fresh approval. If the start outcome is unclear, retry using the same draftId.
- To check status, call get_video_face_swap_result with the taskId and honor retryAfterSeconds and any rate-limit delay. Report final billed credits if available. On completion, send the private resultUrl to the user for browser preview and MP4 download. A new attempt after failure needs fresh approval.
video mp4 face swap mcp credit approval

Comments

Sign in to leave a comment

Loading comments...