Class: GenAI::Image
- Inherits:
-
Object
- Object
- GenAI::Image
- Extended by:
- Forwardable
- Defined in:
- lib/gen_ai/image.rb,
lib/gen_ai/image/base.rb,
lib/gen_ai/image/open_ai.rb,
lib/gen_ai/image/stability_ai.rb
Defined Under Namespace
Classes: Base, OpenAI, StabilityAI
Instance Method Summary collapse
-
#initialize(provider, token, options: {}) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(provider, token, options: {}) ⇒ Image
Returns a new instance of Image.
9 10 11 |
# File 'lib/gen_ai/image.rb', line 9 def initialize(provider, token, options: {}) build_client(provider, token, ) end |