=== index.html === ComfyUI Workflow Studio - AI-Powered Workflow Generator

AI-Powered ComfyUI Workflow Generator

Create stunning AI workflows with natural language. Start with templates for 3D, audio, image generation, and more.

50+ Templates
Zero GPU Cost
Possibilities

Workflow Templates

Start with pre-built templates for various AI tasks

AI Workflow Generator

Describe your workflow in natural language and let AI create it for you

Your generated workflow will appear here

Workflow Editor

Visual workflow editor with drag-and-drop nodes and Zero GPU optimization

Drag nodes here to build your workflow

Results

View and download your generated content

Your generated results will appear here

=== assets/css/styles.css === :root { --primary-color: #6366f1; --primary-dark: #4f46e5; --primary-light: #818cf8; --secondary-color: #22d3ee; --background: #ffffff; --surface: #f8fafc; --surface-alt: #f1f5f9; --text-primary: #1e293b; --text-secondary: #64748b; --border: #e2e8f0; --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1); --radius: 0.5rem; --transition: all 0.3s ease; } [data-theme="dark"] { --background: #0f172a; --surface: #1e293b; --surface-alt: #334155; --text-primary: #f1f5f9; --text-secondary: #94a3b8; --border: #475569; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--background); color: var(--text-primary); line-height: 1.6; transition: var(--transition); } .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } /* Header */ .header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); background: rgba(var(--surface), 0.9); } .header-content { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; } .logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--primary-color); } .logo i { font-size: 1.5rem; } .nav { display: flex; gap: 2rem; } .nav-link { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: var(--transition); } .nav-link:hover { color: var(--primary-color); } .header-actions { display: flex; align-items: center; gap: 1rem; } .built-with { color: var(--primary-color); text-decoration: none; font-weight: 500; transition: var(--transition); } .built-with:hover { color: var(--primary-dark); } /* Buttons */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: none; border-radius: var(--radius); font-weight: 500; cursor: pointer; transition: var(--transition); text-decoration: none; font-size: 0.875rem; } .btn-primary { background: var(--primary-color); color: white; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); } .btn-secondary { background: var(--surface-alt); color: var(--text-primary); } .btn-secondary:hover { background: var(--border); } .btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); } .btn-outline:hover { background: var(--primary-color); color: white; } .btn-large { padding: 0.75rem 1.5rem; font-size: 1rem; } /* Hero Section */ .hero { padding: 4rem 0; background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: white; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,') repeat; opacity: 0.3; } .hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; } .hero-title { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; } .hero-buttons { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; } .stats { display: flex; justify-content: center; gap: 4rem; } .stat { text-align: center; } .stat-number { display: block; font-size: 2rem; font-weight: 700; } .stat-label { font-size: 0.875rem; opacity: 0.8; } /* Sections */ .section { padding: 4rem 0; } .section-alt { background: var(--surface); } .section-header { text-align: center; margin-bottom: 3rem; } .section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .section-subtitle { color: var(--text-secondary); font-size: 1.125rem; } /* Template Gallery */ .template-categories { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; } .category-btn { padding: 0.5rem 1rem; border: 2px solid var(--border); background: var(--background); color: var(--text-secondary); border-radius: 2rem; cursor: pointer; transition: var(--transition); } .category-btn.active, .category-btn:hover { border-color: var(--primary-color); color: var(--primary-color); background: var(--primary-color); background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); color: white; } .template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .template-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: var(--transition); cursor: pointer; } .template-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); } .template-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; margin-bottom: 1rem; } .template-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; } .template-description { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1rem; } .template-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; } .template-tag { padding: 0.25rem 0.5rem; background: var(--surface-alt); color: var(--text-secondary); border-radius: 0.25rem; font-size: 0.75rem; } /* Generator */ .generator-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; } .generator-input { background: var(--background); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); } .input-group { margin-bottom: 1.5rem; } .input-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .input-group textarea { width: 100%; min-height: 120px; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-primary); font-family: inherit; resize: vertical; } .form-select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-primary); font-family: inherit; cursor: pointer; } .input-options { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; } .option-group label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; } .batch-preview { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-top: 1rem; max-height: 200px; overflow-y: auto; } .batch-item { padding: 0.5rem; border-bottom: 1px solid var(--border); font-size: 0.875rem; } .batch-item:last-child { border-bottom: none; } .generator-preview { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; min-height: 300px; } .preview-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-secondary); } .preview-placeholder i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; } /* Editor */ .editor-container { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } .editor-toolbar { background: var(--surface); padding: 1rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; } .toolbar-group { display: flex; gap: 0.5rem; } .tool-btn { padding: 0.5rem 1rem; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; color: var(--text-primary); } .tool-btn:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); } .editor-canvas { min-height: 400px; padding: 2rem; background: var(--surface); position: relative; } .canvas-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-secondary); } .canvas-placeholder i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; } /* Results */ .results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; } .result-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); } .result-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } .result-image { width: 100%; height: 200px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); } .result-info { padding: 1rem; } .result-title { font-weight: 600; margin-bottom: 0.5rem; } .result-meta { color: var(--text-secondary); font-size: 0.875rem; } .result-placeholder { grid-column: 1 / -1; text-align: center; padding: 4rem 2rem; color: var(--text-secondary); } .result-placeholder i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; } /* Footer */ .footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0 1rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-section h4 { margin-bottom: 1rem; color: var(--text-primary); } .footer-section a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 0.5rem; transition: var(--transition); } .footer-section a:hover { color: var(--primary-color); } .footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; } .footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-secondary); } /* Responsive */ @media (max-width: 768px) { .nav { display: none; } .hero-title { font-size: 2rem; } .hero-subtitle { font-size: 1rem; } .hero-buttons { flex-direction: column; align-items: center; } .stats { gap: 2rem; } .generator-container { grid-template-columns: 1fr; } .editor-toolbar { flex-direction: column; } .template-grid { grid-template-columns: 1fr; } } /* Loading Animation */ .loading { display: inline-block; width: 20px; height: 20px; border: 3px solid var(--border); border-radius: 50%; border-top-color: var(--primary-color); animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Toast Notification */ .toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 1rem; transform: translateX(400px); transition: transform 0.3s ease; z-index: 1000; } .toast.show { transform: translateX(0); } .toast.success { border-color: #10b981; color: #10b981; } .toast.error { border-color: #ef4444; color: #ef4444; } /* Node Styles */ .node { position: absolute; background: var(--background); border: 2px solid var(--border); border-radius: var(--radius); padding: 1rem; min-width: 150px; cursor: move; transition: var(--transition); } .node:hover { border-color: var(--primary-color); box-shadow: var(--shadow-lg); } .node.selected { border-color: var(--primary-color); } .node.batch { border-color: var(--secondary-color); } .node.batch .node-header { color: var(--secondary-color); } .node.3d { border-color: #10b981; } .node.3d .node-header { color: #10b981; } .node-header { font-weight: 600; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; } .node-ports { display: flex; justify-content: space-between; margin-top: 0.5rem; } .port { width: 12px; height: 12px; background: var(--primary-color); border-radius: 50%; cursor: pointer; } .port.input { margin-left: -6px; } .port.output { margin-right: -6px; } .batch-indicator { position: absolute; top: -8px; right: -8px; background: var(--secondary-color); color: white; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; } .queue-status { position: fixed; bottom: 2rem; left: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-lg); display: none; } .queue-status.active { display: block; } .queue-progress { margin-top: 0.5rem; background: var(--surface-alt); border-radius: var(--radius); height: 8px; overflow: hidden; } .queue-progress-bar { height: 100%; background: var(--primary-color); transition: width 0.3s ease; } /* Connection Line */ .connection { stroke: var(--primary-color); stroke-width: 2; fill: none; pointer-events: none; } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.5s ease; } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--surface); } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }