model_metadata_fetch_civitai
Fetch model metadata from Civitai including description, trained words, example prompts, tags, and NSFW flag. Use this to obtain or enrich model details before proposing.
Instructions
READ-ONLY: pull this model's data from Civitai (civitai.com) — the rich description, trainedWords, example prompts (with the prompt text used in the sample images), tags, nsfw flag, and source_url — WITHOUT writing anything. Call this when the embedded metadata is thin (empty model_card/prompt_director, no ss_tag_frequency) or to flesh out details before proposing. Treat the result as RAW input: distill the (often marketing-heavy) description, and MINE THE EXAMPLE PROMPTS for the real trigger — the trigger is frequently ONLY in the sample prompts even when trainedWords is EMPTY (e.g. every prompt starting with 'photo in the style of X' means X is the trigger). Adult models (civitai.red) resolve through this same API. Then clean it up and call model_metadata_propose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | model filename incl. .safetensors | |
| category | Yes | ComfyUI model folder, e.g. 'loras' | |
| version_id | No | Force a specific Civitai modelVersionId if hash lookup misses. |