peter942 / ghost_face_swap

Swaps ghost 👻 faces - experimental/buggy (Updated 2 years, 5 months ago)

  • Public
  • 24.8K runs
  • T4
Iterate in playground

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run peter942/ghost_face_swap using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "peter942/ghost_face_swap:106df0aaf9690354379d8cd291ad337f6b3ea02fe07d90feb1dafd64820066fa",
    input={
        "use_sr": True
    }
)
print(output)

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.00033 to run on Replicate, or 3030 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 2 seconds.

Readme

…

Model description

…

Intended use

…

Ethical considerations

…

Caveats and recommendations

…