This fix ensures proper inheritance of defaults while maintaining the correct precedence order for both generic and StabilityAI-specific options. Added tests to verify the merge behavior for runtime options, default options, and generic ImageOptions cases.