alexgenovese / autotrain-dreambooth

Auto Train Dreambooth SDXL | WIP - Not working (Updated 1 year, 7 months ago)

  • Public
  • 48 runs
  • L40S
  • GitHub
  • License
Iterate in playground

Input

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

Find your API token in your account settings.

Run alexgenovese/autotrain-dreambooth using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

curl -s -X POST \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait" \
  -d $'{
    "version": "alexgenovese/autotrain-dreambooth:e3e8ff8604f3101092341004f3cd9ebaf3fc92b9b1fc46725ac88f819c83a52f",
    "input": {
      "lr": 0.0004,
      "xl": true,
      "seed": 42,
      "model": "stabilityai/stable-diffusion-xl-base-1.0",
      "prompt": "a photo of aisudhca bag",
      "xformers": false,
      "num_steps": 2000,
      "scheduler": "constant",
      "batch_size": 1,
      "num_cycles": 1,
      "resolution": 1024,
      "center_crop": false,
      "warmup_steps": 0,
      "use_8bit_adam": false,
      "mixed_precision": "bf16",
      "train_text_encoder": true,
      "checkpointing_steps": 500,
      "gradient_accumulation": 1
    }
  }' \
  https://api.replicate.com/v1/predictions

To learn more, take a look at Replicate’s HTTP API reference docs.

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

AutoTrain Advanced: faster and easier training and deployments of state-of-the-art machine learning models.