create_job
Create a LoRA training job in the ai-toolkit UI using YAML/JSON config, a cloned base job, or defaults; apply overrides and GPU IDs, and optionally start it immediately.
Instructions
Create a training job in the ai-toolkit UI.
Config source (pick one): config as YAML/JSON text (full job file or just its config: body),
or base_job (id/name) to clone an existing job's config. Neither = the default template.
overrides sets values inside config.process[0] by dotted path, e.g.
{"train.steps": 4000, "datasets.0.folder_path": "D:/datasets/me", "trigger_word": "ohwx",
"network.linear": 16, "sample.samples": [{"prompt": "ohwx at the beach"}]}.
gpu_ids is the GPU index (e.g. "0" or "0,1"). Set start to queue it immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| start | No | ||
| config | No | ||
| gpu_ids | No | 0 | |
| base_job | No | ||
| overrides | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |