PhoenixKitAI.Provider adapter for xAI's image endpoints.
- Editing:
POST <base_url>/images/editsas JSON —imageis one{url, type: "image_url"}object or a list of them (xAI documents up to 5 sources); served by the Grok Imagine image models. - Generation:
POST <base_url>/images/generations.
xAI takes aspect_ratio / resolution / n /
response_format, never OpenAI's size. It publishes no per-model
option listing, so image_options/1 is the static set.