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-apiseaتسعير API لنموذج grok-imagine-1.5-video-ext
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| الخيار | APISea | رسمي | وفّر |
|---|---|---|---|
| 1080P | $0.0385 | $0.04375 | −12% |
| 480P | $0.01122 | $0.08 | −86% |
| 720P | $0.02103 | $0.14 | −85% |
الأسعار لكل ثانية.
ما هو 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.
أبرز مزايا 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.
كيفية استدعاء API الخاص بـ grok-imagine-1.5-video-ext في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/videos/generations مع "model": "grok-imagine-1.5-video-apisea" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.
أمثلة على الطلبات
الوثائق: 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"
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | grok-imagine-1.5-video-ext | Video generation model name |
nsfw_check | boolean | اختياري | false | Whether to run content moderation before submitting the video task. |
prompt | string | مطلوب | — | Video content description, supports multiple languages |
size | string | اختياري | 16:9 | Video aspect ratio |
duration | integer | اختياري | 6 | Video duration (seconds) |
resolution | string | اختياري | 480p | Video quality |
image_urls | string[] | اختياري | — | List of reference images (reference-images-to-video) |
image_with_roles | object[] | اختياري | — | Images passed by role; `role` can be: |
url | string | مطلوب | — | Image URL, only `http(s)` public URLs are supported (base64 is not supported), formats JPEG / PNG / WebP |
role | string | مطلوب | — | Image role, must be lowercase: |
ما الذي يمكنك إنشاؤه باستخدام 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.
نصائح للحصول على نتائج أفضل
- 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.
القيود ومعلومات مهمة
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.
الأسئلة الشائعة حول 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.
نماذج ذات صلة
grok-imagine-video
grok-imagine-video-1.5
apisea-zoe
happyhorse
happyhorse-1.0happyhorse-1.1
wan2.5-preview
wan2.6
wan2.6-i2v
ابدأ التطوير باستخدام grok-imagine-1.5-video-ext
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.
