一键导入
analyze-model
// Analyze an external model URL (typically Hugging Face) to determine implementation style and estimate SD.Next porting difficulty using the port-model workflow.
// Analyze an external model URL (typically Hugging Face) to determine implementation style and estimate SD.Next porting difficulty using the port-model workflow.
Port custom model pipeline implementations to Diffusers. Use when migrating custom or non-Diffusers pipeline code into SD.Next repo-local pipeline files such as pipelines/model_<name>.py or pipelines/<model>/pipeline.py while preserving behavior, avoiding new dependencies, and keeping device/attention handling configurable.
Port or add a model to SD.Next using existing Diffusers and custom pipeline patterns. Use when implementing a new model loader, custom pipeline, checkpoint conversion path, or SD.Next model-type integration.
Update wiki markdown docs for syntax correctness, readability, link integrity, heading hierarchy normalization, and code block language tagging. Use when a user asks to clean up markdown formatting and improve clarity while preserving technical meaning.
Maintain and validate SD.Next model reference catalogs in data/reference*.json, including schema consistency, deduplication, link checks, and thumbnail alignment.
Create or edit code that is compliant with Hugging Face diffusers conventions, including models, pipelines, schedulers, tests, docs, and PR preparation targeting diffusers.
Audit SD.Next model integrations end-to-end: loaders, detect/routing, reference catalogs, and pipeline API contracts.
| name | analyze-model |
| description | Analyze an external model URL (typically Hugging Face) to determine implementation style and estimate SD.Next porting difficulty using the port-model workflow. |
| argument-hint | Provide model URL and optional target scope: text2img, img2img, edit, video, or full integration |
Given an external model URL, inspect how the model is implemented and estimate how hard it is to port into SD.Next according to the port-model skill.
Example:
For each analyzed model, provide:
Classify into one of these (or closest fit):
If the model repository returns HTTP 403 (Forbidden) or requires acceptance of a gating agreement:
secrets.json in the workspace root for a huggingface_token fieldFrom the provided URL/repo, collect:
Identify whether model usage is:
Determine required SD.Next touchpoints if ported:
Use this scale:
Break down difficulty by:
Call out concrete risks:
Map recommendation to port-model workflow:
Provide a concise first-step plan with smallest viable integration milestone.
Return sections in this order:
If critical information is missing, explicitly list unknowns and what to inspect next.