Nodes/ComfyUI-MistralAI-API/Mistral AI completion
ComfyUI Node

Mistral AI completion

Makes a single call to the Mistral AI API. Set the API key in API-key.txt

By randomnoner11·Created 2 years ago·Updated 8 months ago· 3
Mistral AI completion
  • image
  • response
model
temperature1.0
top_p0.9
max_tokens512
presence_penalty0.0
frequency_penalty0.0
promptYour response is directly used as a prompt: avoid quotation marks, brackets, etc! Focus on visually percievable descriptors, not touchy feely fluff. Give me a single SD prompt for the following:
context
random_seed
Categoryutils/text

Inputs (10)

NameTypeDefaultDescription
modelCOMBO9 options: pixtral-large-latest, pixtral-12b-latest, ministral-3b-latest, ministral-8b-latest, ministral-14b-latest, open-mistral-nemo, +3
temperatureFLOAT1.00–1.5
top_pFLOAT0.90–1
max_tokensINT512
presence_penaltyFLOAT0.0-2–2
frequency_penaltyFLOAT0.0-2–2
promptSTRINGYour response is directly used as a prompt: avoid quotation marks, brackets, etc! Focus on visually percievable descriptors, not touchy feely fluff. Give me a single SD prompt for the following:
contextoptSTRINGUse Mistral AI prompt loader node to supply the context for few-shot prompting.
imageoptIMAGEOnly Pixtral models support image input.
random_seedoptINTIf you don't supply a fixed seed, it's randomized on the server.

Outputs (1)

NameTypeDescription
responseSTRING