ImageGenerations Class

  • java.lang.Object
    • com.azure.ai.openai.models.ImageGenerations

public final class ImageGenerations

The result of a successful image generation operation.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedAt()

Get the createdAt property: A timestamp representing when this operation was started.

List<ImageGenerationData> getData()

Get the data property: The images generated by the operation.

Methods inherited from java.lang.Object

Method Details

getCreatedAt

public OffsetDateTime getCreatedAt()

Get the createdAt property: A timestamp representing when this operation was started. Expressed in seconds since the Unix epoch of 1970-01-01T00:00:00+0000.

Returns:

the createdAt value.

getData

public List getData()

Get the data property: The images generated by the operation.

Returns:

the data value.

Applies to