* The-Source weer beetje happier nu ik comfyui en ollama met openweb-ui lokaal heb.
Zo kan ik mijn prompts ook lokaal voorbereiden zonder data te delen
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| +-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.06 Driver Version: 570.124.06 CUDA Version: 12.8 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3090 Off | 00000000:01:00.0 Off | N/A |
| 0% 43C P8 29W / 370W | 22103MiB / 24576MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 27979 C /comfy/mnt/venv/bin/python3 16656MiB |
| 0 N/A N/A 40708 C /usr/bin/ollama 5432MiB |
+-----------------------------------------------------------------------------------------+ |
Hoe het zich in memory usage gaat verhouden moet ik nog even ervaren.
Nu meer inhoudelijk. Zoals ik eerder aangaf maak prompt via gpt.
Eerst GPT zelf aan het leren gezet met prompt:
Generate a prompt, start with [Type of photo, e.g., Photo, Portrait photo, Landscape photo, etc.] of a [subject/scene] in [lighting conditions, e.g., golden hour, soft natural light, etc.], captured with a [camera model] camera and a [lens model] lens. Set the aperture to [f-stop] for [depth of field effect, e.g., shallow depth of field for a blurred background, wide depth of field for sharp focus]. The composition should focus on [composition details, e.g., rule of thirds, centered, off-center]. Adjust the shutter speed to [shutter speed] to ensure sharpness. Set the white balance to [white balance setting, e.g., warm tones, neutral]. [Additional elements like reflections, shadows, rim lighting, etc.] can be used to add depth and emphasis to the subject.
Example
Portrait photo of a woman in soft natural light, captured with a Canon EOS R5 camera and a 50mm f/1.2L lens. Set the aperture to f/2.0 for shallow depth of field, creating a blurred background that emphasizes the subject. The composition should focus on the rule of thirds, with the subject slightly off-center. Adjust the shutter speed to 1/125 to ensure sharpness. Set the white balance to neutral for natural color tones. Soft shadows and rim lighting can be used to add depth and highlight the subject's features.
or
Landscape photo of a modern house during sunset, captured with a Nikon Z7 II camera and a 24-70mm f/2.8 lens. Set the aperture to f/8 for a wide depth of field, ensuring the entire scene from the house to the sky is in sharp focus. The composition should follow the rule of thirds, with the house positioned slightly off-center and the sunset filling the upper part of the frame. Adjust the shutter speed to 1/250 to maintain sharpness and capture the vibrant colors of the sunset. Set the white balance to warm tones to enhance the golden hues of the setting sun. Reflections of the sunset on windows and soft shadows can add depth to the image.
Generate the prompt only, no quotes at the beginning and at the end.
Er komt een output uit rollen.
Toen als test volgende prompt gegeven:
make a new prompt about a beautiful red girl, looking through a castle window, she is standing in a long hall with a few torches burning on the right side wall
En dan komt er als output:
Landscape photo of a beautiful red-haired girl looking through a castle window, captured with a Canon EOS R6 camera and a 35mm f/1.8 lens. Set the aperture to f/2.0 for a shallow depth of field, creating a blurred background that emphasizes the subject. The composition should follow the rule of thirds, with the girl positioned slightly off-center and gazing through the window. Adjust the shutter speed to 1/125 to ensure sharpness. Set the white balance to warm tones to enhance the golden hues of the setting sun. Rim lighting can be used around the girl's head and shoulders to add depth and highlight her features. Shadows from a few torches burning on the right side wall can cast interesting patterns on the floor, adding texture and atmosphere to the scene.
Nu nog even met SD gaan testen

Maar doe er je voordeel mee om goede prompts te genereren
edit: zonder upscaling en verder default Flux-dev demo template uit comfy-ui dan krijg je een beetje het volgende (dezelfde promp alleen andere seed)
[
Voor 7% gewijzigd door
The-Source op 13-04-2025 21:22
]