Readme
This model doesn't have a readme.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run prompthunt/base-inference-swap-cn using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"prompthunt/base-inference-swap-cn:6204091af3e90bf31e2572e05e47c3ffa2a22e10380c76f0ff6cbe66f1e5b3d3",
input={
"width": 512,
"height": 512,
"prompt": "photo of cjw person",
"scheduler": "DPMSolverMultistep",
"num_outputs": 1,
"guidance_scale": 7.5,
"negative_prompt": "",
"prompt_strength": 0.8,
"should_swap_face": False,
"num_inference_steps": 50
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
No output yet! Press "Submit" to start a prediction.
This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.