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.
Utility
Delete Finetune
Delete a finetune_id that was created by the user
POST
/
v1
/
delete_finetune
curl --request POST \
--url https://api.us1.bfl.ai/v1/delete_finetune \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '{
"finetune_id": "my-finetune"
}'
{
"status": "<string>",
"message": "<string>",
"deleted_finetune_id": "<string>",
"timestamp": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.us1.bfl.ai/v1/delete_finetune \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '{
"finetune_id": "my-finetune"
}'
{
"status": "<string>",
"message": "<string>",
"deleted_finetune_id": "<string>",
"timestamp": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.