OpenAI.images_variations

You're seeing just the function images_variations, go back to OpenAI module for more information.
Link to this function

images_variations(file_path, params \\ [], request_options \\ [])

View Source

Creates a variation of a given image. If needed, you can pass a second argument to the function to add specific http options to this specific call (i.e. increasing the timeout)

Example Request

OpenAI.images_variations(
   "/home/developer/myImg.png",
   [n: "5"],
   [recv_timeout: 10 * 60 * 1000]
)

Example Response

{:ok,
%{
 created: 1670341737,
 data: [
   %{
     "url" => ...Returned url
   }
 ]
}}

See: https://beta.openai.com/docs/api-reference/images/create-variation for the complete list of parameters you can pass to the image creation function