ReqLLM.Providers.OpenAI.ImagesAPI (ReqLLM v1.14.0)

View Source

OpenAI Images API driver.

Implements request/response handling for OpenAI image generation.

Summary

Functions

Builds the Req :form_multipart keyword list for the /images/edits endpoint.

Functions

edit_image_form_multipart(opts)

Builds the Req :form_multipart keyword list for the /images/edits endpoint.

Required keys in opts: :model, :prompt, :source_image. Optional keys (:mask, :n, :size, :quality, :output_format, :user, and the *_media_type companions) are added only when present.