/models/{modelId}/training-images/{trainingImageId}

Replace the given trainingImageId for the given modelId

Path Params
string
required

The training image's modelId

string
required

The training image's trainingImageId to replace

Query Params
string

If set to true, returns the original asset without transformation

Body Params
string

The training image as a data URL (example: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=")

string

The asset ID to use as a training image (example: "asset_GTrL3mq4SXWyMxkOHRxlpw"). If provided, "data" and "name" parameters will be ignored.

string

The original file name of the image (example: "my-training-image.jpg")

assetIds
array of strings

The asset IDs to use as training images (example: ["asset_GTrL3mq4SXWyMxkOHRxlpw", "asset_GTrL3mq4SXWyMxkOHRxlpw"]) Used in batch mode, up to 10 asset IDs are allowed. Cannot be used with "assetId" or "data" and "name" parameters.

assetIds
string
enum

The preset to use for training images

Allowed:
Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json