struct AI::OpenAI::Tools::ImageMask

Overview

Image mask for inpainting.

Defined in:

ai/openai/tool/openai_tools.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(file_id : String | Nil = nil, image_url : String | Nil = nil) #

[View source]

Instance Method Detail

def file_id : String | Nil #

[View source]
def image_url : String | Nil #

[View source]
def to_h : Hash(String, JSON::Any) #

[View source]