Commit Graph

9 Commits

Author SHA1 Message Date
624e71ef16 Use DPM++ scheduler when IP-Adapter disabled
DPMSolverMultistepScheduler produces sharper, higher quality output.
This matches the original dreamtail configuration that produced
excellent results.
2026-01-01 22:48:21 -06:00
8e0f4bf20f Use default scheduler when IP-Adapter disabled
DDIM scheduler was always active, causing softer output. Now only
uses DDIM when ENABLE_IP_ADAPTER=True, otherwise uses model's
default scheduler for best quality.
2026-01-01 22:31:39 -06:00
504f30779f Add ENABLE_IP_ADAPTER config flag (default: False)
Allows disabling IP-Adapter FaceID entirely for cleaner output quality.
Set to True in config.py to re-enable face-locked generation.
2026-01-01 22:23:51 -06:00
f5e37bc5b2 Fix: use s_scale=0 when IP-Adapter loaded but no face requested
When IP-Adapter FaceID is initialized, it modifies the pipeline's UNet
cross-attention layers. Calling raw pipeline() without face embeddings
leaves these layers in a broken state, causing corrupted output.

Solution: When IP-Adapter is loaded but no face_image provided, call
ip_model.generate() with s_scale=0.0 and zero embeddings to properly
disable face conditioning while satisfying the modified layers.
2026-01-01 22:01:18 -06:00
28e00e88e6 Add IP-Adapter package from GitHub 2026-01-01 20:29:38 -06:00
0bb5d0a77c Pin numpy<2 for Jetson PyTorch compatibility 2026-01-01 20:17:56 -06:00
b612127a80 Fix onnxruntime for Jetson ARM64 2026-01-01 20:13:02 -06:00
3b587a2d51 Add InsightFace system dependencies and storage dirs 2026-01-01 20:07:49 -06:00
e4294b57e6 DreamTail v1.0.0 with IP-Adapter FaceID support
- SDXL image generation using RealVisXL_V4.0
- IP-Adapter FaceID integration for consistent face generation
- Simplified API (removed client_id requirement)
- New params: face_image, face_strength
- 'vixy' shortcut for face-locked generation
- Queue-based async job processing
- FastAPI with proper error handling

Co-authored-by: Alex <alex@k4zka.online>
2026-01-01 19:54:59 -06:00