Readme
…
Model description
…
Intended use
…
Ethical considerations
…
Caveats and recommendations
…
Generate novel GitHub octocats from a text prompt
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 zeke/octocats using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zeke/octocats:6f28b6080b29829874478abc8b902e7abb11901422bf21c81748172cbe10274a",
input={
"prompt": "octocat wearing a bowtie",
"num_outputs": 1,
"guidance_scale": 7.5,
"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 costs approximately $0.22 to run on Replicate, or 4 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 3 minutes. The predict time for this model varies significantly based on the inputs.
…
…
…
…
…