|
Download tools/gpu_lora_import.md from StarpowerTechnology/HiggsfieldMCP: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/gpu_lora_import.md
- Command line
-
hf download hf://datasets/StarpowerTechnology/HiggsfieldMCP/tools/gpu_lora_import.md
-
curl -L -o gpu_lora_import.md https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/gpu_lora_import.md
1.17 kB
| Save a LoRA adapter from a Hugging Face or Civitai link into the user's GPU LoRAs, for gpu_generate. Charges nothing and rents nothing. Only public .safetensors files up to 2 GiB; fnf checks the file and its hash. Importing the same file again returns the existing LoRA (deduped). A LoRA only works with its base model; pass base_model when the source does not name one. Not for Soul ID characters. | |
| ```ts | |
| mcp__Higgsfield__gpu_lora_import(args: { | |
| // model_id from gpu_list_models the LoRA was trained for; needed only when the source does not say. | |
| base_model?: string, // minLength: 1, maxLength: 200 | |
| // Display name; defaults to the file or Civitai model name. | |
| name?: string, // minLength: 1, maxLength: 100 | |
| // https link to one .safetensors LoRA: a Hugging Face file (huggingface.co/<org>/<repo>/resolve/<rev>/<file>.safetensors) or repo holding exactly one, or a Civitai model page or download link. | |
| url: string, // maxLength: 2048, format: "uri" | |
| }): Promise<{ base_model_id: string | null, bytes: number, deduped: boolean, lora_id: string, name: string, next_step: string, sha256: string, status: string, trigger_word?: string | null, [key: string]: any }>; | |
| ``` |