okaris / cake-fake

A model to feed Replicate DreamBooth API with your trained weights.

  • Public
  • 29K runs
  • GitHub

A model to feed Replicate DreamBooth API with your trained weights.

Model description

This is a very simple model that just returns the zipped weights from the input without any processing. (Except a file rename)

Intended use

This model is intended to be used with the Replicate Dreambooth API

If you already have trained weights and you don’t need to train again to use the DreamBooth API, you can just use this model’s version for the DB API trainer_version parameter to have your trained model pushed to Replicate.

Sample request:

curl -X POST \
    -H "Authorization: Token $REPLICATE_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
            "input": {
                "instance_prompt": "$WEIGHTS_URL"
            },
            "model": "yourusername/yourmodel",
            "trainer_version": "6328d359553f398f3bef3d42a26b21f86e43a9e9a3060bd6fa6d6cb388758fcc",
            "webhook_completed": "https://example.com/dreambooth-webhook"
        }' \
    https://dreambooth-api-experimental.replicate.com/v1/trainings