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 mohamad1998630/controlnet-seg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"mohamad1998630/controlnet-seg:6a3ef42b7e0d227c2d2abb2443de9c280dde48e48bace94c91ee4aa44f8144bd",
input={
"eta": 0,
"seed": 3.5,
"scale": 9,
"a_prompt": "best quality, extremely detailed",
"n_prompt": "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
"strength": 1,
"ddim_steps": 20,
"guess_mode": False,
"num_samples": 1,
"image_resolution": 512,
"detect_resolution": 512
}
)
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 T4 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.