Skip to main content
Glama

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
NameRequiredDescriptionDefault
modelIdYesThe training image's `modelId`
originalAssetsNoIf set to true, returns the original asset without transformation
trainingImageIdYesThe training image's `trainingImageId` to replace
dataNoThe training image as a data URL (example: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=")
assetIdNoThe asset ID to use as a training image (example: "asset_GTrL3mq4SXWyMxkOHRxlpw"). If provided, "data" and "name" parameters will be ignored.
nameNoThe original file name of the image (example: "my-training-image.jpg")
assetIdsNo
presetNoThe preset to use for training images

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pasie15/scenario.com-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server