iceloon on X: a Grok channel's fetched list put Grok Imagine Video and
Video 1.5 under Image models, where nothing could mark them Video.
"imagine" is in DrawsID's and ImagesAPI's words, so grok-imagine-video
was drawn as an image. Every provider had the same class: wanx2.1-t2v,
wan2.5-i2v, *-video ids.
- namesVideo: an id with the word video, t2v or i2v is no image model
(DrawsID, ImagesAPI). cogvideox stays as it was.
- #1399 holds: a relay's model is not a video model by its name. A
relay's grok-imagine-video now lands among its chat models, where
right-click Makes… -> Video model already marks it.
- xAI's own list (api.x.ai) is the one whose grok-imagine-video* is a
video model (xaiFilms), and the gateway makes it at xAI's API:
POST /v1/videos/generations, then GET /v1/videos/<request_id>, as a
Grok subscription's backend does. xAI has no OpenAI-shaped
POST /v1/videos, so filmsOpenAI leaves an xAI key out.
- A list saved before this is mended when read (mendKinds), so an old
grok-imagine-video saved as an image model moves without a fetch.
Run (mica, mica-run, at ac0b5c287 + this change):
- gofmt -l: clean. go vet (darwin, the changed packages), GOOS=linux
go vet -tags nogui ./..., GOOS=windows go vet ./..., linux and windows
builds, go build ./...: ok.
- go test -tags nogui -count=1 -timeout 45m ./internal/catalog
./internal/provider ./internal/gateway .: ok (gateway 1012s).
- Broken by hand, each red, then restored: namesVideo returning false
(TestVideoNamedIsNoImageModel, TestFetchRelayGrokVideoIsNoDrawer,
TestSavedGrokVideoMended), xaiFilms returning false (TestXAIFilms,
TestSavedGrokVideoMended), the mend in mendKinds removed
(TestSavedGrokVideoMended), filmsXAI returning false
(TestXAIKeyMakesGrokVideo).
Not run: the full go test ./... (both machines' suite.lock queues were
hours deep). Not tried: a real xAI API key (none here); the xAI path is
held to docs.x.ai's /v1/videos/generations and GET /v1/videos/<id> by a
fake in TestXAIKeyMakesGrokVideo.