Authorizations
Body
Base64-encoded ZIP file containing training images and, optionally, corresponding captions.
Comment or name of the fine-tuned model. This will be added as a field to the finetune_details.
"my-first-finetune"
Mode for the fine-tuned model. Allowed values are 'general', 'character', 'style', 'product'. This will affect the caption behaviour. General will describe the image in full detail.
general
, character
, style
, product
Trigger word for the fine-tuned model.
"TOK"
Number of iterations for fine-tuning.
100 <= x <= 1000
Learning rate for fine-tuning. If not provided, defaults to 1e-5 for full fine-tuning and 1e-4 for lora fine-tuning.
0.000001 <= x <= 0.005
Whether to enable captioning during fine-tuning.
Priority of the fine-tuning process. 'speed' will prioritize iteration speed over quality, 'quality' will prioritize quality over speed.
speed
, quality
, high_res_only
Type of fine-tuning. 'lora' is a standard LoRA Adapter, 'full' is a full fine-tuning mode, with a post hoc lora extraction.
lora
, full
Rank of the fine-tuned model. 16 or 32. If finetune_type is 'full', this will be the rank of the extracted lora model.
16
, 32
URL to receive webhook notifications
1 - 2083
Optional secret for webhook signature verification
Response
Successful Response
The response is of type any
.