prompthunt / testing

(Updated 1 year, 6 months ago)

  • Public
  • 48 runs
  • L40S
Iterate in playground

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run prompthunt/testing using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "prompthunt/testing:32b6374e712b112cfcefbfcc0ad8b96c1e51225bcf629c9941e8d592d1e30227",
    input={
        "width": 512,
        "height": 512,
        "prompt": "photo of cjw person",
        "scheduler": "DPMSolverMultistep",
        "num_outputs": 1,
        "guidance_scale": 7.5,
        "negative_prompt": "",
        "num_inference_steps": 50
    }
)
print(output)

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.