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.5grok-imagine-video-1.5 API fiyatlandırması
Tüm fiyatlar USD cinsindendir. APISea ücretleri, aynı birim için resmî liste fiyatıyla karşılaştırılmıştır.
| Seçenek | APISea | Resmi | Tasarruf edin |
|---|---|---|---|
| VarsayılanVarsayılan | $0.0704 | $0.08 | −12% |
| 1080P | $0.22 | $0.25 | −12% |
| 480P | $0.0704 | $0.08 | −12% |
| 720P | $0.1232 | $0.14 | −12% |
Fiyatlar saniye başına şeklindedir.
Girdi materyalleri
| Seçenek | Birim | APISea | Resmi |
|---|---|---|---|
| Default | görsel başına | $0.0088 | $0.01 |
grok-imagine-video-1.5 nedir?
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 öne çıkan özellikleri
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.
grok-imagine-video-1.5 API'sini 4 adımda çağırma
- 01
API key alın
APISea'de oturum açın, $50 tutarından başlayarak bakiye yükleyin ve konsolda bir sk-sea key oluşturun.
- 02
Base URL'yi ayarlayın
SDK'nizde veya HTTP istemcinizde base URL olarak https://api.apisea.ai/v1 kullanın.
- 03
İsteği gönderin
"model": "grok-imagine-video-1.5" ve aşağıdaki parametrelerle POST /v1/videos/generations adresini çağırın.
- 04
Yanıtı işleyin
Yanıtta bir task_id bulunur. Durum completed olana kadar GET /v1/tasks/{task_id} adresini sorgulayın, ardından sonuç URL'lerini indirin.
İstek örnekleri
Belgeler: Grok Official Video Modelscurl --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
}'Parametreler
| Parametre | Tür | Gerekli | Varsayılan | Açıklama |
|---|---|---|---|---|
model | string | Gerekli | — | Official model name; video editing supports the base model only |
prompt | string | Gerekli | — | Non-empty instruction, at most 8000 Unicode characters |
nsfw_check | boolean | İsteğe bağlı | false | Whether to perform content moderation before submitting the video task. |
duration | integer | İsteğe bağlı | 8 | Generation only; integer from 1 to 15, default 8 |
resolution | string | İsteğe bağlı | 480p | Base: `480p/720p`; 1.5: `480p/720p/1080p`; default `480p` |
aspect_ratio | string | İsteğe bağlı | — | Generation only; `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, or `2:3` |
image_urls | string[] | İsteğe bağlı | — | Optional reference-image array; every item must be a public HTTPS URL; omit instead of sending an empty array |
video | object | İsteğe bağlı | — | Source video object `{url}`; public HTTPS URL; base model only |
url | string | Gerekli | — | HTTPS |
grok-imagine-video-1.5 ile neler geliştirebilirsiniz?
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.
Daha iyi sonuçlar için ipuçları
- 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.
Sınırlar ve bilinmesi gerekenler
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 SSS
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.
İlgili modeller
grok-imagine-1.5-video-ext
grok-imagine-1.5-video-apiseagrok-imagine-video
apisea-zoe
happyhorse
happyhorse-1.0happyhorse-1.1
wan2.5-preview
wan2.6
wan2.6-i2v
grok-imagine-video-1.5 ile geliştirmeye başlayın
Tek bir anahtar, $50 tutarından başlayan kullandıkça öde modeli; yalnızca başarılı istekler için ücretlendirilirsiniz.