Can this factory be changed into Faker

Hello,

I have made this factory :

factory :product do
description “This is the first book”
image_url “test.jpg”
price 1.00
sequence (:title) { |n| “book#{n}” }
end

Now I wonder if this can be converted to faker but price needs to be higher or equal to 0.01 and image url needs to be a png, jpg or gif.

Roelof