How to get asset pipeline host url in Grape Api

Hi All

how can i get the asset pipeline host url in grape api to append to the
image url

in config/environments/development.rb

ActionController::Base.asset_host = “assets.example.com

i have configured the asset url. How can i generate this image with
asset host url in grape api