Files
Sam Kumar 54319b0a18 feat(ui-widgets): Implement Control Panel JSON Data Format Fix
- Resolved issue with Control Panel displaying concatenated string instead of individual fields from MediaDescribe node.
- Updated backend to send structured JSON data instead of formatted string.
- Enhanced frontend to parse JSON and display fields in a two-column layout for improved readability.

fix(ui-widgets): Add Dimensions Display Widget Troubleshooting Guide

- Created a comprehensive troubleshooting guide for the Dimensions Display Widget.
- Included quick verification steps, common issues, and detailed testing procedures.

docs(ui-widgets): Document Dimensions Display Widget Implementation

- Added documentation for the Dimensions Display Widget, detailing its features and UI behavior.
- Included examples and troubleshooting tips for users.

fix(ui-widgets): Final String Widget Population Fix

- Fixed issue where final_string widget was not being updated post-execution.
- Implemented onExecuted methods to ensure widget reflects the generated description.

docs(ui-widgets): Update README with UI Widgets Documentation

- Compiled and organized documentation for various UI widgets.
- Included links to related documentation and implementation patterns.

feat(ui-widgets): Restore Seed Widget Functionality

- Reintroduced seed widget for MediaDescribe node to enable randomization.
- Added functionality to force re-execution based on seed changes.

fix(ui-widgets): Address Widget Visibility Issues

- Resolved issues with unwanted widgets appearing in MediaDescribe node.
- Improved widget management to ensure correct visibility based on media type and source.

fix(ui-widgets): Implement Widget State Persistence

- Added serialization for widget visibility state in GeminiUtilMediaDescribe node.
- Ensured UI state is preserved across workflow saves and reloads.
2025-10-02 18:34:39 -05:00
..

CivitAI Integration Documentation

Integration with CivitAI API for model metadata, hash lookup, and automatic model information retrieval.

📄 Documentation Files

🎯 Quick Reference

API Configuration

Set CivitAI API key via:

  1. Widget: In-node API key input
  2. Environment: CIVITAI_API_KEY environment variable
  3. Config File: ComfyUI config file

Features

  • Metadata Lookup: Automatic model information retrieval
  • Hash Support: AutoV2, SHA256, CRC32, BLAKE3
  • Model Info: Name, version, tags, descriptions
  • Image Previews: Model preview images
  • Version Detection: Automatic version matching

🔧 API Endpoints Used

  • /api/v1/model-versions/by-hash/{hash}
  • /api/v1/models/{modelId}
  • /api/v1/images/{imageId}

Hash Types

  1. AutoV2 (Recommended): Fast, collision-resistant
  2. SHA256: Secure, slower
  3. CRC32: Fast, less secure
  4. BLAKE3: Fast, secure

🐛 Common Issues

  1. API Key Invalid: Check key in CivitAI account settings
  2. Rate Limiting: CivitAI has rate limits - cache results
  3. Hash Mismatch: Try different hash types
  4. Model Not Found: Model may not be on CivitAI

Category: Integration Status: Stable