|
1 | 1 | --- |
2 | | -summary: "Generate and edit images using configured providers (OpenAI, OpenAI Codex OAuth, Google Gemini, OpenRouter, fal, MiniMax, ComfyUI, Vydra, xAI)" |
| 2 | +summary: "Generate and edit images using configured providers (OpenAI, OpenAI Codex OAuth, Google Gemini, OpenRouter, LiteLLM, fal, MiniMax, ComfyUI, Vydra, xAI)" |
3 | 3 | read_when: |
4 | 4 | - Generating images via the agent |
5 | 5 | - Configuring image generation providers and models |
@@ -53,6 +53,7 @@ The agent calls `image_generate` automatically. No tool allow-listing needed —
|
53 | 53 | | OpenAI image generation with API billing | `openai/gpt-image-2` | `OPENAI_API_KEY` | |
54 | 54 | | OpenAI image generation with Codex subscription auth | `openai/gpt-image-2` | OpenAI Codex OAuth | |
55 | 55 | | OpenRouter image generation | `openrouter/google/gemini-3.1-flash-image-preview` | `OPENROUTER_API_KEY` | |
| 56 | +| LiteLLM image generation | `litellm/gpt-image-2` | `LITELLM_API_KEY` | |
56 | 57 | | Google Gemini image generation | `google/gemini-3.1-flash-image-preview` | `GEMINI_API_KEY` or `GOOGLE_API_KEY` | |
57 | 58 | |
58 | 59 | The same `image_generate` tool handles text-to-image and reference-image |
@@ -67,6 +68,7 @@ ignored when a provider does not support them.
|
67 | 68 | | ---------- | --------------------------------------- | ---------------------------------- | ----------------------------------------------------- | |
68 | 69 | | OpenAI | `gpt-image-2` | Yes (up to 4 images) | `OPENAI_API_KEY` or OpenAI Codex OAuth | |
69 | 70 | | OpenRouter | `google/gemini-3.1-flash-image-preview` | Yes (up to 5 input images) | `OPENROUTER_API_KEY` | |
| 71 | +| LiteLLM | `gpt-image-2` | Yes (up to 5 input images) | `LITELLM_API_KEY` | |
70 | 72 | | Google | `gemini-3.1-flash-image-preview` | Yes | `GEMINI_API_KEY` or `GOOGLE_API_KEY` | |
71 | 73 | | fal | `fal-ai/flux/dev` | Yes | `FAL_KEY` | |
72 | 74 | | MiniMax | `image-01` | Yes (subject reference) | `MINIMAX_API_KEY` or MiniMax OAuth (`minimax-portal`) | |
|