Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
还没有视频。提交表单以生成视频。
探索不同用例和参数配置
透明定价,无隐藏费用。按需支付。
| 规则与模式 | 渠道 | 积分 | 价格(美元) | 官方/参考价格 | 每日节省 |
|---|---|---|---|---|---|
grok- imagine-image-to-video-480p videogrokresolution: 480p | Starter | 0.3per second | $0.001 | xAI$0.050per second | 按每日 1,000 个 10 秒视频估算用 xAI 原价每天多花 $486.360ApiPass 低 97.27% |
grok- imagine-image-to-video-720p videogrokresolution: 720p | Starter | 0.55per second | $0.003 | xAI$0.070per second | 按每日 1,000 个 10 秒视频估算用 xAI 原价每天多花 $675.00000ApiPass 低 96.43% |
grok- imagine-image-to-video-1080 videogrokresolution: 1080p | Starter | 0.95per second | $0.004 | xAI$0.260per second | 按每日 1,000 个 10 秒视频估算用 xAI 原价每天多花 $2556.820ApiPass 低 98.34% |
grok-imagine 使用完整指南
Use ApiPass to convert still images into short animated videos with coherent motion, depth, lighting variation, and optional synchronized audio. The endpoint is asynchronous and is designed for creative apps, product previews, character animation, and automated visual workflows.
ApiPass supports two mutually exclusive input sources for grok-imagine/image-to-video: external image URLs or a previous text-to-image task ID.
Transform a still image into a smooth short video while preserving the original composition and visual identity.
Choose fun for playful results, normal for balanced motion, or spicy for more dynamic and intense animation. Spicy mode is only supported when using task_id, not external image_urls.
Generate videos from 6 to 30 seconds at 480p or 720p.
Use 2:3, 3:2, 1:1, 16:9, or 9:16. In single-image mode, output dimensions follow the input image aspect ratio.
Use callBackUrl for completion notifications or query /api/v1/jobs/recordInfo with the returned taskId.
Add a slow push-in, subtle parallax, atmospheric motion, and natural lighting shifts to a reference image.
Generate short visual clips that combine motion with audio cues for a more complete video output.
Experiment with mode settings to produce balanced, playful, or more intense movement.
Turn concept art, product images, or design references into short clips for quick review and iteration.
Create an asynchronous generation task, then receive the result through a callback or poll the task record.
Use image_urls for external reference images, or use task_id with index for a previous grok-imagine/text-to-image task. These two input sources must not be sent together.
Add a prompt that explains the desired action, camera movement, scene dynamics, rhythm, and lighting. Clear prompts usually produce more controllable motion.
Choose mode, duration, resolution, and aspect_ratio. Use normal mode with external image_urls; spicy mode is not supported for external image input.
Send a POST request to /api/v1/jobs/createTask. ApiPass returns a taskId and status. Use callBackUrl for production completion notifications or query /api/v1/jobs/recordInfo as a fallback.
The grok-imagine/image-to-video endpoint uses ApiPass asynchronous job creation and task querying.
POST https://api.apipass.dev/api/v1/jobs/createTask with Authorization: Bearer YOUR_API_KEY. The request body should include model: grok-imagine/image-to-video, optional channel, optional callBackUrl, and an input object.
GET https://api.apipass.dev/api/v1/jobs/recordInfo?taskId=YOUR_TASK_ID with Authorization: Bearer YOUR_API_KEY. Use the taskId returned by createTask.
If callBackUrl is provided, ApiPass sends task updates when the asynchronous task succeeds or fails. Polling recordInfo can be used as a fallback.
Provide exactly one input source: image_urls or task_id. image_urls supports up to 7 JPEG, PNG, or WEBP images, each 10MB or smaller. task_id can be up to 100 characters. index must be 0 through 5. duration must be a string value from 6 to 30.
Create short, shareable motion clips from a product image, concept frame, character design, or visual prompt.
Embed image-to-video generation into creative tools, campaign builders, onboarding flows, preview systems, and dynamic content experiences.
Animate static product images or design mockups with camera movement, depth, and lighting changes for fast stakeholder review.
Test different motion styles and prompt variations to discover visual directions before committing to full production.
所有 API 都需要通过 Bearer Token 进行身份验证。
Authorization: Bearer
Create an asynchronous image-to-video task with grok-imagine/image-to-video. Provide either external reference image URLs or a previous Grok text-to-image task_id plus index, then describe the desired motion with an optional prompt.
1{
2 "model": "grok-imagine/image-to-video",
3 "channel": "auto",
4 "callBackUrl": "https://your-domain.com/api/callback",
5 "input": {
6 "image_urls": [
7 "https://cdn.apipass.dev/apipass/results/task_78514b0d12c44ad4_0.png"
8 ],
9 "prompt": "Make the reference image come alive with a slow cinematic camera push-in, soft atmospheric motion, subtle parallax, and natural lighting changes.",
10 "mode": "normal",
11 "duration": "6",
12 "resolution": "480p",
13 "aspect_ratio": "16:9"
14 }
15}model必填stringApiPass model endpoint name. For this endpoint, use grok-imagine/image-to-video.
grok-imagine/image-to-video
channel可选stringDefault channel is auto. APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics; starter is ultra-low-cost with limited quotas and weaker stability; regular is standard and much cheaper than official APIs with moderate stability; official uses the model native API with high stability, fast task execution, and official pricing.
Default channel is auto. APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics; starter is ultra-low-cost with limited quotas and weaker stability; regular is standard and much cheaper than official APIs with moderate stability; official uses the model native API with high stability, fast task execution, and official pricing.
可用选项:
auto
callBackUrl可选stringCallback URL that ApiPass will call when the task finishes or fails. Recommended for production workflows so you do not need to rely only on polling.
https://your-domain.com/api/callback
image_urls可选array<string>External reference image URLs for video generation. Use this field when you want to animate uploaded or externally hosted images. Do not provide task_id at the same time.
Provide either image_urls or task_id. image_urls supports up to 7 images, each image must be 10MB or smaller, and supported formats are JPEG, PNG, and WEBP. You can reference images in the prompt with @image1, @image2, and so on. External image mode does not support spicy mode.
[ "https://cdn.apipass.dev/apipass/results/task_78514b0d12c44ad4_0.png" ]
task_id可选stringTask ID from a previous grok-imagine/text-to-image generation. Use it together with index to select one Grok-generated image. Do not provide image_urls at the same time.
Provide either task_id or image_urls. task_id can be up to 100 characters. This mode supports all mode values, including spicy.
task_grok_12345678
index可选integerSelects which image to use from the previous Grok image task when task_id is provided. Grok generates 6 images per task, so valid values are 0 through 5.
Default is 0. This parameter is only used with task_id and is ignored when image_urls is provided.
0
prompt可选stringText prompt describing the desired video motion.
Although optional, a clear prompt is recommended. Describe the action, camera movement, rhythm, subject, environment, and motion dynamics. English prompts are supported. Maximum length is 5000 characters.
Make the scene come alive with a slow cinematic camera push-in and subtle atmospheric motion.
mode可选stringControls the motion style and intensity.
Default is normal. fun is more creative and playful, normal is balanced, and spicy is more dynamic and intense. When using external image_urls, spicy mode is not supported and should not be used.
可用选项:
normal
duration可选stringDuration of the generated video in seconds. The schema type is string, but the value should be an integer number of seconds from 6 to 30.
Valid values are integer seconds from 6 to 30, with a step of 1.
6
resolution可选stringResolution of the generated video.
Default is 480p.
可用选项:
480p
aspect_ratio可选stringAspect ratio of the generated video.
Default is 16:9. This parameter applies to multi-image generation mode. In single-image mode, the video dimensions follow the input image aspect ratio.
可用选项:
16:9
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "grok-imagine/image-to-video",
6 "channel": "auto",
7 "callBackUrl": "https://your-domain.com/api/callback",
8 "input": {
9 "image_urls": [
10 "https://cdn.apipass.dev/apipass/results/task_78514b0d12c44ad4_0.png"
11 ],
12 "prompt": "Make the reference image come alive with a slow cinematic camera push-in, soft atmospheric motion, subtle parallax, and natural lighting changes.",
13 "mode": "normal",
14 "duration": "6",
15 "resolution": "480p",
16 "aspect_ratio": "16:9"
17 }
18}'
19
20curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
21 -H "Authorization: Bearer YOUR_API_KEY" \
22 -H "Content-Type: application/json" \
23 -d '{
24 "model": "grok-imagine/image-to-video",
25 "channel": "auto",
26 "callBackUrl": "https://your-domain.com/api/callback",
27 "input": {
28 "task_id": "task_grok_12345678",
29 "index": 0,
30 "prompt": "Animate the selected image with a smooth forward camera move, gentle subject motion, and cinematic depth.",
31 "mode": "spicy",
32 "duration": "6",
33 "resolution": "480p",
34 "aspect_ratio": "16:9"
35 }
36}'1{
2 "taskId": "task_xxx",
3 "status": "queued"
4}taskIdUnique task ID for the created asynchronous generation job. Use this value to query task status.
statusInitial task status after creation, such as queued.

ByteDance
ByteDance
起价
0 积分
ByteDance
ByteDance
Turn text, images, video clips, and audio into cinematic, audio-synced videos with a single API call.
起价
0 积分
MiniMax
MiniMax
起价
0 积分
ByteDance
ByteDance
Generate cinematic 4K AI videos up to 30 seconds with Seedance 2.5's multimodal power.
起价
0 积分
Google Veo 3.1 is the latest state-of-the-art generative video model designed to transform text and image prompts into high-fidelity cinematic visuals. Building upon its predecessors, Veo 3.1 features significant upgrades in prompt adherence, visual realism, and native audio generation, creating 8-second clips with synchronized sound effects and dialogue.
起价
0 积分
wan
wan
起价
0 积分
Runway
Runway
起价
0 积分
Kling
Kling
Transform text prompts and images into high-quality videos with advanced AI. Generate cinematic content with customizable duration, aspect ratio, and audio capabilities.
起价
0 积分
ByteDance
ByteDance
Generate realistic human animation videos by combining a portrait image with audio, producing natural lip-sync, facial expressions, and body movements.
起价
0 积分
MiniMax
MiniMax
Generate high-quality AI videos from text prompts or images with MiniMax's Hailuo 2.3 model. Support for both 6s and 10s durations, 768p and 1080p resolutions, with intelligent prompt optimization.
起价
0 积分
Kling
Kling
起价
0 积分
Luma
Luma
起价
0 积分
Kling
Kling
Kling v3 video generation model, supports text-to-video and image-to-video, up to 15 seconds, 1080p pro mode
起价
0 积分
Kling
Kling
Generate realistic talking avatar videos from a single image and audio file using Kling AI Avatar v2 API. Create lifelike lip-sync animations with natural expressions and body movements.
起价
0 积分
起价
0 积分
kling
kling
起价
0 积分
ByteDance
ByteDance
起价
0 积分