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.

Image
2400 credits/call

Pricing

2400 credits/call
ConditionCharge
Each call2400 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.stepsinteger | unknownNoNumber of steps to train the LoRA on.—
request_body.is_stylebooleanNoIf 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_masksbooleanNoIf 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_wordstring | unknownNoTrigger 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_urlstringYes 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_formatstring | unknownNoThe format of the archive. If not specified, the format will be inferred from the URL.—
request_body.is_input_format_already_preprocessedbooleanNoSpecifies 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 template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request 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.