post-models-training-images-by-model-id
Add training images to a specific AI model for improving its generation capabilities. Upload images via data URL or asset ID to enhance model training.
Instructions
Add a new training image to the given modelId
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originalAssets | No | If set to true, returns the original asset without transformation | |
| modelId | Yes | The `modelId` where the training image will be stored | |
| 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 |