> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-feat-models-redesign.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok Imagine API

> Grok Imagine API on Venice: text to video, image to video, reference to video and video editing, up to 720p and 15s clips, from $0.063 per second.

export const HubMount = ({view, children, ...props}) => {
  const [hub, setHub] = useState(null);
  const [failed, setFailed] = useState(false);
  useEffect(() => {
    let alive = true;
    const w = window;
    if (!w.__veniceModelHub) {
      const urls = w.location.hostname === 'localhost' ? ['http://localhost:3333/data/model-hub.bundle.json', '/data/model-hub.bundle.json'] : ['/data/model-hub.bundle.json'];
      const load = i => fetch(urls[i], {
        cache: 'no-cache'
      }).then(res => {
        if (!res.ok) throw new Error(`bundle ${res.status}`);
        return res.json();
      }).catch(err => i + 1 < urls.length ? load(i + 1) : Promise.reject(err));
      const Frag = <></>.type;
      const h = (type, props, ...kids) => {
        const T = type;
        const {key, ...rest} = props || ({});
        if (!kids.length) return <T key={key} {...rest} />;
        if (kids.length === 1) return <T key={key} {...rest}>{kids[0]}</T>;
        return <T key={key} {...rest}>{kids.map((kid, i) => <Frag key={i}>{kid}</Frag>)}</T>;
      };
      w.__veniceModelHub = load(0).then(bundle => new Function(`return (${bundle.code})`)()({
        h,
        Fragment: Frag,
        useState,
        useEffect,
        useRef,
        useMemo,
        useCallback
      }));
    }
    w.__veniceModelHub.then(instance => {
      if (alive) setHub(instance);
    }).catch(() => {
      w.__veniceModelHub = null;
      if (alive) setFailed(true);
    });
    return () => {
      alive = false;
    };
  }, []);
  const View = hub ? hub[view] : null;
  if (View) return <View {...props}>{children}</View>;
  if (failed) {
    return <div className="vx-mount is-failed">
        <p className="vx-mount-note">The interactive model catalog could not load. The full data is below.</p>
        {children}
      </div>;
  }
  return <div className="vx-mount" aria-busy="true">
      <div className="vx-mount-skeleton" aria-hidden="true"><span /><span /><span /></div>
      <div className="vx-mount-source">{children}</div>
    </div>;
};

<HubMount view="ModelPage" data={{"family":{"slug":"grok-imagine-video","name":"Grok Imagine","modality":"video","task":"video","provider":"xai","primary":"grok-imagine-text-to-video-private","variants":["grok-imagine-text-to-video-private","grok-imagine-image-to-video-private","grok-imagine-reference-to-video-private","grok-imagine-video-to-video-private"],"created":1776038400,"updated":1776211200,"privacy":["private"],"sets":["audio","long_duration","photorealistic","venice_recommendations"],"modes":["t2v","i2v","r2v","v2v"]},"models":[{"id":"grok-imagine-text-to-video-private","name":"Grok Imagine","type":"video","modality":"video","task":"video","variant":"t2v","provider":"xai","created":1776038400,"privacy":"private","sets":["audio","long_duration","photorealistic"],"video":{"mode":"t2v","resolutions":[{"value":"480p","label":"480p","height":480},{"value":"720p","label":"720p","height":720}],"durations":[{"value":"1s","seconds":1},{"value":"2s","seconds":2},{"value":"3s","seconds":3},{"value":"4s","seconds":4},{"value":"5s","seconds":5},{"value":"6s","seconds":6},{"value":"7s","seconds":7},{"value":"8s","seconds":8},{"value":"9s","seconds":9},{"value":"10s","seconds":10},{"value":"11s","seconds":11},{"value":"12s","seconds":12},{"value":"13s","seconds":13},{"value":"14s","seconds":14},{"value":"15s","seconds":15}],"aspectRatios":["16:9","4:3","3:2","1:1","2:3","3:4","9:16"],"audio":"native","promptLimit":4096},"pricing":{"status":"quoted","quotedAt":"2026-09-28T23:22:07.705Z","aspectRatio":"16:9","quotes":{"480p|1s|on":0.06,"480p|2s|on":0.13,"480p|3s|on":0.19,"480p|4s|on":0.25,"480p|5s|on":0.32,"480p|6s|on":0.38,"480p|7s|on":0.44,"480p|8s|on":0.51,"480p|9s|on":0.57,"480p|10s|on":0.63,"480p|11s|on":0.7,"480p|12s|on":0.76,"480p|13s|on":0.82,"480p|14s|on":0.89,"480p|15s|on":0.95,"720p|1s|on":0.09,"720p|2s|on":0.18,"720p|3s|on":0.27,"720p|4s|on":0.35,"720p|5s|on":0.44,"720p|6s|on":0.53,"720p|7s|on":0.62,"720p|8s|on":0.71,"720p|9s|on":0.8,"720p|10s|on":0.89,"720p|11s|on":0.97,"720p|12s|on":1.06,"720p|13s|on":1.15,"720p|14s|on":1.24,"720p|15s|on":1.33},"perSecond":{"480p|on":0.06333,"720p|on":0.08857},"fromPerSecond":0.06333,"toPerSecond":0.08857},"headline":{"unit":"per second","basis":"lens"},"endpoints":[{"id":"video-queue","method":"POST","path":"/video/queue","name":"Queue generation","status":"stable","recommended":true},{"id":"video-retrieve","method":"POST","path":"/video/retrieve","name":"Retrieve result","status":"stable"},{"id":"video-quote","method":"POST","path":"/video/quote","name":"Quote price","status":"stable"}],"family":"grok-imagine-video"},{"id":"grok-imagine-image-to-video-private","name":"Grok Imagine","type":"video","modality":"video","task":"video","variant":"i2v","provider":"xai","created":1776211200,"privacy":"private","sets":["audio","long_duration","photorealistic"],"video":{"mode":"i2v","resolutions":[{"value":"480p","label":"480p","height":480},{"value":"720p","label":"720p","height":720}],"durations":[{"value":"1s","seconds":1},{"value":"2s","seconds":2},{"value":"3s","seconds":3},{"value":"4s","seconds":4},{"value":"5s","seconds":5},{"value":"6s","seconds":6},{"value":"7s","seconds":7},{"value":"8s","seconds":8},{"value":"9s","seconds":9},{"value":"10s","seconds":10},{"value":"11s","seconds":11},{"value":"12s","seconds":12},{"value":"13s","seconds":13},{"value":"14s","seconds":14},{"value":"15s","seconds":15}],"audio":"native","inputs":{"image":true},"promptLimit":4096},"pricing":{"status":"quoted","quotedAt":"2026-09-28T23:22:07.853Z","quotes":{"480p|1s|on":0.06,"480p|2s|on":0.13,"480p|3s|on":0.19,"480p|4s|on":0.25,"480p|5s|on":0.32,"480p|6s|on":0.38,"480p|7s|on":0.44,"480p|8s|on":0.51,"480p|9s|on":0.57,"480p|10s|on":0.63,"480p|11s|on":0.7,"480p|12s|on":0.76,"480p|13s|on":0.82,"480p|14s|on":0.89,"480p|15s|on":0.95,"720p|1s|on":0.09,"720p|2s|on":0.18,"720p|3s|on":0.27,"720p|4s|on":0.35,"720p|5s|on":0.44,"720p|6s|on":0.53,"720p|7s|on":0.62,"720p|8s|on":0.71,"720p|9s|on":0.8,"720p|10s|on":0.89,"720p|11s|on":0.97,"720p|12s|on":1.06,"720p|13s|on":1.15,"720p|14s|on":1.24,"720p|15s|on":1.33},"perSecond":{"480p|on":0.06333,"720p|on":0.08857},"fromPerSecond":0.06333,"toPerSecond":0.08857},"headline":{"unit":"per second","basis":"lens"},"endpoints":[{"id":"video-queue","method":"POST","path":"/video/queue","name":"Queue generation","status":"stable","recommended":true},{"id":"video-retrieve","method":"POST","path":"/video/retrieve","name":"Retrieve result","status":"stable"},{"id":"video-quote","method":"POST","path":"/video/quote","name":"Quote price","status":"stable"}],"family":"grok-imagine-video"},{"id":"grok-imagine-reference-to-video-private","name":"Grok Imagine R2V","type":"video","modality":"video","task":"video","variant":"r2v","provider":"xai","created":1776211200,"privacy":"private","sets":["photorealistic"],"video":{"mode":"r2v","resolutions":[{"value":"480p","label":"480p","height":480},{"value":"720p","label":"720p","height":720}],"durations":[{"value":"1s","seconds":1},{"value":"2s","seconds":2},{"value":"3s","seconds":3},{"value":"4s","seconds":4},{"value":"5s","seconds":5},{"value":"6s","seconds":6},{"value":"7s","seconds":7},{"value":"8s","seconds":8},{"value":"9s","seconds":9},{"value":"10s","seconds":10}],"aspectRatios":["16:9","4:3","3:2","1:1","2:3","3:4","9:16"],"audio":"none","inputs":{"reference":true},"promptLimit":4096},"pricing":{"status":"quoted","quotedAt":"2026-09-28T23:22:05.494Z","aspectRatio":"16:9","quotes":{"480p|1s|off":0.06,"480p|2s|off":0.13,"480p|3s|off":0.19,"480p|4s|off":0.25,"480p|5s|off":0.32,"480p|6s|off":0.38,"480p|7s|off":0.44,"480p|8s|off":0.51,"480p|9s|off":0.57,"480p|10s|off":0.63,"720p|1s|off":0.09,"720p|2s|off":0.18,"720p|3s|off":0.27,"720p|4s|off":0.35,"720p|5s|off":0.44,"720p|6s|off":0.53,"720p|7s|off":0.62,"720p|8s|off":0.71,"720p|9s|off":0.8,"720p|10s|off":0.89},"perSecond":{"480p|off":0.06333,"720p|off":0.08882},"fromPerSecond":0.06333,"toPerSecond":0.08882},"headline":{"unit":"per second","basis":"lens"},"endpoints":[{"id":"video-queue","method":"POST","path":"/video/queue","name":"Queue generation","status":"stable","recommended":true},{"id":"video-retrieve","method":"POST","path":"/video/retrieve","name":"Retrieve result","status":"stable"},{"id":"video-quote","method":"POST","path":"/video/quote","name":"Quote price","status":"stable"}],"family":"grok-imagine-video"},{"id":"grok-imagine-video-to-video-private","name":"Grok Imagine","type":"video","modality":"video","task":"video","variant":"v2v","provider":"xai","created":1776211200,"privacy":"private","sets":["audio","long_duration","photorealistic","venice_recommendations"],"video":{"mode":"v2v","resolutions":[{"value":"480p","label":"480p","height":480},{"value":"720p","label":"720p","height":720}],"durations":[{"value":"5s","seconds":5},{"value":"10s","seconds":10},{"value":"15s","seconds":15}],"audio":"native","inputs":{"video":true},"promptLimit":4096},"pricing":{"status":"input-dependent"},"headline":{"unit":"per second","basis":"lens"},"endpoints":[{"id":"video-queue","method":"POST","path":"/video/queue","name":"Queue generation","status":"stable","recommended":true},{"id":"video-retrieve","method":"POST","path":"/video/retrieve","name":"Retrieve result","status":"stable"},{"id":"video-quote","method":"POST","path":"/video/quote","name":"Quote price","status":"stable"}],"family":"grok-imagine-video"}],"related":{"similar":[{"slug":"runway-gen-4-5","name":"Runway Gen-4.5","provider":"runway","modality":"video","privacy":["anonymized"],"created":1775952000,"headline":{"unit":"per second","basis":"lens"},"videoFrom":0.162,"variants":2},{"slug":"pixverse-c1","name":"PixVerse C1","provider":"pixverse","modality":"video","privacy":["anonymized"],"created":1775865600,"headline":{"unit":"per second","basis":"lens"},"videoFrom":0.03333,"variants":4},{"slug":"kling-o3-4k","name":"Kling O3 4K","provider":"kling","modality":"video","privacy":["anonymized"],"created":1776816000,"headline":{"unit":"per second","basis":"lens"},"videoFrom":0.462,"variants":3},{"slug":"kling-v3-4k","name":"Kling V3 4K","provider":"kling","modality":"video","privacy":["anonymized"],"created":1776816000,"headline":{"unit":"per second","basis":"lens"},"videoFrom":0.462,"variants":2}],"versions":[{"slug":"grok-imagine-1-5","name":"Grok Imagine 1.5","provider":"xai","modality":"video","privacy":["private"],"created":1780185600,"headline":{"unit":"per second","basis":"lens"},"videoFrom":0.092,"variants":3}]},"providers":{"xai":{"slug":"xai","name":"xAI","logo":"/images/icons/models/grok.svg"},"runway":{"slug":"runway","name":"Runway","logo":"/images/icons/models/runway.svg"},"pixverse":{"slug":"pixverse","name":"PixVerse","logo":"/images/icons/models/pixversevideo.svg"},"kling":{"slug":"kling","name":"Kling AI","logo":"/images/icons/models/kling.svg"}},"faq":[{"q":"How much does the Grok Imagine API cost?","a":"From $0.063 to $0.089 per second of video, depending on resolution, duration and audio. A 5-second 720p clip with audio costs $0.44. Call `POST /video/quote` for the exact price before queueing. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the Grok Imagine model ID?","a":"Use `grok-imagine-text-to-video-private` as the `model` parameter. Other variants: `grok-imagine-image-to-video-private` (Image to video), `grok-imagine-reference-to-video-private` (Reference to video), `grok-imagine-video-to-video-private` (Video edit)."},{"q":"Is the Grok Imagine API private?","a":"Grok Imagine is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training."},{"q":"What resolutions and durations does Grok Imagine support?","a":"Resolutions: 480p, 720p. Durations: 1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s. Aspect ratios: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16. Audio: always generated."},{"q":"Which endpoint does the Grok Imagine API use?","a":"Queue a job with `POST /video/queue`, then poll `/video/retrieve` for the result."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # Grok Imagine API

    Grok Imagine is a text to video, image to video, reference to video and video editing model by xAI, available on the Venice API as `grok-imagine-text-to-video-private`. It runs privately, with zero data retention.

    ## Grok Imagine API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `grok-imagine-text-to-video-private` | Text to video | Private | from \$0.06 per second |
    | `grok-imagine-image-to-video-private` | Image to video | Private | from \$0.06 per second |
    | `grok-imagine-reference-to-video-private` | Reference to video | Private | from \$0.06 per second |
    | `grok-imagine-video-to-video-private` | Video edit | Private | Priced by source video length (use /video/quote) |

    Clip prices for `grok-imagine-text-to-video-private` with audio:

    | Duration | 480p | 720p |
    | - | - | - |
    | 1s | \$0.06 | \$0.09 |
    | 2s | \$0.13 | \$0.18 |
    | 3s | \$0.19 | \$0.27 |
    | 4s | \$0.25 | \$0.35 |
    | 5s | \$0.32 | \$0.44 |
    | 6s | \$0.38 | \$0.53 |
    | 7s | \$0.44 | \$0.62 |
    | 8s | \$0.51 | \$0.71 |
    | 9s | \$0.57 | \$0.80 |
    | 10s | \$0.63 | \$0.89 |
    | 11s | \$0.70 | \$0.97 |
    | 12s | \$0.76 | \$1.06 |
    | 13s | \$0.82 | \$1.15 |
    | 14s | \$0.89 | \$1.24 |
    | 15s | \$0.95 | \$1.33 |

    ## Grok Imagine specifications

    | Spec | Value |
    | - | - |
    | Provider | xAI |
    | Released | Apr 13, 2026 |
    | Privacy | Private |
    | Modes | text to video, image to video, reference to video and video editing |
    | Resolutions | 480p, 720p |
    | Durations | 1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s |
    | Aspect ratios | 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 |
    | Audio | Always generated |

    ## How to use the Grok Imagine API

    Send requests to `POST https://api.venice.ai/api/v1/video/queue` with `"model": "grok-imagine-text-to-video-private"` and your API key.

    ```bash theme={null}
    # 1. Queue the job (returns a queue_id)
    curl https://api.venice.ai/api/v1/video/queue \
      -H "Authorization: Bearer $VENICE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "grok-imagine-text-to-video-private",
        "prompt": "Slow aerial drone shot over a misty mountain valley at golden hour",
        "duration": "5s",
        "resolution": "720p",
        "aspect_ratio": "16:9"
      }'

    # 2. Poll until the MP4 is ready
    curl https://api.venice.ai/api/v1/video/retrieve \
      -H "Authorization: Bearer $VENICE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ "model": "grok-imagine-text-to-video-private", "queue_id": "<queue_id>" }' --output video.mp4
    ```

    ## Grok Imagine API FAQ

    ### How much does the Grok Imagine API cost?

    From $0.063 to $0.089 per second of video, depending on resolution, duration and audio. A 5-second 720p clip with audio costs \$0.44. Call `POST /video/quote` for the exact price before queueing. Prices are in USD and can be paid in DIEM at parity.

    ### What is the Grok Imagine model ID?

    Use `grok-imagine-text-to-video-private` as the `model` parameter. Other variants: `grok-imagine-image-to-video-private` (Image to video), `grok-imagine-reference-to-video-private` (Reference to video), `grok-imagine-video-to-video-private` (Video edit).

    ### Is the Grok Imagine API private?

    Grok Imagine is private: requests run on infrastructure Venice controls with zero data retention, and prompts and outputs are never stored or used for training.

    ### What resolutions and durations does Grok Imagine support?

    Resolutions: 480p, 720p. Durations: 1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s. Aspect ratios: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16. Audio: always generated.

    ### Which endpoint does the Grok Imagine API use?

    Queue a job with `POST /video/queue`, then poll `/video/retrieve` for the result.

    ## Related models

    * [Grok Imagine 1.5 API](/models/grok-imagine-1-5): from \$0.09 per second
    * [Runway Gen-4.5 API](/models/runway-gen-4-5): from \$0.16 per second
    * [PixVerse C1 API](/models/pixverse-c1): from \$0.03 per second
    * [Kling O3 4K API](/models/kling-o3-4k): from \$0.46 per second
    * [Kling V3 4K API](/models/kling-v3-4k): from \$0.46 per second
  </Accordion>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.