curl --request POST \
--url https://api.us1.bfl.ai/v1/finetune \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '{
"file_data": "<string>",
"finetune_comment": "my-first-finetune",
"trigger_word": "TOK",
"mode": "general",
"iterations": 300,
"learning_rate": 0.0025005,
"captioning": true,
"priority": "quality",
"finetune_type": "full",
"lora_rank": 32,
"webhook_url": "<string>",
"webhook_secret": "<string>"
}'