Readme
This model doesn't have a readme.
pip install replicateREPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>Find your API token in your account settings.
import replicateRun technillogue/sd-slim-pget-nydus using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"technillogue/sd-slim-pget-nydus:e88a74eacdd34d714d3dca788bfbfd7c2d8587dda1621991b23b7111e3d023fd",
input={
"width": 768,
"height": 768,
"prompt": "a photo of an astronaut riding a horse on mars",
"scheduler": "DPMSolverMultistep",
"num_outputs": 1,
"guidance_scale": 7.5,
"num_inference_steps": 50
}
)
# To access the file URL:
print(output[0].url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output[0].read())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 costs approximately $0.045 to run on Replicate, or 22 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 A100 (80GB) GPU hardware. Predictions typically complete within 32 seconds.
This model doesn't have a readme.