curl --request POST \ --url https://api.tikway.ai/v1/videos \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "grok-imagine-video-1.5-fast", "prompt": "A golden retriever runs on the beach at sunset. The camera follows smoothly, and the picture has a natural and delicate film quality.", "duration": 10, "resolution": "720p", "aspect_ratio": "16:9"}'
Create Grok Imagine Video video tasks via unified POST /v1/videos. Model capabilities are subject to the actual callable range of the current Tikway gateway.
Model
Resolution
Duration
Supported Modes
Audio
Reference Limitations
grok-imagine-video-1.5-fast
480p / 720p
6–30 seconds
Vincent, up to 7 picture reference, first and last frames
Upstream defaults to sound; the current unified field cannot be turned off
Unofficial high-speed channel
grok-imagine-video-1.5
480p / 720p / 1080p
1–15 seconds
Up to 7 reference images and 4 keyframes; up to 3 preset voices
Default is sound; the current unified field cannot be turned off
Supports first and last frames
grok-imagine-video
480p / 720p
Generate 1–15 seconds; extend 1–10 seconds
Vincent, multi-image reference, video extension
Upstream has sound by default; the current unified field cannot be turned off
End frame is not supported
Source: xAI Video Generation Documentation. The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.
POST
https://api.tikway.ai
/
v1
/
videos
curl --request POST \ --url https://api.tikway.ai/v1/videos \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "grok-imagine-video-1.5-fast", "prompt": "A golden retriever runs on the beach at sunset. The camera follows smoothly, and the picture has a natural and delicate film quality.", "duration": 10, "resolution": "720p", "aspect_ratio": "16:9"}'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Create a Grok Imagine Video video task. Parameters are narrowed according to the current Tikway gateway capabilities; for differences between models, see operation description and x-model-capabilities.
Up to 7 ordinary reference images map to refer_images. The 1.5 series supports up to 4 keyframe images with a seconds timestamp, mapped to keyframes. Grok 1.5 supports up to 3 preset voices using only reference_voice and role=reference_audio; audio_url is not required. Video input is available for extension on the base model only.
Task creation status. pending means that the task has been created and is waiting for submission; queue means that the task has entered the generation queue.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tikway","colors":{"primary":"#3d3b3a","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/logo/light.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=2ffadc60838b347e4b303c5324329d71","dark":"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/logo/dark.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=70d626d8a1b2db6e9cfc2f93182f2acb"},"favicon":"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/favicon.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=e55efc78d7a9b37ff27557ac7556fe6e","api":{"params":{"expanded":"all"},"url":"full","mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.tikway.ai"}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://app.mintlify.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"schema":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://tikway.ai"}]},"languages":[{"language":"zh","href":"zh/introduction"},{"language":"en","href":"en/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tikway","hasAudioNarration":false,"actualSubdomain":"tikway","customDomains":["docs.tikway.ai"],"gitSource":{"type":"github","owner":"tokgos","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6adc5bcc50fd02f25b78f1da","collectionId":"18ba77e3-afe9-43cc-8e60-e7b6de9c99b7","liveDeploymentHistoryId":"6adc5bcc50fd02f25b78f1da","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adc5bcc50fd02f25b78f1da","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"zh","tag":"API Reference","count":53},{"language":"en","tag":"API Reference","count":46},{"language":"zh","tag":"视频生成","count":15},{"language":"en","tag":"Video generation","count":14},{"language":"zh","tag":"图片生成","count":12},{"language":"en","tag":"Chat completions","count":11},{"language":"zh","tag":"对话补全","count":11},{"language":"en","tag":"Image generation","count":10},{"language":"en","tag":"Guides","count":8},{"language":"zh","tag":"指南","count":8},{"language":"en","tag":"Gemini protocol","count":6},{"language":"zh","tag":"Gemini 协议","count":6},{"language":"en","tag":"Speech synthesis","count":5},{"language":"zh","tag":"Midjourney","count":5},{"language":"zh","tag":"语音合成","count":5},{"language":"en","tag":"Developer guides","count":3},{"language":"en","tag":"Request protocols","count":3},{"language":"en","tag":"OpenAI protocol","count":3},{"language":"zh","tag":"开发指南","count":3},{"language":"zh","tag":"请求协议","count":3}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width:1280px){html[data-current-path*=\"/api-reference/\"] div:has(>#sidebar):has(>#content-container){width:80%!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important;gap:2rem!important}html[data-current-path*=\"/api-reference/\"] #content-container{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important}html[data-current-path*=\"/api-reference/\"] #content-container>div:has(>#content-area){gap:2rem!important}html[data-current-path*=\"/api-reference/\"] #content-area{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}html[data-current-path*=\"/api-reference/\"] #content-side-layout{flex:0 0 22rem!important;width:22rem!important;max-width:22rem!important}html[data-current-path*=\"/api-reference/\"] #content-side-layout>div{width:100%!important;min-width:0!important;max-width:100%!important}}@media (max-width:767px){html:is([data-current-path$=\"/api-reference/images/overview\"], [data-current-path$=\"/api-reference/videos/overview\"]) #content table{min-width:34rem}}"}],"page":{"pagePath":"en/api-reference/videos/grok/create","slug":"/en/api-reference/videos/grok/create","pageMetadata":{"title":"Create a Grok Imagine Video video","description":"Create Grok Imagine Video video tasks via unified `POST /v1/videos`. Model capabilities are subject to the actual callable range of the current Tikway gateway.\n\n| Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations |\n| --- | --- | --- | --- | --- | --- |\n| `grok-imagine-video-1.5-fast` | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel |\n| `grok-imagine-video-1.5` | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames |\n| `grok-imagine-video` | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported |\n\nSource: [xAI Video Generation Documentation](https://docs.x.ai/developers/model-capabilities/video/generation). The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.","deprecated":false,"version":null,"sidebarTitle":"Create a Grok Imagine Video video","openapi":"/openapi/en/videos/grok.json post /v1/videos","href":"/en/api-reference/videos/grok/create","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n table: \"table\",\n tbody: \"tbody\",\n td: \"td\",\n th: \"th\",\n thead: \"thead\",\n tr: \"tr\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Create Grok Imagine Video video tasks via unified \", _jsx(_components.code, {\n children: \"POST /v1/videos\"\n }), \". Model capabilities are subject to the actual callable range of the current Tikway gateway.\"]\n }), \"\\n\", _jsxs(_components.table, {\n children: [_jsx(_components.thead, {\n children: _jsxs(_components.tr, {\n children: [_jsx(_components.th, {\n children: \"Model\"\n }), _jsx(_components.th, {\n children: \"Resolution\"\n }), _jsx(_components.th, {\n children: \"Duration\"\n }), _jsx(_components.th, {\n children: \"Supported Modes\"\n }), _jsx(_components.th, {\n children: \"Audio\"\n }), _jsx(_components.th, {\n children: \"Reference Limitations\"\n })]\n })\n }), _jsxs(_components.tbody, {\n children: [_jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"grok-imagine-video-1.5-fast\"\n })\n }), _jsx(_components.td, {\n children: \"480p / 720p\"\n }), _jsx(_components.td, {\n children: \"6–30 seconds\"\n }), _jsx(_components.td, {\n children: \"Vincent, up to 7 picture reference, first and last frames\"\n }), _jsx(_components.td, {\n children: \"Upstream defaults to sound; the current unified field cannot be turned off\"\n }), _jsx(_components.td, {\n children: \"Unofficial high-speed channel\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"grok-imagine-video-1.5\"\n })\n }), _jsx(_components.td, {\n children: \"480p / 720p / 1080p\"\n }), _jsx(_components.td, {\n children: \"1–15 seconds\"\n }), _jsx(_components.td, {\n children: \"Up to 7 reference images and 4 keyframes; up to 3 preset voices\"\n }), _jsx(_components.td, {\n children: \"Default is sound; the current unified field cannot be turned off\"\n }), _jsx(_components.td, {\n children: \"Supports first and last frames\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"grok-imagine-video\"\n })\n }), _jsx(_components.td, {\n children: \"480p / 720p\"\n }), _jsx(_components.td, {\n children: \"Generate 1–15 seconds; extend 1–10 seconds\"\n }), _jsx(_components.td, {\n children: \"Vincent, multi-image reference, video extension\"\n }), _jsx(_components.td, {\n children: \"Upstream has sound by default; the current unified field cannot be turned off\"\n }), _jsx(_components.td, {\n children: \"End frame is not supported\"\n })]\n })]\n })]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Source: \", _jsx(_components.a, {\n href: \"https://docs.x.ai/developers/model-capabilities/video/generation\",\n children: \"xAI Video Generation Documentation\"\n }), \". The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Grok Imagine Video video","description":"Create Grok Imagine Video video tasks via unified `POST /v1/videos`. Model capabilities are subject to the actual callable range of the current Tikway gateway.\n\n| Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations |\n| --- | --- | --- | --- | --- | --- |\n| `grok-imagine-video-1.5-fast` | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel |\n| `grok-imagine-video-1.5` | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames |\n| `grok-imagine-video` | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported |\n\nSource: [xAI Video Generation Documentation](https://docs.x.ai/developers/model-capabilities/video/generation). The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.","deprecated":false,"version":null,"sidebarTitle":"Create a Grok Imagine Video video","openapi":"/openapi/en/videos/grok.json post /v1/videos","href":"/en/api-reference/videos/grok/create","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a Grok Imagine Video video","deprecated":false,"description":"Create Grok Imagine Video video tasks via unified `POST /v1/videos`. Model capabilities are subject to the actual callable range of the current Tikway gateway.\n\n| Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations |\n| --- | --- | --- | --- | --- | --- |\n| `grok-imagine-video-1.5-fast` | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel |\n| `grok-imagine-video-1.5` | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames |\n| `grok-imagine-video` | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported |\n\nSource: [xAI Video Generation Documentation](https://docs.x.ai/developers/model-capabilities/video/generation). The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.","tags":["Video generation/Grok Imagine Video"],"requestBody":"884a90a0-265d-485e-b475-f220c2e7bca2","responses":{"202":"9ef2e07a-4594-467e-8fe5-9a9d6e4b6128"},"security":["2b298727-3d53-47ce-93bc-fa2e40803258"],"x-mint":{"href":"/en/api-reference/videos/grok/create","metadata":{"sidebarTitle":"Create a Grok Imagine Video video"}},"method":"post","type":"path","servers":["30445fd1-ed2c-44ee-aa2e-9004e1a919a7"],"path":"/v1/videos","baseUrlOptions":["https://api.tikway.ai"],"title":"Create a Grok Imagine Video video","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","urlDisplay":"full"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"title":"Grok Imagine VideoVideoCreateRequest","description":"Create a Grok Imagine Video video task. Parameters are narrowed according to the current Tikway gateway capabilities; for differences between models, see operation description and x-model-capabilities.","type":"object","required":["model","prompt"],"properties":{"model":{"type":"string","enum":["grok-imagine-video-1.5","grok-imagine-video"],"description":"Grok Imagine Video Model ID.","isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","minLength":1,"description":"Video generation or editing prompt words.","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"duration":{"type":"integer","minimum":1,"maximum":30,"description":"Model related: 6–30 seconds for 1.5 Fast; 1–15 seconds for 1.5 and Basic; 1–10 seconds for Basic video extension.","uniqueKey":"duration","typeLabel":"integer"},"aspect_ratio":{"type":"string","enum":["2:3","3:2","1:1","9:16","16:9"],"description":"Video aspect ratio. When producing videos, some models will automatically determine the proportions based on the input material.","uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"resolution":{"type":"string","enum":["480p","720p","1080p"],"description":"Output resolution. Available values for different models or modes are shown in the model capabilities table.","uniqueKey":"resolution","typeLabel":"enum\u003cstring>"},"frame_images":{"type":"array","maxItems":2,"description":"1.5 Fast supports the first and last frames; 1.5 and the basic version can only use one picture as the first frame and cannot pass last_frame.","items":{"type":"object","required":["type","image_url"],"properties":{"type":{"type":"string","enum":["first_frame","last_frame"],"description":"Reference frame position.","isRequired":true,"uniqueKey":"frame_images.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"image_url":{"type":"string","minLength":1,"format":"uri","description":"Reference image URL string.","isRequired":true,"uniqueKey":"frame_images.items.[INDEX].image_url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"frame_images.items.[INDEX]","typeLabel":"object"},"uniqueKey":"frame_images","typeLabel":"object[]"},"input_references":{"type":"array","maxItems":14,"description":"Up to 7 ordinary reference images map to refer_images. The 1.5 series supports up to 4 keyframe images with a seconds timestamp, mapped to keyframes. Grok 1.5 supports up to 3 preset voices using only reference_voice and role=reference_audio; audio_url is not required. Video input is available for extension on the base model only.","items":{"oneOf":[{"type":"object","required":["image_url"],"properties":{"image_url":{"type":"string","minLength":1,"format":"uri","description":"Image URL string.","isRequired":true,"uniqueKey":"input_references.items.[INDEX].oneOf.0.image_url","typeLabel":"string\u003curi>"},"type":{"type":"string","enum":["image_url","video_url"],"description":"Optional. Material type; if provided, must be consistent with the corresponding URL field.","uniqueKey":"input_references.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["reference_image","keyframe","source_video","first_clip","reference_audio"],"description":"Material usage. When omitted, normal reference material is inferred from the URL field.","uniqueKey":"input_references.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"video_url":{"type":"string","minLength":1,"format":"uri","description":"Video URL string.","uniqueKey":"input_references.items.[INDEX].oneOf.0.video_url","typeLabel":"string\u003curi>"},"reference_voice":{"type":"string","minLength":1,"description":"Preset voice ID. Grok 1.5 reference_audio uses this without audio_url.","uniqueKey":"input_references.items.[INDEX].oneOf.0.reference_voice","typeLabel":"string"},"seconds":{"type":"number","exclusiveMinimum":0,"description":"Target timestamp in seconds for a keyframe image.","uniqueKey":"input_references.items.[INDEX].oneOf.0.seconds","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"input_references.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","minLength":1,"format":"uri","description":"Video URL string.","isRequired":true,"uniqueKey":"input_references.items.[INDEX].oneOf.1.video_url","typeLabel":"string\u003curi>"},"type":{"type":"string","enum":["image_url","video_url"],"description":"Optional. Material type; if provided, must be consistent with the corresponding URL field.","uniqueKey":"input_references.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["reference_image","keyframe","source_video","first_clip","reference_audio"],"description":"Material usage. When omitted, normal reference material is inferred from the URL field.","uniqueKey":"input_references.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"image_url":{"type":"string","minLength":1,"format":"uri","description":"Image URL string.","uniqueKey":"input_references.items.[INDEX].oneOf.1.image_url","typeLabel":"string\u003curi>"},"reference_voice":{"type":"string","minLength":1,"description":"Preset voice ID. Grok 1.5 reference_audio uses this without audio_url.","uniqueKey":"input_references.items.[INDEX].oneOf.1.reference_voice","typeLabel":"string"},"seconds":{"type":"number","exclusiveMinimum":0,"description":"Target timestamp in seconds for a keyframe image.","uniqueKey":"input_references.items.[INDEX].oneOf.1.seconds","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"input_references.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["role","reference_voice"],"properties":{"role":{"type":"string","description":"Material usage. When omitted, normal reference material is inferred from the URL field.","enum":["reference_image","keyframe","source_video","first_clip","reference_audio"],"const":"reference_audio","isRequired":true,"uniqueKey":"input_references.items.[INDEX].oneOf.2.role","typeLabel":"enum\u003cstring>"},"reference_voice":{"type":"string","minLength":1,"description":"Preset voice ID. Grok 1.5 reference_audio uses this without audio_url.","isRequired":true,"uniqueKey":"input_references.items.[INDEX].oneOf.2.reference_voice","typeLabel":"string"},"type":{"type":"string","enum":["image_url","video_url"],"description":"Optional. Material type; if provided, must be consistent with the corresponding URL field.","uniqueKey":"input_references.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"image_url":{"type":"string","minLength":1,"format":"uri","description":"Image URL string.","uniqueKey":"input_references.items.[INDEX].oneOf.2.image_url","typeLabel":"string\u003curi>"},"video_url":{"type":"string","minLength":1,"format":"uri","description":"Video URL string.","uniqueKey":"input_references.items.[INDEX].oneOf.2.video_url","typeLabel":"string\u003curi>"},"seconds":{"type":"number","exclusiveMinimum":0,"description":"Target timestamp in seconds for a keyframe image.","uniqueKey":"input_references.items.[INDEX].oneOf.2.seconds","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"input_references.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"input_references.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input_references","typeLabel":"object[]"},"callback_url":{"type":"string","format":"uri","pattern":"^https://","description":"User task callback address. Called by Tikway after the task status changes, it is not directly passed to the model upstream.","uniqueKey":"callback_url","typeLabel":"string\u003curi>"},"extra_body":{"type":"object","description":"Grok extension parameters. It is recommended to use unified fields first.","properties":{},"additionalProperties":false,"uniqueKey":"extra_body","typeLabel":"object"}},"additionalProperties":false,"x-model-capabilities":[{"model":"grok-imagine-video-1.5-fast","resolution":"480p / 720p","duration":"6–30 seconds","modes":"Vincent, up to 7 picture references, first and last frames","audio":"The upstream has sound by default; the current unified field cannot be turned off","references":"unofficial highway"},{"model":"grok-imagine-video-1.5","resolution":"480p / 720p / 1080p","duration":"1–15 seconds","modes":"Up to 7 reference images and 4 keyframes; up to 3 preset voices","audio":"Sound is enabled by default; the current unified field cannot be turned off","references":"Supports first and last frames"},{"model":"grok-imagine-video","resolution":"480p / 720p","duration":"Generate 1–15 seconds; extend 1–10 seconds","modes":"Vincent, multiple picture reference, video extension","audio":"The upstream has sound by default; the current unified field cannot be turned off","references":"End frames are not supported"}],"uniqueKey":"","typeLabel":"Grok Imagine VideoVideoCreateRequest · object"},"examples":{"Fast text to video":{"title":"Fast text to video","value":{"model":"grok-imagine-video-1.5-fast","prompt":"A golden retriever runs on the beach at sunset. The camera follows smoothly, and the picture has a natural and delicate film quality.","duration":10,"resolution":"720p","aspect_ratio":"16:9"}},"1080p first frame to video":{"title":"1080p first frame to video","value":{"model":"grok-imagine-video-1.5","prompt":"Keep the character's appearance and clothing consistent in the first frame, let the character walk forward naturally, and the camera advances slowly.","duration":10,"resolution":"1080p","aspect_ratio":"16:9","frame_images":[{"type":"first_frame","image_url":"https://example.com/assets/first-frame.jpg"}]}},"First and last frame to video":{"title":"First and last frame to video","value":{"model":"grok-imagine-video-1.5-fast","prompt":"Transition naturally from the first frame to the last frame, keeping the subject, composition and visual style coherent.","duration":10,"resolution":"720p","aspect_ratio":"16:9","frame_images":[{"type":"first_frame","image_url":"https://example.com/assets/first-frame.jpg"},{"type":"last_frame","image_url":"https://example.com/assets/last-frame.jpg"}]}},"Multiple images and preset voice":{"title":"Multiple images and preset voice","value":{"model":"grok-imagine-video-1.5","prompt":"Keep the character, outfit, and voice consistent.","duration":10,"resolution":"720p","input_references":[{"image_url":"https://example.com/assets/person.jpg","role":"reference_image"},{"image_url":"https://example.com/assets/outfit.jpg","role":"reference_image"},{"reference_voice":"sirius","role":"reference_audio"}]}},"Keyframe reference":{"title":"Keyframe reference","value":{"model":"grok-imagine-video-1.5","prompt":"Switch to a frontal shot at five seconds.","duration":10,"input_references":[{"image_url":"https://example.com/assets/front.jpg","role":"keyframe","seconds":5}]}},"Video extension":{"title":"Video extension","value":{"model":"grok-imagine-video","prompt":"Continue the camera movement, subject movement and lighting of the original video, allowing the scene to develop backwards naturally.","duration":6,"resolution":"720p","input_references":[{"video_url":"https://example.com/assets/source.mp4","role":"first_clip"}]}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"9ef2e07a-4594-467e-8fe5-9a9d6e4b6128":{"description":"","content":{"application/json":{"schema":{"$id":"https://api.example.com/schemas/videos/create-response.json","title":"Create a video task response","description":"POST /v1/videos Response parameters after the video task is successfully created. The interface returns HTTP 202.","type":"object","required":["id","status","polling_url"],"properties":{"id":{"type":"string","minLength":1,"description":"The unique identifier of the video generation task, used for subsequent query of task status.","examples":["9552de3d-171f-4cca-b492-7baa56523239"],"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["pending","queue"],"description":"Task creation status. pending means that the task has been created and is waiting for submission; queue means that the task has entered the generation queue.","examples":["queue"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"polling_url":{"type":"string","format":"uri","pattern":"^https://","description":"Video task query address, the client can poll the task status through GET request.","examples":["https://api.example.com/v1/videos/9552de3d-171f-4cca-b492-7baa56523239"],"isRequired":true,"uniqueKey":"polling_url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"Create a video task response · object"},"example":{"id":"9552de3d-171f-4cca-b492-7baa56523239","status":"pending","polling_url":"https://api.tikway.ai/v1/videos/9552de3d-171f-4cca-b492-7baa56523239"},"examples":{"Example":{"title":"Example","value":{"id":"9552de3d-171f-4cca-b492-7baa56523239","status":"pending","polling_url":"https://api.tikway.ai/v1/videos/9552de3d-171f-4cca-b492-7baa56523239"}}},"exampleType":"examples"}},"headers":{},"exampleType":"examples"}},"security":{"2b298727-3d53-47ce-93bc-fa2e40803258":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"30445fd1-ed2c-44ee-aa2e-9004e1a919a7":{"url":"https://api.tikway.ai","description":"production environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"openapi/en/videos/grok.json"},"subdomain":"tikway","siteName":"Tikway","title":"Create a Grok Imagine Video video - Tikway","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/zh/api-reference/videos/grok/create","matchLevel":1},"en":{"href":"/en/api-reference/videos/grok/create","matchLevel":0}}},"lastModified":"2026-10-24T07:18:56.075Z","originalFileLocation":"en/api-reference/videos/grok/create.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create Grok Imagine Video video tasks via unified POST /v1/videos. Model capabilities are subject to the actual callable range of the current Tikway gateway. | Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations | | --- | --- | --- | --- | --- | --- | | grok-imagine-video-1.5-fast | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel | | grok-imagine-video-1.5 | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames | | grok-imagine-video | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported | Source: xAI Video Generation Documentation. The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tikway\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Grok Imagine Video video - Tikway\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create Grok Imagine Video video tasks via unified POST /v1/videos. Model capabilities are subject to the actual callable range of the current Tikway gateway. | Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations | | --- | --- | --- | --- | --- | --- | | grok-imagine-video-1.5-fast | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel | | grok-imagine-video-1.5 | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames | | grok-imagine-video | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported | Source: xAI Video Generation Documentation. The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tikway\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tikway.ai/en/api-reference/videos/grok/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tikway.mintlify.app/_mintlify/api/og/v2?division=Grok\u0026amp;title=Create+a+Grok+Imagine+Video+video\u0026amp;description=Create+Grok+Imagine+Video+video+tasks+via+unified+%60POST+%2Fv1%2Fvideos%60.+Model+capabilities+are+subject+to+the+actual+callable+range+of+the+current+Tikway+gateway.%0A\u0026amp;theme=80cab077a26228715dec452f\u0026amp;signature=9ce799adc243ffe73512e4691a28da054510dc4c1c45c241cba04f4b6a1fe767\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a Grok Imagine Video video - Tikway\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create Grok Imagine Video video tasks via unified POST /v1/videos. Model capabilities are subject to the actual callable range of the current Tikway gateway. | Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations | | --- | --- | --- | --- | --- | --- | | grok-imagine-video-1.5-fast | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel | | grok-imagine-video-1.5 | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames | | grok-imagine-video | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported | Source: xAI Video Generation Documentation. The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tikway.mintlify.app/_mintlify/api/og/v2?division=Grok\u0026amp;title=Create+a+Grok+Imagine+Video+video\u0026amp;description=Create+Grok+Imagine+Video+video+tasks+via+unified+%60POST+%2Fv1%2Fvideos%60.+Model+capabilities+are+subject+to+the+actual+callable+range+of+the+current+Tikway+gateway.%0A\u0026amp;theme=80cab077a26228715dec452f\u0026amp;signature=9ce799adc243ffe73512e4691a28da054510dc4c1c45c241cba04f4b6a1fe767\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tikway\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d3b3a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tikway.ai/en/api-reference/videos/grok/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/videos/grok/create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.tikway.ai/en/api-reference/videos/grok/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.tikway.ai/zh/api-reference/videos/grok/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.tikway.ai/zh/api-reference/videos/grok/create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tikway.ai/#organization\",\"name\":\"Tikway\",\"url\":\"https://docs.tikway.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/logo/light.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=2ffadc60838b347e4b303c5324329d71\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tikway.ai#website\",\"name\":\"Tikway\",\"url\":\"https://docs.tikway.ai\",\"publisher\":{\"@id\":\"https://docs.tikway.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create#webpage\",\"url\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create\",\"name\":\"Create a Grok Imagine Video video\",\"description\":\"Create Grok Imagine Video video tasks via unified POST /v1/videos. Model capabilities are subject to the actual callable range of the current Tikway gateway. | Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations | | --- | --- | --- | --- | --- | --- | | grok-imagine-video-1.5-fast | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel | | grok-imagine-video-1.5 | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames | | grok-imagine-video | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported | Source: xAI Video Generation Documentation. The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.\",\"dateModified\":\"2026-10-24T07:18:56.075Z\",\"isPartOf\":{\"@id\":\"https://docs.tikway.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video generation\",\"item\":\"https://docs.tikway.ai/en/api-reference/videos/seedance/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Grok Imagine Video video\",\"item\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create#apireference\",\"headline\":\"Create a Grok Imagine Video video\",\"name\":\"Create a Grok Imagine Video video\",\"description\":\"Create Grok Imagine Video video tasks via unified POST /v1/videos. Model capabilities are subject to the actual callable range of the current Tikway gateway. | Model | Resolution | Duration | Supported Modes | Audio | Reference Limitations | | --- | --- | --- | --- | --- | --- | | grok-imagine-video-1.5-fast | 480p / 720p | 6–30 seconds | Vincent, up to 7 picture reference, first and last frames | Upstream defaults to sound; the current unified field cannot be turned off | Unofficial high-speed channel | | grok-imagine-video-1.5 | 480p / 720p / 1080p | 1–15 seconds | Up to 7 reference images and 4 keyframes; up to 3 preset voices | Default is sound; the current unified field cannot be turned off | Supports first and last frames | | grok-imagine-video | 480p / 720p | Generate 1–15 seconds; extend 1–10 seconds | Vincent, multi-image reference, video extension | Upstream has sound by default; the current unified field cannot be turned off | End frame is not supported | Source: xAI Video Generation Documentation. The difference between the official website capabilities and the current unopened capabilities of the gateway can be found in this audit report.\",\"url\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tikway.ai/en/api-reference/videos/grok/create#webpage\"},\"dateModified\":\"2026-10-24T07:18:56.075Z\",\"publisher\":{\"@id\":\"https://docs.tikway.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tikway.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tikway\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tikway","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://tikway.ai"}]},"languages":[{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/videos/grok/create"}]},{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/en/introduction"}]},{"tab":"API Reference","groups":[{"group":"Chat completions","pages":[{"group":"OpenAI protocol","pages":[{"title":"Chat Completions","deprecated":false,"version":null,"sidebarTitle":"Chat Completions","openapi":"/openapi/en/chat/openai.json post /v1/chat/completions","href":"/en/api-reference/chat/openai/chat-completions"},{"title":"Responses","deprecated":false,"version":null,"sidebarTitle":"Responses","openapi":"/openapi/en/chat/openai.json post /v1/responses","href":"/en/api-reference/chat/openai/responses"},{"title":"Get Models","deprecated":false,"version":null,"sidebarTitle":"Get Models","openapi":"/openapi/en/chat/openai-models.json get /v1/models","href":"/en/api-reference/chat/openai/list-models"}]},{"group":"Anthropic protocol","pages":[{"title":"Messages","deprecated":false,"version":null,"sidebarTitle":"Messages","openapi":"/openapi/en/chat/anthropic.json post /v1/messages","href":"/en/api-reference/chat/anthropic/messages"},{"title":"Get Models","deprecated":false,"version":null,"sidebarTitle":"Get Models","openapi":"/openapi/en/chat/anthropic-models.json get /anthropic/v1/models","href":"/en/api-reference/chat/anthropic/list-models"}]},{"group":"Gemini protocol","pages":[{"title":"Generate Content","deprecated":false,"version":null,"sidebarTitle":"Generate Content","openapi":"/openapi/en/chat/gemini.json post /v1beta/models/{model}:generateContent","href":"/en/api-reference/chat/gemini/generate-content"},{"title":"Stream Generate Content","deprecated":false,"version":null,"sidebarTitle":"Stream Generate Content","openapi":"/openapi/en/chat/gemini.json post /v1beta/models/{model}:streamGenerateContent","href":"/en/api-reference/chat/gemini/stream-generate-content"},{"title":"Get Models","deprecated":false,"version":null,"sidebarTitle":"Get Models","openapi":"/openapi/en/chat/gemini-models.json get /v1beta/models","href":"/en/api-reference/chat/gemini/list-models"},{"title":"Create Cached Content","deprecated":false,"version":null,"sidebarTitle":"Create Cached Content","openapi":"/openapi/en/chat/gemini.json post /v1beta/cachedContents","href":"/en/api-reference/chat/gemini/create-cache"},{"title":"Get Cached Content","deprecated":false,"version":null,"sidebarTitle":"Get Cached Content","openapi":"/openapi/en/chat/gemini.json get /v1beta/cachedContents/{id}","href":"/en/api-reference/chat/gemini/get-cache"},{"title":"Delete Cached Content","deprecated":false,"version":null,"sidebarTitle":"Delete Cached Content","openapi":"/openapi/en/chat/gemini.json delete /v1beta/cachedContents/{id}","href":"/en/api-reference/chat/gemini/delete-cache"}]}]},{"group":"Image generation","pages":[{"group":"GPT Image","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/gpt-image.json post /v1/images/generations","href":"/en/api-reference/images/gpt-image/generate"},{"title":"Image editing","deprecated":false,"version":null,"sidebarTitle":"Image editing","openapi":"/openapi/en/images/gpt-image.json post /v1/images/edits","href":"/en/api-reference/images/gpt-image/edit"}]},{"group":"Nano Banana","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/nano-banana.json post /v1/images/generations","href":"/en/api-reference/images/nano-banana/generate"},{"title":"Gemini protocol - image generation","deprecated":false,"version":null,"sidebarTitle":"Gemini protocol - image generation","openapi":"/openapi/en/images/nano-banana.json post /v1beta/models/{model}:generateContent","href":"/en/api-reference/images/nano-banana/generate-content"}]},{"group":"Qwen Image","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/qwen.json post /v1/images/generations","href":"/en/api-reference/images/qwen/generate"}]},{"group":"Seedream","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/seedream.json post /v1/images/generations","href":"/en/api-reference/images/seedream/generate"}]},{"group":"MAI Image","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/mai-image.json post /v1/images/generations","href":"/en/api-reference/images/mai-image/generate"}]},{"group":"Novel","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/novelai.json post /v1/images/generations","href":"/en/api-reference/images/novelai/generate"}]},{"group":"Flux","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/flux.json post /v1/images/generations","href":"/en/api-reference/images/flux/generate"}]},{"group":"Grok","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/grok.json post /v1/images/generations","href":"/en/api-reference/images/grok/generate"}]}]},{"group":"Video generation","pages":[{"group":"Seedance","pages":[{"title":"Create a Seedance video","deprecated":false,"version":null,"sidebarTitle":"Create a Seedance video","openapi":"/openapi/en/videos/seedance.json post /v1/videos","href":"/en/api-reference/videos/seedance/create"},{"title":"Query Seedance video tasks","deprecated":false,"version":null,"sidebarTitle":"Query Seedance video tasks","openapi":"/openapi/en/videos/seedance.json get /v1/videos/{id}","href":"/en/api-reference/videos/seedance/get-task"}]},{"group":"Wan","pages":[{"title":"Create Wan video","deprecated":false,"version":null,"sidebarTitle":"Create Wan video","openapi":"/openapi/en/videos/wan.json post /v1/videos","href":"/en/api-reference/videos/wan/create"},{"title":"Query Wan video tasks","deprecated":false,"version":null,"sidebarTitle":"Query Wan video tasks","openapi":"/openapi/en/videos/wan.json get /v1/videos/{id}","href":"/en/api-reference/videos/wan/get-task"}]},{"group":"HappyHorse","pages":[{"title":"Create a HappyHorse video","deprecated":false,"version":null,"sidebarTitle":"Create a HappyHorse video","openapi":"/openapi/en/videos/happyhorse.json post /v1/videos","href":"/en/api-reference/videos/happyhorse/create"},{"title":"Query HappyHorse video tasks","deprecated":false,"version":null,"sidebarTitle":"Query HappyHorse video tasks","openapi":"/openapi/en/videos/happyhorse.json get /v1/videos/{id}","href":"/en/api-reference/videos/happyhorse/get-task"}]},{"group":"MiniMax","pages":[{"title":"Create MiniMax H3 video","deprecated":false,"version":null,"sidebarTitle":"Create MiniMax H3 video","openapi":"/openapi/en/videos/minimax.json post /v1/videos","href":"/en/api-reference/videos/minimax/create"},{"title":"Query MiniMax H3 video task","deprecated":false,"version":null,"sidebarTitle":"Query MiniMax H3 video task","openapi":"/openapi/en/videos/minimax.json get /v1/videos/{id}","href":"/en/api-reference/videos/minimax/get-task"}]},{"group":"Veo","pages":[{"title":"Create a Veo video","deprecated":false,"version":null,"sidebarTitle":"Create a Veo video","openapi":"/openapi/en/videos/veo.json post /v1/videos","href":"/en/api-reference/videos/veo/create"},{"title":"Query Veo video tasks","description":"","deprecated":false,"version":null,"sidebarTitle":"Query Veo video tasks","openapi":"/openapi/en/videos/veo.json get /v1/videos/{id}","href":"/en/api-reference/videos/veo/get-task"}]},{"group":"Grok","pages":[{"title":"Create a Grok Imagine Video video","deprecated":false,"version":null,"sidebarTitle":"Create a Grok Imagine Video video","openapi":"/openapi/en/videos/grok.json post /v1/videos","href":"/en/api-reference/videos/grok/create"},{"title":"Query Grok Imagine Video video tasks","description":"","deprecated":false,"version":null,"sidebarTitle":"Query Grok Imagine Video video tasks","openapi":"/openapi/en/videos/grok.json get /v1/videos/{id}","href":"/en/api-reference/videos/grok/get-task"}]},{"group":"Flux","pages":[{"title":"Create FLUX 3 Video videos","deprecated":false,"version":null,"sidebarTitle":"Create FLUX 3 Video videos","openapi":"/openapi/en/videos/flux.json post /v1/videos","href":"/en/api-reference/videos/flux/create"},{"title":"Query FLUX 3 Video video tasks","deprecated":false,"version":null,"sidebarTitle":"Query FLUX 3 Video video tasks","openapi":"/openapi/en/videos/flux.json get /v1/videos/{id}","href":"/en/api-reference/videos/flux/get-task"}]}]},{"group":"Embeddings","pages":[{"title":"GPT - vector","deprecated":false,"version":null,"sidebarTitle":"GPT - vector","openapi":"/openapi/en/embeddings/openapi.json post /v1/embeddings","href":"/en/api-reference/embeddings/openai/create"},{"title":"Gemini embedding","deprecated":false,"version":null,"sidebarTitle":"Gemini embedding","openapi":"/openapi/en/embeddings/openapi.json post /v1beta/models/google/{model}:embedContent","href":"/en/api-reference/embeddings/gemini/create"}]},{"group":"Transcriptions","pages":[{"title":"Speech transcription","deprecated":false,"version":null,"sidebarTitle":"Speech transcription","openapi":"/openapi/en/transcriptions/openapi.json post /v1/audio/transcriptions","href":"/en/api-reference/transcriptions/create"}]},{"group":"Speech synthesis","pages":[{"title":"Qwen voices","sidebarTitle":"Qwen voices","icon":"microphone","href":"/en/api-reference/speech/qwen/voices"},{"title":"Google TTS voices and usage","sidebarTitle":"Google voices","icon":"microphone","href":"/en/api-reference/speech/google/voices"},{"group":"Qwen3-TTS","pages":[{"title":"Qwen text to speech","deprecated":null,"version":null,"sidebarTitle":"Qwen text to speech","openapi":"/openapi/en/speech/qwen.json post /v1/audio/speech","href":"/en/api-reference/speech/qwen/create"}]},{"group":"Google TTS","pages":[{"title":"Google text to speech","deprecated":null,"version":null,"sidebarTitle":"Google text to speech","openapi":"/openapi/en/speech/google.json post /v1/audio/speech","href":"/en/api-reference/speech/google/create"}]},{"group":"Qwen Audio","pages":[{"title":"Qwen Audio text to speech","deprecated":null,"version":null,"sidebarTitle":"Qwen Audio text to speech","openapi":"/openapi/en/speech/qwen-audio.json post /v1/audio/speech","href":"/en/api-reference/speech/qwen-audio/create"}]}]},{"group":"Decisions","pages":[{"group":"OpenAI","pages":[{"title":"OpenAI decision evaluation","deprecated":null,"version":null,"sidebarTitle":"OpenAI decision evaluation","openapi":"/openapi/en/decisions/openai.json post /v1/decisions","href":"/en/api-reference/decisions/openai/create"}]},{"group":"Jev","pages":[{"title":"Jev decision evaluation","deprecated":null,"version":null,"sidebarTitle":"Jev decision evaluation","openapi":"/openapi/en/decisions/jev.json post /v1/decisions","href":"/en/api-reference/decisions/jev/create"}]}]},{"group":"Utilities","pages":[{"group":"Balance","pages":[{"title":"Get balance","deprecated":null,"version":null,"sidebarTitle":"Get balance","openapi":"/openapi/en/utilities/balance.json get /v1/user/balance","href":"/en/api-reference/utilities/balance"}]}]}]}]}]},"title":"Create a Grok Imagine Video video - Tikway","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}