Skip to main content
Glama

post-caption-inferences

Generate descriptive captions for images using AI, with options to control detail level, randomness, and model-specific training.

Instructions

Caption image(s)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dryRunNo
ensureIPClearedNoWhether we try to ensure IP removal for new prompt generation.
imagesYes
seedNoIf specified, the API will make a best effort to produce the same results, such that repeated requests with the same `seed` and parameters should return the same outputs. Must be used along with the same parameters including prompt, model's state, etc..
unwantedSequencesNo
modelIdNoWhen provided, the model will follow the model's training images and examples' prompt to generate the captions.
temperatureNoThe sampling temperature to use. Higher values like `0.8` will make the output more random, while lower values like `0.2` will make it more focused and deterministic. We generally recommend altering this or `topP` but not both.
assetIdsNo
topPNoAn alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So `0.1` means only the tokens comprising the top `10%` probability mass are considered. We generally recommend altering this or `temperature` but not both.
detailsLevelNoThe details level used to generate the captions. When a modelId is provided and examples are available, the details level is ignored.

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