Setting Up Your API Key
To use the Isekai Comfy Node with your Isekai Core deployment, you’ll need to set up an API key. This key allows the nodes to authenticate and interact with your Isekai instance for uploading and managing images.
-
Log in to your Isekai Core instance (e.g.,
https://your-domain.com) -
Navigate to Profile > API Keys
-
Click “Create New API Key”
-
Give it a name (e.g., “ComfyUI”)
-
Copy the API key (starts with
isk_...)
Setting Up API Key
Section titled “Setting Up API Key”Using Environment Variable (Recommended)
Section titled “Using Environment Variable (Recommended)”Set the ISEKAI_API_KEY environment variable before starting ComfyUI:
export ISEKAI_API_KEY=isk_your_api_key_here$env:ISEKAI_API_KEY="isk_your_api_key_here"set ISEKAI_API_KEY=isk_your_api_key_hereThen restart ComfyUI. The upload node will automatically use the environment variable.
Using Node Input (Fallback)
Section titled “Using Node Input (Fallback)”If you don’t set the environment variable, you can enter your API key directly in the node’s api_key field. However, this method:
- Exposes your API key in the node interface
- Saves your API key in workflow JSON files
- Should not be used for workflows you plan to share publicly
The environment variable method is more secure and prevents accidental exposure.
Optional: Ollama Setup
Section titled “Optional: Ollama Setup”For the Ollama Summarizer node, you need Ollama running locally:
# Install Ollamacurl -fsSL https://ollama.com/install.sh | sh
# Pull a modelollama pull llama3
# Verify it's runningcurl http://localhost:11434/api/tagsConfigure Your Isekai Instance URL
Section titled “Configure Your Isekai Instance URL”Point the node to your Isekai Core instance by setting the ISEKAI_API_URL environment variable:
# For deployed instanceexport ISEKAI_API_URL=https://api.your-domain.com
# For local instanceexport ISEKAI_API_URL=http://localhost:4000# For deployed instance$env:ISEKAI_API_URL="https://api.your-domain.com"
# For local instance$env:ISEKAI_API_URL="http://localhost:4000"# For deployed instanceset ISEKAI_API_URL=https://api.your-domain.com
# For local instanceset ISEKAI_API_URL=http://localhost:4000Replace your-domain.com with your actual Isekai Core domain (e.g., if your frontend is at https://isekai.example.com, your API URL should be https://api.example.com).
Then restart ComfyUI.
Rate Limits & Quotas
Section titled “Rate Limits & Quotas”- Rate Limit: 100 uploads per 15 minutes per API key (configurable in your instance)
- File Size: Maximum 50 MB per image (default)
- Storage: Check your current usage in your Isekai Core instance dashboard