You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4e97ef5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/providers-and-models.md
+24-12Lines changed: 24 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -266,17 +266,27 @@ An older Cloud deployment falls through to the active LLM and existing checks.
266
266
Configure **Providers → Generative** for the
267
267
`generate_image` agent tool. Select one provider and save its settings:
268
268
269
-
| Provider | Required settings | Generation |
270
-
| --- | --- | --- |
271
-
| fal.ai | API key, model ID (for example `fal-ai/flux/schnell`) | fal.ai queue API; existing saved fal.ai settings remain compatible |
272
-
| OpenRouter | API key, image model ID |[Dedicated Image API](https://openrouter.ai/docs/guides/overview/multimodal/image-generation); inline images appear in chat with a save link |
273
-
| Comfy Router | Comfy API key, `provider/model` ID (for example `bfl/flux-2-pro`) |[Queued requests](https://docs.comfy.org/development/comfy-router/queued-delivery); hosted or inline media |
274
-
| ComfyUI (localhost) | Local server URL (default `http://127.0.0.1:8188`), workflow JSON in API format | Local `/prompt`, `/history/{prompt_id}`, and `/view` endpoints; no API key |
269
+
| Provider | Settings | Default image / video model | Generation |
270
+
| --- | --- | --- | --- |
271
+
| fal.ai | API key; image and video model IDs (optional) |`fal-ai/flux/schnell` / `xai/grok-imagine-video/v1.5/lite/text-to-video`| fal.ai queue API; existing saved fal.ai settings remain compatible |
272
+
| OpenRouter | API key; image and video model IDs (optional) |`google/gemini-2.5-flash-image` / `x-ai/grok-imagine-video-1.5-lite`|[Dedicated Image API](https://openrouter.ai/docs/guides/overview/multimodal/image-generation) and video API; inline media appears in chat with a save link |
273
+
| Comfy Router | Comfy API key; image and video `provider/model` IDs (optional), each with optional input JSON |`bfl/flux-2-pro` / `xai/grok-imagine-video-1.5-lite`|[Queued requests](https://docs.comfy.org/development/comfy-router/queued-delivery); hosted or inline media |
274
+
| ComfyUI (localhost) | Local server URL (default `http://127.0.0.1:8188`); image workflow JSON in API format, optional video workflow | — | Local `/prompt`, `/history/{prompt_id}`, and `/view` endpoints; no API key |
275
+
276
+
Each provider has an image model and a video model. `generate_image` uses the
277
+
video model when the agent asks for a video (`media: "video"`, or any video
278
+
option such as `duration` or `scenes`) and the image model otherwise. A model
279
+
field left empty uses the default shown in it. For ComfyUI, a video request
280
+
without a video workflow uses the image workflow. Settings saved when there was
281
+
one model keep it as the image model; with OpenRouter, a saved model that the
282
+
video catalog lists makes the videos instead, and calls that do not say what
283
+
they want get a video from it, as before.
275
284
276
285
For Comfy Router models with native inputs other than `prompt`, paste their input
277
-
JSON in **Model input JSON** and place `{{prompt}}` in the text field(s). Other
278
-
values, such as duration or resolution, are preserved. Without a placeholder,
279
-
WebBrain supplies the tool prompt as `prompt`. Refer to the model's
286
+
JSON in **Image model input JSON** or **Video model input JSON** and place
287
+
`{{prompt}}` in the text field(s). Other values, such as duration or resolution,
288
+
are preserved. Without a placeholder, WebBrain supplies the tool prompt as
0 commit comments