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 lightweight-ai/test_model_op using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lightweight-ai/test_model_op:243c0e69814bbca4f626db2537b7435f687d0c63466d0b99308130f4467a0832",
input={
"inpaint": False,
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"guidance_scale": 3.5,
"output_quality": 80,
"prompt_strength": 0.8,
"num_inference_steps": 28
}
)
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 A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.