put-models-training-images-by-model-id-and-training-image-id
Replace a specific training image for a model by updating the image data or asset ID to improve model training accuracy.
Instructions
Replace the given trainingImageId for the given modelId
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | Yes | The training image's `modelId` | |
| originalAssets | No | If set to true, returns the original asset without transformation | |
| trainingImageId | Yes | The training image's `trainingImageId` to replace | |
| data | No | The training image as a data URL (example: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=") | |
| assetId | No | The asset ID to use as a training image (example: "asset_GTrL3mq4SXWyMxkOHRxlpw"). If provided, "data" and "name" parameters will be ignored. | |
| name | No | The original file name of the image (example: "my-training-image.jpg") | |
| assetIds | No | ||
| preset | No | The preset to use for training images |