curl --location --request POST 'https://api.facemint.io/api/create-face-swap-task' \
--header 'x-api-key: dfed35b0-350c-11f0-9d91-1607289bbab1' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "video",
"media_url": "https://facemint.io/media.mp4",
"start_time": 0,
"end_time": 4,
"resolution": 2,
"enhance": 1,
"nsfw_check": 0,
"watermark": "MyFaceAI",
"callback_url": "https://your-site/cb?id=121233",
"swap_list": [
{
"from_face": "https://facemint.io/face1.png",
"to_face": "https://facemint.io/to1.png"
},
{
"from_face": "https://facemint.io/face1.png",
"to_face": "https://facemint.io/to1.png"
},
{
"from_face": "https://facemint.io/face1.png",
"to_face": "https://facemint.io/to1.png"
}
]
}'