View Source ExOpenAi.Images.Image (ex_open_ai v2.0.1)

Represents a new image request to the OpenAI API.

examples

Examples

Link to this section Summary

Link to this section Types

@type t() :: %ExOpenAi.Images.Image{created: integer(), data: list()}

Link to this section Functions

Link to this function

create(data, options \\ [])

View Source
@spec do_new(
  %ExOpenAi.Images.Image{created: term(), data: term()},
  attributes :: list()
) ::
  %ExOpenAi.Images.Image{created: term(), data: term()}
Link to this function

keep_it_simple(response, arg2)

View Source
@spec new() :: %ExOpenAi.Images.Image{created: term(), data: term()}
@spec new(attributes :: list()) :: %ExOpenAi.Images.Image{
  created: term(),
  data: term()
}