Nidavellir
Nidavellir is Alfheim's built-in AI-assisted drawing tool that enables real-time conversion from sketches to refined images by connecting to a ComfyUI service. You can draw sketches on the canvas, and the AI will generate high-quality images based on your sketch and prompts.
Feature Overview
- Built-in sketch canvas with multiple drawing tools
- Real-time mode and single-generation mode
- ControlNet parameter control
- Layer management
- Design file (.nid) save and load
- Generation result preview and save
Access
Enter via the Nidavellir tab in Art Studio.
Connecting to ComfyUI
Nidavellir requires a connection to a running ComfyUI service to use AI generation features.
Connection Steps
- Ensure the ComfyUI service is running locally or remotely.
- Enter the server address in the Connection area of Nidavellir.
- Click Connect.
- Once connected, the status will update to connected.
Disconnecting
Click Disconnect to terminate the current connection.
Sketch Canvas
The canvas area on the left is used for drawing sketches.
Drawing Tools
The toolbar provides the following tools:
| Tool | Description |
|---|---|
| Brush | Freehand line drawing |
| Eraser | Erase canvas content |
| Line | Draw straight lines |
| Rectangle | Draw rectangles |
| Ellipse | Draw ellipses |
| Fill | Fill areas with color |
| Arrow | Draw line segments with arrows |
Color and Brush
- Color Picker: Select drawing color.
- Brush Size: Adjust line thickness.
Canvas Operations
- Undo / Redo: Revert or restore operations.
- Clear Canvas: Remove all drawn content.
Layers
The canvas supports layer management:
- Click Add Layer to create a new layer.
- Draw different elements on different layers.
- Manage layer visibility and order through the layer panel.
AI Generation
Prompts
Enter prompts in the control panel on the right:
- Positive Prompt: Describe what you want to generate.
- Negative Prompt (optional): Describe what you do not want to appear.
Parameter Configuration
- Workflow Selection: Select available workflows on ComfyUI.
- Model Selection: Select the AI model to use.
- Other Parameters: Additional adjustable parameters may be available depending on the workflow.
ControlNet
ControlNet controls how closely the AI generation follows your sketch:
- Strength: Higher values make the output adhere more closely to the sketch outline; lower values give the AI more creative freedom.
Generation Modes
Real-time Mode
When real-time mode is enabled, the AI automatically generates a new image each time you draw on the canvas. Ideal for rapid iteration and creative exploration.
- Debounce settings control how long to wait after drawing stops before triggering generation, avoiding frequent generation during drawing.
Single Generation
Click Single Generate to manually trigger one generation. Ideal for refined output when you are satisfied with your sketch.
Interrupt Generation
If generation takes too long or the result is unsatisfactory, click the interrupt button to stop the current generation.
Generation Preview
The preview area on the right displays AI generation results in real time.
- Satisfactory results can be saved by clicking Save to Assets to import into the project.
Design Files
Nidavellir supports saving the current canvas state and parameter settings as .nid design files.
Save Design
Save the current sketch, layers, prompts, and parameter configuration for later editing.
Load Design
Select and load previous work from the list of saved design files.
New Design
Clear the current canvas and parameters to start a fresh design.
Tips
- Sketches do not need to be highly detailed; the AI will complete and refine based on the general outline and prompts.
- Real-time mode is suitable for concept exploration, while single generation is suitable for final output.
- Use ControlNet strength wisely β too high can make results rigid, too low may ignore the sketch composition.
- Use layers to separate different elements for more flexible composition adjustments.