pnickolas1 / sdxl-dreambooth-loras-dev

  • Public
  • 1K runs
Demo API Examples Versions (baab473f)


View more examples

Run time and cost

Predictions run on Nvidia A40 (Large) GPU hardware. Predictions typically complete within 20 seconds. The predict time for this model varies significantly based on the inputs.

def train_replicate_sdxl_loras(): training = replicate.trainings.create( version=”stability-ai/sdxl:d830ba5dabf8090ec0db6c10fc862c6eb1c929e1a194a5411852d25fd954ac82”, input={ “input_images”: path_to_zip_training_images, “use_face_detection_instead”: True, “instance_prompt”: “A photo {name} {description}”.format(name=”TOK”, description=”man”), “class_prompt”: “a photo of a man”, }, destination=”pnickolas1/sdxl-dreambooth-loras-dev”, ) print(training)