Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
openai
main
OpenAI
APIError
APIErrorModel
ApiType
AuthenticationError
ChatCompletionChoice
ChatCompletionRequest
ChatCompletionResponse
ChatCompletionStream
ChatCompletionStreamChoice
ChatCompletionStreamChoiceDelta
ChatCompletionStreamResponse
ChatFunction
ChatFunctionCall
ChatMessage
ChatMessageRole
ChatTool
ToolType
ChatToolCall
Client
Config
ProxyConfig
CompletionChoice
CompletionRequest
CompletionResponse
CompletionStream
ContentFilterResults
Embedding
EmbeddingConverter
EmbeddingEncoding
EmbeddingModel
EmbeddingRequest
EmbeddingResponse
Engine
ErrorAccumulator
FileDeletionStatus
FileRequest
FileResponse
FileStatus
FineTuningJob
FineTuningJobEvent
FineTuningJobEventList
FineTuningJobRequest
FineTuningStatus
FinishReason
FuncMarker
FunctionExecutor
Callback
Hate
HyperParams
ImageEditRequest
ImageRequest
ImageRespData
ImageRespFormat
ImageResponse
ImageSize
ImageVariationRequest
InnerError
InvalidAPIType
List
LogprobResult
Model
ModerationModel
ModerationModelConverter
ModerationRequest
ModerationResponse
ModerationResult
ModerationResultCategories
ModerationResultCategoryScores
OpenAIError
Permission
PromptAnnotation
RequestError
ResponseError
ResponseFormat
FormatType
Segment
SelfHarm
Sexual
TranscriptionRequest
TranscriptionRespFormat
TranscriptionResponse
Usage
Violence
Generated using Crystal 1.11.2
2024-11-04 10:06:48 UTC
struct
OpenAI::
ImageResponse
OpenAI::ImageResponse
Struct
Value
Object
Included Modules
JSON::Serializable
Extended Modules
JSON::Schema
Defined in:
openai/api/image.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#created
: Time | Nil
#data
: Array(ImageRespData)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
created
: Time | Nil
#
[
View source
]
def
data
: Array(
ImageRespData
)
#
[
View source
]