# AI Provider Configuration # Options: openai, stability, replicate, mock # - openai: DALL-E 2 (low quality, not recommended) # - stability: Stability AI SDXL (good quality, ~$0.04/image) # - replicate: Multiple models (best value, ~$0.002-0.025/image) # - mock: No AI, returns original (for testing) AI_PROVIDER=mock # API Keys OPENAI_API_KEY= STABILITY_API_KEY= REPLICATE_API_KEY= # Model Selection (optional, provider-specific) # Stability AI models: sdxl (default), sd15, sd21 STABILITY_MODEL=sdxl # Replicate models: sdxl-inpaint (default), lama, realistic-vision # - sdxl-inpaint: Best general purpose (~$0.025/image) # - lama: Best for object removal (~$0.002/image) # - realistic-vision: Best for humans/faces/hands (~$0.020/image) REPLICATE_MODEL=sdxl-inpaint # Allow per-edit model override (true/false) ALLOW_MODEL_OVERRIDE=true # Secret key for JWT tokens (change in production) SECRET_KEY=change-this-secret-key-in-production