Finetune SDXL Dreambooth
POST {{baseUrl}}/finetune/text2image/sdxl-dreambooth
Endpoint to configure and start a Dreambooth SDXL finetuning job.
Request Body
{"dreambooth_config"=>{"model_name"=>["stabilityai/stable-diffusion-xl-base-1.0"], "prompt"=>"Wolf in Full Moon Light", "learning_rate"=>0.0001, "num_steps"=>500, "batch_size"=>1, "gradient_accumulation"=>4, "resolution"=>1024, "use_8bit_adam"=>false, "use_xformers"=>false, "use_fp16"=>true, "train_text_encoder"=>false, "gradient_checkpointing"=>false, "scheduler"=>"constant"}, "huggingface_config"=>{"push_to_hub"=>false, "repo_id"=>""}, "dataset_config"=>{"data_source_type"=>"s3_presigned_link", "s3_presigned_url"=>"https://finetuning-service.s3.us-east-2.amazonaws.com/test_bucket/sdxl_dreambooth_test_images.zip", "s3_bucket_name"=>"", "s3_object_key"=>""}, "user_creds"=>{"hf_token"=>"", "aws_access_key_id"=>"", "aws_secret_access_key"=>""}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{}