FLUX Lora Fast Training
2400 credits/call
ae_flux_lora_fast_training
Train a reusable custom image style or subject model from your image dataset.
2400 credits/call
Pricing
2400 credits/call
| Condition | Charge |
|---|---|
| Each call | 2400 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.steps | integer | unknown | No | Number of steps to train the LoRA on. | — |
request_body.is_style | boolean | No | If True, the training will be for a style. This will deactivate segmentation, captioning and will use trigger word instead. Use the trigger word to specify the style. | false |
request_body.create_masks | boolean | No | If True segmentation masks will be used in the weight the training loss. For people a face mask is used if possible. | true |
request_body.trigger_word | string | unknown | No | Trigger word to be used in the captions. If None, a trigger word will not be used. If no captions are provide the trigger_word will be used instead of captions. If captions are the trigger word will not be used. | — |
request_body.images_data_url | string | Yes | URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to. | — |
request_body.data_archive_format | string | unknown | No | The format of the archive. If not specified, the format will be inferred from the URL. | — |
request_body.is_input_format_already_preprocessed | boolean | No | Specifies whether the input data is already in a processed format. When set to False (default), the system expects raw input where image files and their corresponding caption files share the same name (e.g., 'photo.jpg' and 'photo.txt'). Set to True if your data is already in a preprocessed format. | false |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_flux_lora_fast_training' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"images_data_url": "xxx"
}
}
}'No response example available yet.

