alchaplinsky/gen-ai

Add support for upscaling in image generation

Closed this issue · 1 comments

Description

Stability AI supports upscaling images https://platform.stability.ai/docs/api-reference#tag/v1generation/operation/upscaleImage.

So we need to:

  • Add an upscale method to GenAI::Image::StabilityAI
  • Add tests for this method both vcr and unit tests for accepting different options.
  • Add a corresponding method to OpenAI class but raise an error saying that OpenAI does not support upscaling

Added by c998e4d