Put your face into a video or a picture
Puts the face of a photo into a video (up to 15 s) or a picture. Two engines: wan-replace (video — the person in the video becomes the one in the photo, the scene's light and colour kept; 480p / 580p / 720p) and seedream (picture — the face of the photo on the person in the picture, the pose, clothes and scene kept; hair keeps the photo's hair or the picture's). engine: "auto" (the default) picks the one for the target; name one to compare them.
Rules, always on:
- consent (or consent_id) is required: the face is yours, or the person gave you explicit permission. It is stored with the time, your account and the files.
- The face is checked before anything is made: a well-known public figure (a politician, a celebrity…) is refused with public_figure_refused, a person who appears to be under 18 with minor_refused. A refused request is not charged.
- Every result is marked as AI-generated inside the file (IPTC trainedAlgorithmicMedia, a comment), and — unless you send visible_label: false — carries a small "AI" mark in the corner.
- Each run is logged (who, which face, which target, which engine); the face is kept 30 days, then deleted. The result is kept 24 hours.
- The answer has abuse_report: where anyone can report a misuse of the file.
Asynchronous: wait with x-wait-ms or poll GET /v1/executions/{id}. Price: per second of the output video by resolution (a picture: one price), plus the face check — see the estimate first (POST /v1/ai/face-swap/estimate).
Billing: Per second of the output video, by resolution (a picture: one price per picture), plus the face's safety check. A refused or failed request is not charged. · Rate limit: 6/min · Asynchronous
Request
- Base URL: https://apihub.co.il
- URL: https://apihub.co.il/v1/ai/face-swap
- Auth: HTTP bearer
Headers
Replay-safe: the same execution is returned instead of charging twice
Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…
Wait for the job inside this call (ms)
Request body
Response
Completed (or 202 while processing)
Changes
No recorded changes to this operation across all 2 revisions of this API.