zenaivn/dreambooth-training

Public
293 runs

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

output = replicate.run(
    "zenaivn/dreambooth-training:ea941161e7c9d4c8f787b667740b4d6c0804ade957d87259d429a45bdc9713b3",
    input={
        "butt": False,
        "seed": 1337,
        "breast": True,
        "weight": False,
        "identifier": "ohwx",
        "train_lora": False,
        "num_repeats": "1",
        "lr_scheduler": "cosine",
        "learning_rate": 0.000001,
        "learning_rate_te": 0.000001,
        "train_batch_size": 1,
        "train_dreambooth": True,
        "using_crop_images": True,
        "train_lora_sliders": False
    }
)

# To access the file URL:
print(output.url())
#=> "http://example.com"

# To write the file to disk:
with open("my-image.png", "wb") as file:
    file.write(output.read())

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.