asset_train_brand_lora
Train a brand-consistent LoRA from 20-50 sample images. Returns a lora_id for use with ComfyUI and SDXL-family models. Requires a user-owned training endpoint.
Instructions
Train a brand-consistent LoRA from 20-50 sample images, returning a lora_id the comfyui-* and SDXL-family providers can reference. Requires a user-owned training endpoint (Modal / Runpod / self-host) at PROMPT_TO_BUNDLE_MODAL_LORA_TRAIN_URL. Phase-4 scaffold: the MCP tool does the packaging, validation, and HTTP; the user owns the deployment and pricing. See docs/research/06-stable-diffusion-flux/6d-lora-training-for-brand-style.md.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Brand slug. Becomes the LoRA trigger token. | |
| base_model | No | Base model to fine-tune (sdxl-1.0 / flux-1-dev / sd-1.5). | sdxl-1.0 |
| training_images | Yes | Local filesystem paths (5-200). 20-50 is the sweet spot. Paths go through the safeReadPath allow-list. | |
| captions | No | Per-image caption overrides. Auto-captioned if omitted. | |
| rank | No | ||
| steps | No |