Run zeg06/felix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zeg06/felix:f47973f2eb3f065a1e9845e6c10b3e509c4945914a4f3e7ca43994419f47019c",
input={
"model": "dev",
"prompt": "realistic photo of felix in a classy suit. very muscular, very classy, dark background",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3,
"output_quality": 100,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 50
}
)
# To access the file URL:print(output[0].url())
#=> "http://example.com"# To write the file to disk:withopen("my-image.png", "wb") as file:
file.write(output[0].read())