train_dataset_update
Update a staged dataset by setting captions for images or deleting images and their caption files. Prevents edits while a training job is active.
Instructions
Edit a staged dataset: set/replace per-image captions and/or delete images (with their caption files). Refuses while a running/queued job trains from it. Returns per-file warnings for unknown files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dataset name (from train_list_datasets). | |
| setCaptions | No | {filename: caption} pairs to write (replaces existing captions). | |
| deleteImages | No | Image filenames to delete from the dataset (caption files go too). |