anotherjesse / controlnet-tile-test

  • Public
  • 4.7K runs
  • A100 (80GB)

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 anotherjesse/controlnet-tile-test using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "anotherjesse/controlnet-tile-test:7a9961fdf246f78d9f90ace9b08fc00757c1b5b3cf78a492b145bc68cd6e1dfa",
    input={
        "prompt": "photo of cjw person",
        "strength": 1,
        "scheduler": "KerrasDPM",
        "resolution": 512,
        "num_outputs": 1,
        "guidance_scale": 7.5,
        "num_inference_steps": 50,
        "disable_safety_check": False,
        "controlnet_conditioning_scale": 1
    }
)

# The anotherjesse/controlnet-tile-test model can stream output as it's running.
# The predict method returns an iterator, and you can iterate over that output.
for item in output:
    # https://replicate.com/anotherjesse/controlnet-tile-test/api#output-schema
    print(item)

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 costs approximately $0.011 to run on Replicate, or 90 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 9 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This model doesn't have a readme.