Tasks
- POSTEdit or create an image with Flux Kontext Pro
- POSTEdit or create an image with Flux Kontext Max
- POSTGenerate an image with FLUX 1.1 [pro].
- POSTGenerate an image with FLUX.1 [pro].
- POSTGenerate an image with FLUX.1 [dev].
- POSTGenerate an image with FLUX 1.1 [pro] with ultra mode and optional raw mode.
- POSTGenerate an image with FLUX.1 Fill [pro] using an input image and mask.
- POSTExpand an image by adding pixels on any side.
- POSTGenerate an image with FLUX.1 Canny [pro] using a control image.
- POSTGenerate an image with FLUX.1 Depth [pro] using a control image.
- POSTFinetune
- POSTGenerate an image with FLUX.1 [pro] finetune
- POSTGenerate an image with FLUX.1 Depth [pro] finetune using a control image.
- POSTGenerate an image with FLUX.1 Canny [pro] finetune using a control image.
- POSTGenerate an image with FLUX.1 Fill [pro] finetune using an input image and mask.
- POSTGenerate an image with FLUX 1.1 [pro] finetune with ultra mode.
Tasks
Finetune
POST
/
v1
/
finetune
curl --request POST \
--url https://api.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>"
}'
"<any>"
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type any
.
curl --request POST \
--url https://api.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>"
}'
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.