# Train style model

> Train style model is an open-source agent skill for ai models and llm tooling. Trains a reusable brand or style image model from 10 to 50 reference images. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Runware/runware-skills/tree/main/skills/train-style-model
- **Repository:** https://github.com/runware/runware-skills
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** train-style-model
- **Collection:** https://github.com/Runware/runware-skills
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through training a custom image model, a LoRA, on a brand's visual identity using a ZIP of 10 to 50 reference images that share one style but vary in subject. The agent submits an asynchronous training job that also registers the resulting model under a chosen model identifier, then polls for status until the model is live or the job fails. Training typically takes around two hours, so the skill is built around checking back rather than waiting on a single call.

The guidance focuses on dataset curation: keeping palette, line work, lighting and detail consistent, varying subjects deliberately, removing outliers, and avoiding shared compositional patterns that the model would absorb as part of the style. It also covers testing the trained model on subjects absent from the training set and retraining with a bumped version when results are off-brand. Once trained, generation prompts describe only the subject, since the style is already learned.

The skill expects an image hosting URL the training platform can fetch, a target model identifier in the form of the organisation namespace, and the Runware tooling for checking the live trainer schema and running requests. Related workflows for consistent images without training and for importing existing models are referenced separately.

## When your agent uses it

> Fine-tune a reusable brand, style, or character model (a LoRA) from a small set of reference images, then generate on-brand imagery from any prompt. Use when the user says "train a model on our brand style", "make a LoRA from these images", "fine-tune on our look", "a custom model that draws in our style", or "consistent illustrations at scale". An async training job, not one-shot generation. To upload a model you already trained elsewhere, use bring-your-own-model. For same-identity output without training, use character-consistency.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Runware/runware-skills/tree/HEAD/skills/train-style-model)
- [License: MIT](https://github.com/Runware/runware-skills/tree/HEAD/skills/train-style-model)

## Features

- **Style-consistent dataset curation:** Guides selecting and zipping 10 to 50 images that share one visual style across varied subjects.
- **Asynchronous training job:** Submits a training task and polls its status until the model is ready or reports an error.
- **Model registration on submit:** Registers the trained model's identifier, name, description, version and privacy flag in the training request.
- **Dataset audit checklist:** Provides a checklist for spotting outliers and unintended shared patterns before training.
- **Out-of-set testing loop:** Recommends testing on subjects not in the dataset and retraining with a new version when needed.
- **On-brand generation:** Explains generating with the trained model using subject-only prompts and optional reference images.

## Good for

- Train a custom model on our brand illustration style
- Create a LoRA from a folder of approved reference images
- Produce consistent illustrations at scale in our house style
- Fine-tune an image model on our product photography look
- Retrain a style model as a new version after feedback

## Install

### Claude Code

This skill ships in the `skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Runware/runware-skills
/plugin install skills@runware
```

Or copy only this skill to `~/.claude/skills/train-style-model`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/train-style-model &&
cp -R "$tmp/skills/train-style-model" ~/.claude/skills/train-style-model &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/train-style-model` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/train-style-model` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/train-style-model &&
cp -R "$tmp/skills/train-style-model" ~/.agents/skills/train-style-model &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/train-style-model` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/train-style-model` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/train-style-model &&
cp -R "$tmp/skills/train-style-model" ~/.cursor/skills/train-style-model &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/train-style-model` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Runware/runware-skills.git --path skills/train-style-model
```

Or copy the folder to `~/.gemini/skills/train-style-model` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/train-style-model`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/train-style-model &&
cp -R "$tmp/skills/train-style-model" ~/.copilot/skills/train-style-model &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/train-style-model` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Runware/runware-skills.git
```

Then copy `runware-skills/skills/train-style-model` into your agent's skills folder as `train-style-model`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How many images does the training dataset need?

The dataset must be a single ZIP of between 10 and 50 images. Fewer or more than that is rejected.

### How long does training take?

Training takes about two hours, so the agent submits the job once and polls for its status every 5 to 10 minutes.

### When should I use Train style model instead of character-consistency?

Use this skill for a durable, at-scale style model. For a few consistent images right away from references, the skill recommends character-consistency instead.

### Which image formats are accepted?

JPEG, PNG and WebP images are accepted, up to 50 MB each, and they are downscaled automatically to 4096 pixels on the long side.

### How do I install Train style model in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/train-style-model to use it in all your projects, or to .claude/skills/train-style-model in one project. Or install the skills plugin, which includes it: /plugin marketplace add Runware/runware-skills, then /plugin install skills@runware.

### Does Train style model run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Train style model?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Train style model?

The closest alternatives to Train style model are Bring your own model, Runware models, Skill creator, Train sentence transformers and Tao run deft pas.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Bring your own model](https://ai-powered.com/skills/bring-your-own-model): Bring your own model is an open-source agent skill for ai models and llm tooling.
- [Runware models](https://ai-powered.com/skills/runware-models): Runware models is an open-source agent skill for ai models and llm tooling.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Train sentence transformers](https://ai-powered.com/skills/train-sentence-transformers): Train sentence transformers is an open-source agent skill for knowledge and memory.
- [Tao run deft pas](https://ai-powered.com/skills/tao-run-deft-pas): Tao run deft pas is an open-source agent skill for ai models and llm tooling.
- [Agent platform model registry](https://ai-powered.com/skills/agent-platform-model-registry): Agent platform model registry is an open-source agent skill for cloud and infrastructure.
- [Create task](https://ai-powered.com/skills/create-task): Create task is an open-source agent skill for ai models and llm tooling.
- [Model adaptation](https://ai-powered.com/skills/model-adaptation): Model adaptation is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/train-style-model
