SpaceXAI Imagine VideoVideo playground sync_disabledAuto-save: Off downloadAuto-download: On help_outlineGenerate from text, a starting image, or visual and voice references; edit an existing video; or extend its duration. Progress stays visible while the asynchronous request completes. Need a model? Explore SpaceXAI deployments in Microsoft Foundry. Choose a workflow Generate Edit Extend SpaceXAI Imagine Video Settings - Connectiongrok-imagine-video supports video-to-video (editing) and grok-imagine-video-1.5 supports text-to-video, image-to-video, and reference-to-video. Native 1080p is available for text and image generation; reference generation is capped at 720p. API Base URL Model Name API Key Model controls 16:9 9:16 1:1 4:3 3:4 3:2 2:3 Aspect Ratio 480p 720p 1080p Resolution 1080p requires grok-imagine-video-1.5 and is unavailable with references. Duration (seconds) Generation supports 1 to 15 seconds. End User (Optional) Remove C2PA Metadata Review provider policy and only turn on this feature if you have an agreement with SpaceXAI allowing you to do so. tune Output delivery and storageOptional signed URLs and storage metadata for ZDR or external delivery workflows. expand_more Need an upload URL? Open ZDR Tools for ready-to-deploy Azure and Python scripts that create a PUT upload URL and matching GET download URL you can use in this section. If this URL does not end with .mp4, the video name will be auto-generated as xai-<guid>.mp4 and appended to the upload and download URLs. Required when Zero Data Retention (ZDR) is turned on for your SpaceXAI account. Output PUT Upload URL (Optional) Leave empty to use the PUT upload URL as the GET download URL after completion. Browser deployments can play cross-origin MP4 responses without CORS; automatic downloads also require the endpoint to return Content-Disposition: attachment. Output GET Download URL (Optional) Storage Filename (Optional) Storage Expires After (sec) Do not send true false JSON object Storage Public URL Optional image and voice inputs expand_more Primary image source A primary image selects image-to-video mode and cannot be combined with image or voice references. None URL File ID Upload Reference image source Use up to 7 references. Reference-to-video requires a prompt and supports up to 720p. None URLs File IDs Upload Reference audio source Reference audio accepts up to 3 preset voice IDs and is currently limited to trusted partners in the United States. Refer to voices in the prompt as <AUDIO_0>, <AUDIO_1>, and <AUDIO_2>. None Preset Voice IDs movie Your video workspace is ready Choose a workflow, add a prompt and any source media, then run the request. Progress and the finished video will appear here. restart_altfile_open A serene lake at sunrise with mist rolling over the water. Ask anything (Ctrl+Enter to run) videocam Generate video