|
Download tools/models_recommend.md from StarpowerTechnology/HiggsfieldMCP: direct link, hf CLI and curl.
- Browser
- Download file 4.73 kB
-
https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/models_recommend.md
- Command line
-
hf download hf://datasets/StarpowerTechnology/HiggsfieldMCP/tools/models_recommend.md
-
curl -L -o models_recommend.md https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/models_recommend.md
4.73 kB
| Read-only recommendation of generation models for a concrete user goal and input context. | |
| ```ts | |
| mcp__Higgsfield__models_recommend(args: { | |
| // Input filter: image = accepts reference media; text = text-only. | |
| input?: "text" | "image", | |
| // Max recommendations, default 5. | |
| limit?: integer, // minimum: 1, maximum: 100 | |
| // Generation goal and input context, e.g. text-only, reference image, image-to-video, product media, or character portrait. | |
| query: string, // minLength: 1, maxLength: 1024 | |
| // Filter by output type (omit to include all). | |
| type?: "image" | "video" | "audio" | "3d", | |
| // When true, return only models that accept free-trial unlimited generations (supports_unlim). Use it to answer "which models can I use my unlimited generations on" in one call — each returned item still carries its aspect_ratios, parameters, and durations. Omit to include all models; false is the same as omitting it. | |
| unlim?: boolean, | |
| }): Promise<{ | |
| aspect_ratios?: string[], | |
| credit_unit?: "per_image" | "per_second", | |
| credits_per_unit?: number, | |
| description?: string, | |
| duration_range?: { max: number, min: number }, | |
| durations?: number[], | |
| error?: string, | |
| // Free generations the caller can spend right now, one entry per counter with the model ids that share it. Answer "what free generations do I have" from this; pass use_free_gens:true to generate_video for Higgsfield Genjutsu or execute_preset for Viral when the user asks to use one. For ai_influencer_sheet, prepare with ai_influencer_prepare, then use ai_influencer_generate with use_free_gens:true and max_credits:0, never generate_image. | |
| free_gens?: Array< | |
| { | |
| // Job-set types sharing this counter. viral_hub_video covers all Viral chain presets; one preset execution spends one attempt. ai_influencer_sheet is spent through ai_influencer_generate with use_free_gens:true or the AI Influencer Builder’s Use free gens toggle. | |
| job_set_types: string[], | |
| // Upper bound in seconds for a free run, or null. | |
| max_duration: number | null, | |
| // Allowed values per request parameter for a free run; an absent parameter is uncapped. | |
| // Additional JSON Schema constraints: propertyNames={"type": "string"} | |
| parameters: { [key: string]: Array<string | number> }, | |
| // Free generations left on the counter. 0 = granted and spent. | |
| remaining: number, | |
| } | |
| >, | |
| has_more?: boolean, | |
| id?: string, | |
| items?: Array< | |
| { | |
| aspect_ratios: string[], | |
| credit_unit?: "per_image" | "per_second", | |
| credits_per_unit?: number, | |
| description: string, | |
| duration_range?: { max: number, min: number }, | |
| durations?: number[], | |
| id: string, | |
| match_reason?: string, | |
| medias: { description?: string, max?: number, name: string, required?: boolean, roles?: string[], type: "image" }[], | |
| name: string, | |
| output_type: "image" | "video" | "audio" | "3d", | |
| parameters: Array< | |
| { | |
| default?: string | number | boolean, | |
| description?: string, | |
| // Format constraint for scalar string parameters, e.g. hex_color. | |
| format?: string, | |
| // Format constraint for string_array items, e.g. hex_color. | |
| item_format?: string, | |
| // Regex source for string_array items. | |
| item_pattern?: string, | |
| max?: number, | |
| min?: number, | |
| name: string, | |
| nullable?: boolean, | |
| options?: Array<string | number>, | |
| // Regex source for scalar string parameters. | |
| pattern?: string, | |
| required: "required" | "optional", | |
| type: "string" | "number" | "bool" | "string_array" | "object_array", | |
| } | |
| >, | |
| provider_name: string, | |
| score?: number, | |
| supports_free_gens?: boolean, | |
| supports_unlim?: boolean, | |
| tags?: string[], | |
| } | |
| >, | |
| medias?: { description?: string, max?: number, name: string, required?: boolean, roles?: string[], type: "image" }[], | |
| message?: string, | |
| name?: string, | |
| next_page_token?: string, | |
| output_type?: "image" | "video" | "audio" | "3d", | |
| parameters?: Array< | |
| { | |
| default?: string | number | boolean, | |
| description?: string, | |
| // Format constraint for scalar string parameters, e.g. hex_color. | |
| format?: string, | |
| // Format constraint for string_array items, e.g. hex_color. | |
| item_format?: string, | |
| // Regex source for string_array items. | |
| item_pattern?: string, | |
| max?: number, | |
| min?: number, | |
| name: string, | |
| nullable?: boolean, | |
| options?: Array<string | number>, | |
| // Regex source for scalar string parameters. | |
| pattern?: string, | |
| required: "required" | "optional", | |
| type: "string" | "number" | "bool" | "string_array" | "object_array", | |
| } | |
| >, | |
| provider_name?: string, | |
| // Standalone tools (not catalog models) relevant to the recommend query — e.g. motion_control for recast/puppeteer, upscale_image/upscale_video for enhance, outpaint_image for expand/uncrop, reframe for a video aspect-ratio change, remove_background for cutout. Call the named tool directly; it will not appear in items. | |
| related_tools?: { tool: string, use_when: string }[], | |
| status?: string, | |
| supports_free_gens?: boolean, | |
| supports_unlim?: boolean, | |
| tags?: string[], | |
| }>; | |
| ``` |