LinuxMaster Image Generator for ComfyUI

Beskrivning

LinuxMaster Image Generator for ComfyUI allows you to seamlessly integrate a self-hosted ComfyUI server with your WordPress website, enabling users to generate images directly from the front-end or back-end using defined workflows.

🌟 Features

  • Remote Generation: Send prompts and parameters from WordPress to your remote ComfyUI server.
  • Workflow Integration: Utilizes a pre-defined ComfyUI workflow (configured via JSON) for consistent results.
  • Shortcode Integration: Easily embed the image generation interface anywhere on your site using a simple shortcode.
  • Direct Connection: Connect via IP and Port for a direct, ”old-school” reliable link between your site and your ComfyUI instance.

⚙️ Setup and Configuration

  1. ComfyUI Server Setup: Ensure your ComfyUI server is running and accessible via a secure, public URL. You will need the API endpoint.
  2. Workflow Preparation:
    • Create or load your desired workflow in the ComfyUI interface.
    • The node intended for the main text prompt must be renamed to 1 (one) for the plugin to correctly inject the user’s positive prompt.
    • Export the workflow as a JSON file for configuration within the plugin settings.
  3. Plugin Configuration: Access the plugin settings page to input:
    • Your ComfyUI Server IP and Port (e.g., 185.165.50.22:443).
    • SSL settings for a secure connection.

🛠️ Prerequisites

  • UBUNTU 22.04 LTS (or newer) with FULL ROOT/SSH ACCESS is required for the self-hosted ComfyUI server.
  • SSL Certificate Path: sudo nano /etc/nginx/ssl/comfyui.crt (or equivalent steps).
  • Workflow Setup: RENAME POSITIVE PROMPT NODE TO 1 in the ComfyUI API JSON.
  • Browser Requirement: Ensure your web browser is up-to-date and supports the necessary connection protocols for the plugin interface.

🤝 Credits

Special thanks to Jesse Karban for contributions to the development and architecture of this integration.

Installation

  1. Upload the linuxmaster-image-generator-for-comfyui folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Configure the plugin settings with your ComfyUI server details and prepared workflow JSON.
  4. Use the shortcode [COMFYUI_GENERATOR] on any page or post.

Vanliga frågor

Q: Why do I need to rename the Positive Prompt node to ’1’?

A: This is a requirement of the plugin’s API implementation to correctly identify and inject the user-provided prompt into your custom ComfyUI workflow JSON structure.

Q: Where can I find my ComfyUI workflow JSON?

A: In the ComfyUI web interface, right-click on the canvas and select ”Save (API Format)”. This JSON file contains the blueprint for your generation.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”LinuxMaster Image Generator for ComfyUI” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

6.13

  • Initial stable release to the WordPress Plugin Directory.
  • Added support for WordPress 7.0 and the Modern admin theme.
  • Confirmed compatibility baseline with PHP 7.4+ following WP 7.0 core changes.
  • Optimized stable tag structure for better compatibility with WordPress.org updates.
  • Fixed ”Stable Tag: trunk” notice in Plugin Check.