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 appnation/text2image using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"appnation/text2image:ca551a3291d90dee092934c8ba2fe390ec6c52c4c3473ca66d58e3ebdfe9657d",
input={
"width": 1024,
"height": 1024,
"prompt": "dark shot, front shot, closeup photo of a 25 y.o latino man, perfect eyes, natural skin, skin moles, looks at viewer, cinematic shot",
"num_outputs": 1,
"negative_prompt": "full body, teeth, hands, long head, (nsfw, porn, nudity, naked), (cartoon, drawing), old, low quality, disfigured, bad anatomy, mutated, twisted fingers, multiple people, text, writing"
}
)
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.0072 to run on Replicate, or 138 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 L40S GPU hardware. Predictions typically complete within 8 seconds. The predict time for this model varies significantly based on the inputs.
This model doesn't have a readme.