kobold_abortAbort the currently ongoing generationInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_chatChat completion (OpenAI-compatible)Input schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"system",
"user",
"assistant"
]
},
"content": {
"type": "string"
}
},
"required": [
"role",
"content"
],
"additionalProperties": false
}
},
"temperature": {
"type": "number"
},
"top_p": {
"type": "number"
},
"max_tokens": {
"type": "number"
},
"stop": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"messages"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_completeText completion (OpenAI-compatible)Input schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"prompt": {
"type": "string"
},
"max_tokens": {
"type": "number"
},
"temperature": {
"type": "number"
},
"top_p": {
"type": "number"
},
"stop": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"prompt"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_detokenizeConvert token IDs to textInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"tokens": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"tokens"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_generateGenerate text with KoboldAIInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"prompt": {
"type": "string"
},
"max_length": {
"type": "number"
},
"max_context_length": {
"type": "number"
},
"temperature": {
"type": "number"
},
"top_p": {
"type": "number"
},
"top_k": {
"type": "number"
},
"repetition_penalty": {
"type": "number"
},
"stop_sequence": {
"type": "array",
"items": {
"type": "string"
}
},
"seed": {
"type": "number"
}
},
"required": [
"prompt"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_img2imgTransform existing image using promptInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"prompt": {
"type": "string"
},
"negative_prompt": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"steps": {
"type": "number"
},
"cfg_scale": {
"type": "number"
},
"sampler_name": {
"type": "string"
},
"seed": {
"type": "number"
},
"init_images": {
"type": "array",
"items": {
"type": "string"
}
},
"denoising_strength": {
"type": "number"
}
},
"required": [
"prompt",
"init_images"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_interrogateGenerate caption for imageInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"image": {
"type": "string"
}
},
"required": [
"image"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_last_logprobsGet token logprobs from the last requestInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_max_context_lengthGet current max context length settingInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_max_lengthGet current max length settingInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_model_infoGet current model informationInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_perf_infoGet performance informationInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_sd_modelsList available Stable Diffusion modelsInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_sd_samplersList available Stable Diffusion samplersInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_token_countCount tokens in textInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"text": {
"type": "string"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_transcribeTranscribe audio using WhisperInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"audio": {
"type": "string"
},
"language": {
"type": "string"
}
},
"required": [
"audio"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_ttsGenerate text-to-speech audioInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"text": {
"type": "string"
},
"voice": {
"type": "string"
},
"speed": {
"type": "number"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_txt2imgGenerate image from text promptInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"prompt": {
"type": "string"
},
"negative_prompt": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"steps": {
"type": "number"
},
"cfg_scale": {
"type": "number"
},
"sampler_name": {
"type": "string"
},
"seed": {
"type": "number"
}
},
"required": [
"prompt"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_versionGet KoboldAI version informationInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
kobold_web_searchSearch the web via DuckDuckGoInput schema{
"type": "object",
"properties": {
"apiUrl": {
"type": "string",
"default": "http://localhost:5001"
},
"query": {
"type": "string"
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |