face_swap
Swap your avatar's face onto a REAL hook frame from a viral video. Costs 5 credits. ALWAYS use sourceImageUrl (the real viral frame) + faceImageUrl (the avatar). The 'prompt' field controls HOW the swap is done (default is optimized, only override if user gives custom instructions). NEVER put user instructions in specPrompt - that destroys the real frame.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"faceImageUrl": "<faceImageUrl>"
},
"name": "face_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Controls how the swap is done. Default is optimized. Only override if the user explicitly gives custom swap instructions. This does NOT replace the source frame. | |
| specPrompt | No | DO NOT USE unless there is absolutely no source frame image available. Generates a completely new AI scene - loses all authenticity. | |
| faceImageUrl | Yes | The avatar/face reference image URL. This FACE gets placed onto the sourceImage scene. | |
| sourceImageUrl | No | The real frame image URL from the viral video (from cleanThumbnailUrl or scrape_video). This is the SCENE to keep. |