```ruby
require 'mini_magick'

MiniMagick.configure do |config|
  config.shell_api = "posix-spawn"
end
```

Enable a 300 second timeout for image magix conversion and disable initial validation pass
user
```ruby
require 'mini_magick'

MiniMagick.configure do |config|
  config.shell_api = "posix-spawn"
  config.timeout = 300
  config.validate_on_create = false
end
```
assistant