Skip to main content

Strong
spicyapi/face-swap-v1/edit

Face Swap API replaces a face in a supplied photograph without a text prompt; the base version keeps the target hairstyle and scene and offers an optional seed.

From $0.013/image

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • elf-helm-removedOutput
    elf-helm-removed

    This endpoint moves facial features only - head shape, hairstyle, pose and background all stay as the target left them. The target was built with sweat-darkened hair stuck to the pauldrons and torchlight coming from below, so the two things that must survive are easy to check: the hair is still the target's, and the uplight still breaks across the new features the way it broke across the old ones. `reference_image_url` supplies the face, `image_url` everything else.

    Use this example
  • cover-recastOutput
    cover-recast

    Face Swap scope illustration made with a general prompt-based editor, not output from this endpoint. In the base Face Swap request, image_url is the composition that receives the new face, not the portrait supplying its identity.

    Use this example
  • rider-recastOutput
    rider-recast

    The rider is a Face Swap style reference from a general image editor, not a run of this endpoint. In the base Face Swap request, image_url is the composition that receives the new face, not the portrait supplying its identity.

    Use this example
  • sunflower-field-recastOutput
    sunflower-field-recast

    A daylight target instead of a lit set: golden-hour backlight, a raised hand across the face and a hat brim in the way. The call is still the same two fields — the frame you produced yourself and the one reference face you are cleared to use. Both URLs are placeholders.

    Use this example
  • silver-bob-recastOutput
    silver-bob-recast

    A target picked so you can check what does not move: the blunt platinum bob is the loudest thing in the frame and it comes through the swap untouched, along with the sleeves, the pose and the hard side key. Only the features travel. Both URLs are placeholders — you host the images yourself, and you need a release for the reference face.

    Use this example

This example starts at $0.013 per image. The Playground updates the estimate when you change the settings.