Skip to main content

CaptionInstruction

An instruction for computing captions with an AI model

aiModelTechnicalIdstringrequired

The technical identifier of the AI model to use

Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z0-9A-Z-_.:;|/]{1,128}$

Example: ggml-org/gemma-4-E2B-it-GGUF:Q8_0
isAutobooleanrequired

Whether the instruction should run automatically on image indexing

Example: true
enabledbooleanrequired

Whether this instruction is active

Example: true
questionstringrequired

The question submitted to the AI model to produce the caption or the eligible tags

Possible values: non-empty and <= 1024 characters

Example: Describe this image in one sentence
CaptionInstruction
{
"aiModelTechnicalId": "ggml-org/gemma-4-E2B-it-GGUF:Q8_0",
"isAuto": true,
"enabled": true,
"question": "Describe this image in one sentence"
}