Skip to content
xAI · Grok Imagine Video

grok-imagine-video-1.5 API

Generate videos from text or reference images with grok-imagine-video-1.5 on APISea, at up to 1080p.

Video generationVideoAsync task
Model id
grok-imagine-video-1.5

grok-imagine-video-1.5 API pricing

All prices in USD. APISea rates compared with the official list price for the same unit.

OptionAPISeaOfficialSave
DefaultDefault$0.0704$0.08−12%
1080P$0.22$0.25−12%
480P$0.0704$0.08−12%
720P$0.1232$0.14−12%

Prices are per second.

Input materials

OptionUnitAPISeaOfficial
Defaultper image$0.0088$0.01

What is grok-imagine-video-1.5?

grok-imagine-video-1.5 is xAI’s video generation model in the Grok Imagine Video family. Use it on APISea to turn a text prompt or one or more reference images into a video. Generation supports integer durations from 1 to 15 seconds, resolutions of 480p, 720p, and 1080p, and seven aspect ratios for square, landscape, and portrait formats. The default settings are 8 seconds and 480p. Unlike the base model, this version does not support source-video editing.

APISea provides access through one API key, with pay-as-you-go billing only for successful requests. Default generation costs $0.0704 per second, about 12% below the provider list price of $0.08 per second. Reference image input in the Default configuration costs $0.0088 per image. Requests run asynchronously: save the returned task ID and poll for completion.

grok-imagine-video-1.5 highlights

Text and Image Inputs

Generate videos from a text prompt alone or supply single or multiple reference images. Reference images must be publicly accessible HTTPS URLs.

Three Resolution Options

Choose 480p, 720p, or 1080p output. The default resolution is 480p.

Adjustable Clip Duration

Set an integer duration from 1 to 15 seconds. Omitting duration uses the 8-second default.

Seven Aspect Ratios

Choose 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, or 2:3 to match your application’s video format.

How to call the grok-imagine-video-1.5 API in 4 steps

  1. 01

    Get an API key

    Sign in to APISea, top up from $50, and create an sk-sea key in the console.

  2. 02

    Set the base URL

    Use https://api.apisea.ai/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/videos/generations with "model": "grok-imagine-video-1.5" and the parameters below.

  4. 04

    Handle the response

    The response contains a task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then download the result URLs.

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --header 'Idempotency-Key: 7d0141e4-a19a-4650-a717-dab777b3a330' \
  --data '{
    "model": "grok-imagine-video-1.5",
    "prompt": "A cinematic aerial shot of a coastal city at sunrise",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "nsfw_check": true
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequired—Official model name; video editing supports the base model only
promptstringRequired—Non-empty instruction, at most 8000 Unicode characters
nsfw_checkbooleanOptionalfalseWhether to perform content moderation before submitting the video task.
durationintegerOptional8Generation only; integer from 1 to 15, default 8
resolutionstringOptional480pBase: `480p/720p`; 1.5: `480p/720p/1080p`; default `480p`
aspect_ratiostringOptional—Generation only; `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, or `2:3`
image_urlsstring[]Optional—Optional reference-image array; every item must be a public HTTPS URL; omit instead of sending an empty array
videoobjectOptional—Source video object `{url}`; public HTTPS URL; base model only
urlstringRequired—HTTPS

What you can build with grok-imagine-video-1.5

Prompt-to-Video Tools

Build an interface that accepts written scene instructions and submits short video generation tasks, with user-selectable duration and resolution.

Reference-Based Creative Workflows

Let creative teams provide one or more reference images alongside a prompt when generating a new video.

Social Video Creation

Offer square, portrait, and landscape generation options for teams preparing short video content for different placements.

Storyboard Concept Exploration

Generate short clips from scene descriptions so teams can explore video concepts before committing to production.

Tips for better results

  • 01

    Set Output Controls Explicitly

    Specify duration, resolution, and aspect_ratio when your application needs a particular format. Shorter durations and lower-priced resolution tiers can help control generation costs.

  • 02

    Validate Prompts and Images

    Keep prompts non-empty and within 8000 Unicode characters. Supply a non-empty image_urls array of public HTTPS URLs, or omit the field entirely; preserve the intended image order.

  • 03

    Retry With the Same Key

    Use an Idempotency-Key for paid generation requests. For a network retry, reuse the original key and identical request body; use a new key for a new logical operation.

  • 04

    Track Asynchronous Tasks

    Save data[0].task_id after submission and poll for completion. Do not send X-APISea-Response-Version when using the documented legacy HTTP 200 asynchronous response schema.

Limits and things to know

  • Source-video editing is not supported by this model.

  • Generation is asynchronous, with durations limited to integer values from 1 to 15 seconds.

  • No fixed reference-image count limit is documented; relative URLs, Data URLs, and raw Base64 inputs are unsupported.

grok-imagine-video-1.5 API FAQ

How much does grok-imagine-video-1.5 cost on APISea?

APISea Default and APISea 480P each cost $0.0704 per second; APISea 720P costs $0.1232 per second; APISea 1080P costs $0.22 per second. Reference image input in the Default configuration costs $0.0088 per image. Default pricing is about 12% below the provider list price, and APISea bills only for successful requests.

How do I call grok-imagine-video-1.5 through APISea?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer authorization, Content-Type: application/json, and a JSON body containing model set to grok-imagine-video-1.5 and a non-empty prompt. Call from your backend rather than exposing your API key in frontend code, then save data[0].task_id and poll for completion.

Which duration, resolution, and aspect-ratio parameters are supported?

The duration parameter accepts integers from 1 to 15 and defaults to 8; resolution accepts 480p, 720p, or 1080p and defaults to 480p. The aspect_ratio options are 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, and 2:3.

Can I use multiple reference images, and what are the input limits?

Yes, image_urls accepts single or multiple reference images, each supplied as a public HTTPS URL; omit the field instead of sending an empty array. The public contract does not define a fixed image-count limit, and duplicate URLs may be billed more than once. Prompts must contain 1–8000 Unicode characters.

How does this model compare with grok-imagine-video?

Both models support text-to-video and reference-image-to-video generation for 1–15 second clips. grok-imagine-video-1.5 adds 1080p generation but does not support video editing; grok-imagine-video supports video editing and 480p or 720p generation. The separate grok-imagine-1.5-video-ext route uses different documentation, so do not mix its model name or parameters with this endpoint.

Can I use generated videos commercially?

Commercial use is subject to the provider’s terms. Review xAI’s applicable terms for your intended use; the supplied documentation does not establish commercial-use rights.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with grok-imagine-video-1.5

One key, pay as you go from $50, billed only for successful requests.