Skip to content
Back to skills

Fal Train

ASecurity

Train custom AI models (LoRA) on fal.ai — personalize image generation for specific people, styles, objects, or video generation. Use when the user requests "Train model", "Train LoRA", "Fine-tune", "Custom model", "Train on my images", "Portrait training".

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
content-marketingbashexpressapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill fal-train --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fal Train?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fal Train
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-fal-train/badge)](https://www.skillsdirectory.com/skills/luokai0-fal-train)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
author: luo-kai
name: fal-train
description: Train custom AI models (LoRA) on fal.ai — personalize image generation for specific people, styles, objects, or video generation. Use when the user requests "Train model", "Train LoRA", "Fine-tune", "Custom model", "Train on my images", "Portrait training".
metadata:
  author: luokai0
  version: "1.0.0"
---

# fal-train

Train custom LoRA models on fal.ai for personalized AI generation.

## Scripts

| Script | Purpose |
|--------|---------|
| `train.sh` | Submit a LoRA training job |

## Usage

### Train Image LoRA (Style/Subject/Person)
```bash
./scripts/train.sh --images-url "https://example.com/training-images.zip" --trigger-word "sks style" --model fal-ai/flux-lora-fast-training
```

### Train Portrait LoRA
```bash
./scripts/train.sh --images-url "https://example.com/face-photos.zip" --trigger-word "ohwx person" --model fal-ai/flux-lora-portrait-trainer
```

### Check Training Status
```bash
./scripts/train.sh --status --endpoint fal-ai/flux-lora-fast-training --request-id "abc123"
```

## Arguments

| Argument | Description | Required |
|----------|-------------|----------|
| `--images-url` | URL to zip of training images | Yes |
| `--trigger-word` | Word to activate the LoRA in prompts | Yes |
| `--model` / `-m` | Training model endpoint | No (default: fal-ai/flux-lora-fast-training) |
| `--steps` | Training steps | No (default: 1000) |
| `--status` | Check training job status | No |
| `--endpoint` | Endpoint for status check | With --status |
| `--request-id` | Request ID for status check | With --status |
| `--param` | Extra param as key=value (repeatable) | No |

## Finding Models

To discover the best and latest training/LoRA models, use the search API:

```bash
# Search for LoRA training models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "lora training"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "trainer"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "fine-tune"
```

Or use the `search_models` MCP tool with keywords like "lora", "training", "trainer", "fine-tune".

## Training Data Tips

- **People**: 10-20 photos, varied angles/lighting/expressions, consistent person
- **Styles**: 10-15 images exemplifying the style, diverse subjects
- **Objects**: 5-15 photos from different angles on various backgrounds
- Images should be high quality, at least 512x512
- Zip all images into a single .zip file and host at a URL

## Output Format
```json
{
  "diffusers_lora_file": {
    "url": "https://fal.media/files/.../lora.safetensors",
    "content_type": "application/octet-stream",
    "file_name": "lora.safetensors",
    "file_size": 12345678
  },
  "config_file": {
    "url": "https://fal.media/files/.../config.json"
  }
}
```

Use the `diffusers_lora_file.url` as the `lora_url` parameter when generating images with FLUX models.

Files in this skill

  • SKILL.md2.8 KB
  • scripts/train.sh3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.