ai-gateway
Installation
SKILL.md
ai-gateway CLI
A thin wrapper around the ai-gateway CLI (https://vercel.com/ai-gateway) for one-shot text, image, and video generation. Use it whenever a single CLI call beats writing SDK code.
Defaults
- Text model:
xai/grok-4.1-fast-non-reasoning(cheap + capable) - Image model:
google/imagen-4.0-fast-generate-001 - Video model:
xai/grok-imagine-video - Override per-call with
-m <model-id>. Browse withai-gateway models --type image|language|video.
Notable models
- Image-only:
bfl/flux-2-pro,bfl/flux-pro-1.1,openai/gpt-image-2,google/imagen-4.0-generate-001,xai/grok-imagine-image. - Multimodal LLMs (auto-routed through chat completions):
google/gemini-2.5-flash-image(Nano Banana),google/gemini-3.1-flash-image-preview(Nano Banana 2),google/gemini-3-pro-image. - Text quality:
anthropic/claude-opus-4.6,openai/gpt-5.4,xai/grok-4.3. - Video:
xai/grok-imagine-video(cheap),bytedance/seedance-v1.0-lite-t2v,google/veo-3.1-fast-generate-001(premium, audio),klingai/kling-v2.6-t2v.