Face swapping API can be used for replacing face on original image with another one. There is also possibility to reimagine the result with strength parameter.
Copy {
"url": "original_image",
"background": {
"generate": {
"strength": 0.1,
"adapter_type": "face",
"avatar_generation_type": "creative_img2img",
"ip_image2": "replacement_face_url"
}
}
}
Copy {
"url": "original_image",
"background": {
"generate": {
"description": "A cinematic scene with dramatic lighting, rich atmosphere, and dynamic composition.",
"strength": 0.1,
"adapter_type": "face",
"avatar_generation_type": "creative_img2img",
"ip_image2": "replacement_face_url"
}
}
}