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.

יצירת וידאווידאומשימה אסינכרונית
מזהה מודל
grok-imagine-video-1.5

תמחור API של grok-imagine-video-1.5

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

אפשרותAPISeaרשמיחיסכון
ברירת מחדלברירת מחדל$0.0704$0.08−12%
1080P$0.22$0.25−12%
480P$0.0704$0.08−12%
720P$0.1232$0.14−12%

המחירים הם לכל שנייה.

חומרי קלט

אפשרותיחידהAPISeaרשמי
Defaultלכל תמונה$0.0088$0.01

מהו 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

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.

איך לקרוא ל-API של grok-imagine-video-1.5 ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/videos/generations עם "model": "grok-imagine-video-1.5" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.

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
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרש—Official model name; video editing supports the base model only
promptstringנדרש—Non-empty instruction, at most 8000 Unicode characters
nsfw_checkbooleanאופציונליfalseWhether to perform content moderation before submitting the video task.
durationintegerאופציונלי8Generation only; integer from 1 to 15, default 8
resolutionstringאופציונלי480pBase: `480p/720p`; 1.5: `480p/720p/1080p`; default `480p`
aspect_ratiostringאופציונלי—Generation only; `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, or `2:3`
image_urlsstring[]אופציונלי—Optional reference-image array; every item must be a public HTTPS URL; omit instead of sending an empty array
videoobjectאופציונלי—Source video object `{url}`; public HTTPS URL; base model only
urlstringנדרש—HTTPS

מה אפשר לבנות עם 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.

טיפים לקבלת תוצאות טובות יותר

  • 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.

מגבלות ודברים שכדאי לדעת

  • 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.

שאלות נפוצות על API של grok-imagine-video-1.5

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.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם grok-imagine-video-1.5

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.