View Source OpenaiEx.Image.Variation (openai_ex v0.5.4)

This module provides constructors for OpenAI Image Variation API request structure. The API reference can be found at https://platform.openai.com/docs/api-reference/images/create-variation.

API Fields

  • :image
  • :n
  • :size
  • :response_format
  • :user

Summary

Functions

Creates a new image variation request with the given arguments.

Functions

Creates a new image variation request with the given arguments.

Arguments

  • args: A list of key-value pairs, or a map, representing the fields of the image variation request.

Returns

A map containing the fields of the image variation request.

The :image field is required.