grok-imagine-1.5-video-ext API
Generate video from text, reference images, or frame inputs with Grok Imagine 1.5 on APISea.
grok-imagine-1.5-video-apiseaHarga API grok-imagine-1.5-video-ext
Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.
| Pilihan | APISea | Rasmi | Jimat |
|---|---|---|---|
| 1080P | $0.0385 | $0.04375 | −12% |
| 480P | $0.01122 | $0.08 | −86% |
| 720P | $0.02103 | $0.14 | −85% |
Harga dinyatakan dalam bagi setiap saat.
Apakah itu grok-imagine-1.5-video-ext?
Grok Imagine 1.5 Video from xAI generates video from text prompts, reference images, or supplied first and last frames. On APISea, the listed model is grok-imagine-1.5-video-apisea; the video generation endpoint specifies grok-imagine-1.5-video-ext for new requests. Developers can choose durations from 1–15 seconds, seven aspect ratios, and 480p, 720p, or 1080p output. Prompts support multiple languages, while image inputs use public JPEG, PNG, or WebP URLs. At 1080p, generation is limited to text-only or a single first-frame input.
Submit requests to POST /v1/videos/generations and receive a task ID, then query task status for progress and results. APISea provides one API key and pay-as-you-go billing, charging only for successful requests. Video pricing is per second and varies by resolution; the default configuration is about 12% below the provider list price.
Sorotan grok-imagine-1.5-video-ext
Text and image inputs
Generate videos from text, up to 14 reference images, or first-frame and first-and-last-frame inputs. Use image roles to distinguish reference images from frame inputs.
Three resolution options
Choose 480p, 720p, or 1080p output. At 1080p, only text-to-video or a single first-frame input is supported.
Duration and aspect controls
Set duration from 1–15 seconds and choose among seven landscape, portrait, and square aspect ratios. Defaults are 6 seconds, 16:9, and 480p.
Asynchronous task workflow
Generation returns a task ID rather than an immediate video result. Query task status to retrieve progress and results.
Cara memanggil API grok-imagine-1.5-video-ext dalam 4 langkah
- 01
Dapatkan API key
Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.
- 02
Tetapkan base URL
Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.
- 03
Hantar permintaan
Panggil POST /v1/videos/generations dengan "model": "grok-imagine-1.5-video-apisea" dan parameter di bawah.
- 04
Urus respons
Respons mengandungi task_id. Lakukan tinjauan berkala menggunakan GET /v1/tasks/{task_id} sehingga status menjadi completed, kemudian muat turun URL hasil.
Contoh permintaan
Dokumentasi: Grok Imagine 1.5 Video Generation# Set model to "grok-imagine-1.5-video-apisea"
curl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "grok-imagine-1.5-video-apisea",
"prompt": "A dog running on the beach, sunny weather, slow motion",
"size": "16:9",
"duration": 6,
"resolution": "720p"
}'Parameter
| Parameter | Jenis | Wajib | Lalai | Penerangan |
|---|---|---|---|---|
model | string | Wajib | grok-imagine-1.5-video-ext | Video generation model name |
nsfw_check | boolean | Pilihan | false | Whether to run content moderation before submitting the video task. |
prompt | string | Wajib | — | Video content description, supports multiple languages |
size | string | Pilihan | 16:9 | Video aspect ratio |
duration | integer | Pilihan | 6 | Video duration (seconds) |
resolution | string | Pilihan | 480p | Video quality |
image_urls | string[] | Pilihan | — | List of reference images (reference-images-to-video) |
image_with_roles | object[] | Pilihan | — | Images passed by role; `role` can be: |
url | string | Wajib | — | Image URL, only `http(s)` public URLs are supported (base64 is not supported), formats JPEG / PNG / WebP |
role | string | Wajib | — | Image role, must be lowercase: |
Perkara yang boleh anda bina dengan grok-imagine-1.5-video-ext
Prompt-driven clip tools
Build an interface that turns written scene descriptions into short videos, with user-selectable duration, aspect ratio, and resolution.
Reference-based creative drafts
Let creative teams supply reference images alongside a prompt to generate video drafts at 480p or 720p.
Frame-guided video workflows
Build tools that accept a first frame, or both first and last frames, to guide video generation. Use 480p or 720p when supplying a last frame.
Multi-format content production
Offer landscape, portrait, and square generation options for teams preparing clips for different placements.
Petua untuk hasil yang lebih baik
- 01
Match resolution to inputs
Use 480p or 720p for reference images or first-and-last-frame generation. Select 1080p only for text-only requests or a single first_frame input.
- 02
Set duration explicitly
Send duration as an unquoted integer from 1–15; omitting it defaults to 6 seconds. Since pricing is per second, shorter requested durations help control cost.
- 03
Poll submitted tasks
Store the returned task_id and query the Get Task Status endpoint for progress and results. Treat submission as the start of an asynchronous workflow, not a completed video.
- 04
Choose moderation deliberately
Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submission. False or omitted skips that moderation request and its added cost and latency.
Had dan perkara yang perlu diketahui
Video duration is limited to 1–15 seconds.
1080p does not support reference images or last-frame inputs.
Image inputs require public HTTP(S) URLs; base64 and combining image_urls with image_with_roles are unsupported.
Soalan lazim API grok-imagine-1.5-video-ext
How much does Grok Imagine 1.5 Video cost on APISea?
APISea pricing is $0.01122 per second for 480P, $0.02103 per second for 720P, and $0.0385 per second for 1080P. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.
Which model ID and endpoint should I use?
For new requests, use grok-imagine-1.5-video-ext with POST https://api.apisea.ai/v1/videos/generations and Bearer Token authentication using your APISea key. The page's model ID is grok-imagine-1.5-video-apisea, but the endpoint documentation specifies the ext name consistently.
Which video parameters can I control?
The required prompt describes the video; size selects the aspect ratio, duration sets 1–15 seconds, and resolution selects 480p, 720p, or 1080p. Defaults are 16:9, 6 seconds, and 480p; supported aspect ratios also include 9:16, 1:1, 4:3, 3:4, 3:2, and 2:3.
Does 1080p support image-to-video generation?
Yes, but only with a single first_frame in image_with_roles. Reference images and last_frame inputs are not supported at 1080p; text-to-video is supported.
How many images can I submit, and which formats work?
image_urls accepts 1–14 reference images; image_with_roles supports at most one first_frame, one last_frame, and 14 reference_image inputs. A last_frame requires a first_frame, and the two image input parameters cannot be combined. Images must be public HTTP(S) URLs in JPEG, PNG, or WebP format; base64 is unsupported.
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 specify commercial licensing rights.
Model berkaitan
grok-imagine-video
grok-imagine-video-1.5
apisea-zoe
happyhorse
happyhorse-1.0happyhorse-1.1
wan2.5-preview
wan2.6
wan2.6-i2v
Mula membina dengan grok-imagine-1.5-video-ext
Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.