Grok Imagine Video 1.5 API — 实时定价、参数规格与 SDK 接入指南

Technical Summary & Live Pricing

通过 API Store Hub 调用 Grok Imagine Video 1.5 API(st2/grok-imagine-video-1.5),低至 13,200 ST/次,支持 /v1/videos/generations(Video Generation API)。透明 ST 预付计费,提供 cURL、Python、TypeScript 完整示例。

Model Name
Grok Imagine Video 1.5
Primary Model ID
st2/grok-imagine-video-1.5
Model Family
xAI Grok
Starting Price
13,200 ST/次 (1 VND = 1 ST)
Protocol & Endpoint
/v1/videos/generations — Video Generation API
Compatible Apps & SDKs
POST /v1/videos/generations, cURL, Python SDK, TypeScript SDK, n8n, Dify

Active Lanes & Variants

Grok Imagine Video 1.5
Model IDLaneBilling UnitPrice (ST / VND)Min/RequestContext WindowMax OutputFeatures
st2/grok-imagine-video-1.5Video ST2Per request6s: 13,200 ST · 10s: 22,000 ST · 15s: 33,000 ST---Video generation, OpenAI API

Practical Cost Estimator (ST / VND)

VolumeEstimated Cost (ST)VND Equivalent
1 video13,200 ST13,200 VNĐ
10 video132,000 ST132,000 VNĐ
100 video1,320,000 ST1,320,000 VNĐ
1,000 video13,200,000 ST13,200,000 VNĐ

Integration Snippets: cURL, Python, TypeScript & Anthropic / Claude Code

cURL

curl https://apistorehub.com/v1/videos/generations \
  -H "Authorization: Bearer sk-ash-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"st2/grok-imagine-video-1.5","prompt":"Cinematic aerial sunset over Ha Long Bay","seconds":5}'

Python SDK

import os, requests

resp = requests.post(
    "https://apistorehub.com/v1/videos/generations",
    headers={"Authorization": f"Bearer {os.environ['API_KEY']}"},
    json={"model": "st2/grok-imagine-video-1.5", "prompt": "Cinematic sunrise over mountains", "seconds": 5},
    timeout=120,
)
print(resp.json())

TypeScript SDK

const res = await fetch("https://apistorehub.com/v1/videos/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ model: "st2/grok-imagine-video-1.5", prompt: "Ocean waves in slow motion", seconds: 5 }),
});
console.log(await res.json());

Anthropic / Claude Code & CLI

export OPENAI_BASE_URL="https://apistorehub.com/v1"
export OPENAI_API_KEY="sk-ash-your_key"
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-your_key"
export MODEL_ID="st2/grok-imagine-video-1.5"

Model FAQ

How much does Grok Imagine Video 1.5 API cost on API Store Hub?
Grok Imagine Video 1.5 is live across 1 lane variant(s) starting from 13,200 ST/次 (1 VND = 1 ST), settled accurately to actual usage.
What context window and protocol does Grok Imagine Video 1.5 support?
Grok Imagine Video 1.5 (xAI Grok) provides N/A context over /v1/videos/generations (Video Generation API) and works with POST /v1/videos/generations, cURL, Python SDK, TypeScript SDK, n8n, Dify.
How do I integrate Grok Imagine Video 1.5 with Python, TypeScript, or Claude Code?
Set base_url to https://apistorehub.com/v1 (OpenAI SDK) or https://apistorehub.com (Anthropic SDK / Claude Code), pass model="st2/grok-imagine-video-1.5", and authenticate with a sk-ash- key.
Does Grok Imagine Video 1.5 share one ST credit balance with other AI models?
Yes. Every model on API Store Hub shares one prepaid ST credit balance and a single API key.