ta
TanStack
GitHub
ai
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
ai
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
23d489b0 feat(ai-grok): add duration range options to grok video adapter Replace the throwing `validateVideoDuration` with the standard duration-options mechanism. Both grok-imagine video models declare a continuous 1–15 integer- second range via a `GROK_VIDEO_DURATIONS` table, and the adapter overrides `availableDurations()` / `snapDuration()` (backed by the shared `snapToDurationOption` helper) so consumers can discover and pre-snap durations. `createVideoJob` now snaps the requested duration into range (clamp + round) instead of rejecting it, and the snapped value is spread after `...modelOptions` so it is authoritative. Adds the per-model `GrokVideoModelDurationByName` generic, narrows the `createVideoJob` signature to carry the size/duration type params, exports the new helpers/type, and documents the range in the media docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
23d489b0 Merge 3d09c621590230cfd74c79fe49799db729bf165b into 614576cb605ebeb1107ee8da409e27dd2e6b256a
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
ebda4993 feat(ai-grok): add duration range options to grok video adapter Replace the throwing `validateVideoDuration` with the standard duration-options mechanism. Both grok-imagine video models declare a continuous 1–15 integer- second range via a `GROK_VIDEO_DURATIONS` table, and the adapter overrides `availableDurations()` / `snapDuration()` (backed by the shared `snapToDurationOption` helper) so consumers can discover and pre-snap durations. `createVideoJob` now snaps the requested duration into range (clamp + round) instead of rejecting it, and the snapped value is spread after `...modelOptions` so it is authoritative. Adds the per-model `GrokVideoModelDurationByName` generic, narrows the `createVideoJob` signature to carry the size/duration type params, exports the new helpers/type, and documents the range in the media docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
ebda4993 Merge 1720516254dc32e6bd9370d58af8a9fa421749f6 into df40512bda853f714b2913bee630ec599e664207
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
9bf5277c feat(ai-grok): video generation adapter for grok-imagine video models Add a grokVideo adapter for xAI's Imagine video models via the experimental generateVideo() jobs/polling architecture (createVideoJob posts to /v1/videos/generations, polling reads /v1/videos/{request_id}), with hosted video URL plus usage (unitsBilled seconds + exact cost in USD). Two models: - grok-imagine-video (v1.0): text-to-video and image-to-video, $0.05/s. - grok-imagine-video-1.5: image-to-video only, $0.08/s. xAI's API rejects text-to-video on 1.5, so the adapter fails fast with a clear error telling the caller to add a starting-frame image or use grok-imagine-video. Image-to-video starting frames are supplied as an `image` prompt part (resolveMediaPrompt convention; public URL or base64 data source). Adds native xAI Direct grok image (grok-imagine-image / -quality) and video entries to the ts-react-media example, plus docs, changeset, and the media skill. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
9bf5277c Merge 2d8550657852845b31149272842ee9f90839da55 into df40512bda853f714b2913bee630ec599e664207
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
7b5bfa49 fix(ai-grok): grok-imagine-video-1.5 is image-to-video only Confirmed against the live xAI API: grok-imagine-video-1.5 rejects text-to-video ("Text-to-video is not supported for this model") and only generates from a starting frame. createVideoJob now requires exactly one image prompt part and throws a clear error otherwise; model-meta, provider options, docs, changeset, and the media skill describe it as image-to-video only. The ts-react-media example drops the (non-working) text-to-video entry and keeps the image-to-video one. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
7b5bfa49 Merge 1cf70d0098fb25fd5fbbc65c9f63f92b3a01a860 into eddfbbdfd979cad7874f0fb33695c5c41331631e
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
d273bdbe ci: apply automated fixes
by autofix-ci...
a
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
d273bdbe Merge cd06312d77e229ee86d2c961d91dc9116ae0627e into eddfbbdfd979cad7874f0fb33695c5c41331631e
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
cc54c945 Merge 9403ac22baffe5d8b7d62da9004197af1dc8baf6 into eddfbbdfd979cad7874f0fb33695c5c41331631e
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
cc54c945 fix(ai-grok): use canonical grok-imagine-video-1.5 id + native grok image in example The Imagine video model's canonical id (per xAI's /v1/models) is `grok-imagine-video-1.5`; `-preview` is just an alias. Expose only that model in model-meta / provider-options and drop the base `grok-imagine-video` entry. Per xAI's docs the model does text-to-video (starting image optional) and image-to-video (starting image required). Also add native xAI Direct image generation to the ts-react-media example via the existing grokImage adapter (grok-imagine-image / -quality), with an "xAI (direct)" optgroup in the image picker, alongside the direct grok video entries. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
618a2360 Merge 1bfbe330d5e849cb956bc977bf978dc2138fcc9e into eddfbbdfd979cad7874f0fb33695c5c41331631e
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
618a2360 feat(examples): provider optgroups in video model dropdown, use grok-imagine-video-1.5-preview Groups the video model dropdown by provider (fal.ai / xAI direct) the same way the image generator does, adds the model version to the direct-xAI entry names, and switches them to the grok-imagine-video-1.5-preview model. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
b6ec1b46 feat(examples): provider optgroups in video model dropdown, use grok-imagine-video-1.5-preview Groups the video model dropdown by provider (fal.ai / xAI direct) the same way the image generator does, adds the model version to the direct-xAI entry names, and switches them to the grok-imagine-video-1.5-preview model. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
b6ec1b46 Merge c6e1573e5d10beb40843355011542dac958b9519 into ff267a5536327b006979f9f28ce2df7cc27f6e23
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
42a0e5f7 feat(examples): add direct-xAI grok video entries to ts-react-media Adds 'xAI Direct' text-to-video and image-to-video entries to the video generator that use the native grokVideo adapter against xAI's Imagine API (XAI_API_KEY), alongside the existing fal-hosted grok-imagine entries. Polling is now keyed by the UI model id (the direct entries share one adapter model), and the completed card shows the exact USD cost when the adapter reports it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
42a0e5f7 Merge 49a7c09ac981889b979599c7b87a14ca5efdc93d into ff267a5536327b006979f9f28ce2df7cc27f6e23
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
dd449075 feat(ai-grok): video generation adapter for the grok-imagine video models Adds a grokVideo adapter to @tanstack/ai-grok for xAI's Imagine video models (grok-imagine-video at $0.05/s, grok-imagine-video-1.5-preview at $0.08/s) using the experimental generateVideo() jobs/polling architecture: POST /v1/videos/generations to create, GET /v1/videos/{request_id} to poll, hosted mp4 URL plus usage (billed seconds + exact USD cost) on completion. Sizing follows the grok-imagine aspect-ratio template ('16:9_720p' → aspect_ratio/resolution); durations are 1-15 integer seconds; image-to-video starting frames go through modelOptions.image. The Imagine video endpoints are plain JSON (not in the OpenAI SDK), so the adapter issues direct requests with an injectable fetch seam. Closes #705. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
705-featai-grok-video-generation-adapter-for-the-grok-imagine-video-models
dd449075 Merge 7d63f7a2415a05537cbba04f12d95e4f00ebb349 into ff267a5536327b006979f9f28ce2df7cc27f6e23
by Tom Beckenham
T
Previous
Next