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.
No video yet. Submit the form to generate video.
Explore different use cases and parameter configurations
Transparent pricing with no hidden fees. Pay as you go.
| Rule & Modality | Channel | Credits | Price (USD) | Official / Reference Price | Daily Savings |
|---|---|---|---|---|---|
image-upscale imagegrok | Starter | 1per run | $0.005 | - | - |
Complete guide to using grok-imagine
Use ApiPass to access the Grok Imagine Upscale refinement workflow developed by xAI. This API allows you to enhance media assets generated by supported models. By submitting the task_id of a previously successful generation task, you can trigger a high-fidelity resolution and detail enhancement process through our unified API infrastructure.

Grok Imagine Upscale is a high-fidelity refinement workflow powered by upstream third-party models to enhance media assets.To optimize processing throughput and enforce structural fidelity, the underlying model does not accept arbitrary external URLs. Instead, it natively processes the internal telemetry matrix of a previous successful asset generated via ApiPass (such as tasks completed through grok-imagine/text-to-image or grok-imagine/text-to-video). ApiPass safely proxies your unique task_id straight to the specialized GPU clusters for high-resolution reconstruction.
Start directly from a completed ApiPass generation job. Submit its unique task_id to initialize a new enhancement workflow, maintaining consistent environment settings and avoiding unnecessary external data re-ingestion.
Upscale requests are processed asynchronously. The creation endpoint instantly returns a taskId and a queued status, letting your backend offload heavy processing to our optimized GPU cluster.
For production-grade system integrations, provide a callBackUrl. ApiPass will automatically push a JSON payload upon task completion or failure, eliminating the need for aggressive polling.
Leverage an existing internal task history as the exact matrix source for the upscaling workflow. This ensures structural fidelity while dramatically enhancing texture, clarity, and resolution.
The primary required payload is task_id. Simply provide the ID of a completed, supported source task, and the ApiPass engine handles the rest.
Seamlessly construct programmatic routines using POST /api/v1/jobs/createTask to launch, GET /api/v1/jobs/recordInfo to track, and callBackUrl to capture final outputs.
Programmatically elevate AI-generated image and video drafts into crisp, high-resolution creative demos, product showcases, and premium digital assets.
Chain asset generation and upscaling together in your backend logic. Configure your system to generate media first, listen for a success state, and automatically forward the returned source task ID straight into grok-imagine/upscale.
Integrate high-fidelity video and image upscaling directly into automated backend workflows, digital asset management (DAM) platforms, and internal AI generation pipelines.
Understand the data entry lifecycle when utilizing third-party models via the ApiPass proxy ecosystem:
Use generation endpoints (e.g., text-to-image, image-to-image) to create an asset from scratch. Transition to grok-imagine/upscale only after the source generation task status returns successful.
Rather than handling third-party hosted URLs which can face latency or access restrictions, this image-to-image workflow relies strictly on internal ApiPass task identifiers for flawless cross-model processing.
Polling via /api/v1/jobs/recordInfo is ideal during local development and debugging. For live multi-tenant production systems, passing a callBackUrl is highly recommended.
The default channel is auto. ApiPass automatically allocates tasks across available providers based on real-time pricing and stability metrics.
Choose starter, regular, or official when you need more control over cost, stability, and execution behavior. starter is designed for ultra-low-cost testing with limited quotas, regular is a balanced standard option, and official prioritizes stability and faster task execution.
New users can use ApiPass credits to test the workflow, validate task-based inputs, and confirm callback or polling behavior before moving to production.
Generate an asset using an ApiPass model and wait for it to complete successfully. Capture the returned task_id.
Send a POST request to /api/v1/jobs/createTask with the model parameter set to grok-imagine/upscale and pass the source task ID into input.task_id.
Poll GET /api/v1/jobs/recordInfo?taskId=YOUR_TASK_ID or wait for the system webhook to POST the high-resolution output directly back to your designated callBackUrl.
All APIs require authentication via Bearer Token.
Authorization: Bearer
Create an asynchronous Grok Imagine video upscale task. This model upscales a video generated by a previous successful Kie AI Grok video task.
1{
2 "model": "grok-imagine/upscale",
3 "channel": "auto",
4 "callBackUrl": "https://your-domain.com/api/callback",
5 "input": {
6 "task_id": "task_grok_12345678"
7 }
8}modelRequiredstringModel endpoint name. Use grok-imagine/upscale for this API.
grok-imagine/upscale
channelOptionalstringDefault 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.
Available options:
auto
callBackUrlOptionalstringOptional callback URL. If provided, ApiPass sends task completion updates to this URL after the upscale task finishes or fails.
https://your-domain.com/api/callback
task_idRequiredstringThe task ID of a previously successful Kie AI video generation task. It must come from a Kie AI video generation model such as grok-imagine/text-to-video. External video URLs are not supported.
Maximum length is 100 characters. The example value is a placeholder; use a real completed Grok/Kie video task ID in production.
task_grok_12345678
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/upscale",
6 "channel": "auto",
7 "callBackUrl": "https://your-domain.com/api/callback",
8 "input": {
9 "task_id": "task_grok_12345678"
10 }
11}'1{
2 "taskId": "task_xxx",
3 "status": "queued"
4}taskIdThe created ApiPass task ID. Use this ID with the query endpoint to get progress and results.
statusInitial task status, such as queued.

flux
flux
Generate photorealistic images with robust text
Starting from
0 credits
Nano Banana 2 Lite, aka Gemini 3.1 Flash-Lite Image, is a newly released image model from Google DeepMind built for fast 1K image generation, efficient creative iteration, prompt-based image editing, and responsive visual output in product-facing creative scenarios.
Starting from
0 credits
apipass
apipass
Integrate production-ready AI face swapping into your app with a single API call.
Starting from
0 credits
OpenAI
OpenAI
Generate intentionally designed visuals with less prompting using the latest OpenAI GPT Image 2 model.
Starting from
0 credits
Fast image generation model built on Gemini 3.1 Flash Image. Supports text-to-image, image editing, multi-image fusion with up to 14 reference images, Google Search grounding, and outputs up to 4K resolution.
Starting from
0 credits
apipass
apipass
Seamlessly remove watermarks, logos, and unwanted text from your images at scale with our powerful AI-driven API.
Starting from
0 credits
seedream
seedream
Starting from
0 credits
seedream
seedream
Starting from
0 credits
OpenAI
OpenAI
Bring your ideas to life with sharper, faster, more precise image generation using the GPT Image 2.5 API.
Starting from
0 credits
Luma
Luma
Starting from
0 credits
seedream
seedream
Starting from
0 credits