Skip to main content
Glama

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
NameRequiredDescriptionDefault
originalAssetsNoIf set to true, returns the original asset without transformation
modelIdYesThe `modelId` where the training image will be stored
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