lumoz_train_image_model
Train a custom photorealistic or artistic LoRA image model (FLUX.1-dev or SDXL) on user-supplied dataset images with a unique trigger word. Can automatically ingest image URLs/base64 and start training immediately, or initialize a project.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"trigger_word": "<trigger_word>"
},
"name": "lumoz_train_image_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the custom model (e.g. "Vintage Cyberpunk Style" or "Acme Running Shoes"). | |
| steps | No | Number of training iterations (500 to 2500, default: 1000). | |
| images | No | Array of image URLs, Cloudflare R2 URLs, or base64 data URIs ("data:image/...;base64,...") to use as training dataset (minimum 5 images, recommended 10–20). | |
| auto_start | No | Whether to immediately launch GPU training once dataset images are ingested (default: true if images provided). | |
| base_model | No | Base model architecture. "flux-dev" produces state-of-the-art detail and typography ($3.50), "sdxl" is fast and lightweight ($2.00). | flux-dev |
| description | No | Optional descriptive summary of the model behavior and aesthetic. | |
| trigger_word | Yes | Unique uppercase token or trigger word used during generation (e.g. "VNTGCYBER", "ACMESHOE", "OHWX"). | |
| training_type | No | Training objective category: "subject" for people/characters/faces, "style" for visual aesthetics/art styles, "product" for objects/branding. | subject |