xAIPaidOperationalModerated
Grok Imagine Video
API model name: grok-imagine-video
Grok Imagine Video is xAI's music generation model, served on the Api.Airforce unified API. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- xAI
- Type
- music generation model
What is Grok Imagine Video used for?
- Music & audio generation — background tracks, jingles and soundscapes.
Related models
Grok 2 VisionxAI · $3.12 / 1MGrok 3xAI · $2.91 / 1MGrok 3 DeepsearchxAI · $0.57 / 1MGrok 3 FastxAI · $4.74 / 1MGrok 3 MinixAI · $0.51 / 1MGrok 3 Mini FastxAI · $0.93 / 1MGrok 3 ReasonerxAI · $0.57 / 1MGrok 4xAI · $0.81 / 1MGrok 4xAI · $2.07 / 1MGrok 4.20 ReasoningxAI · $0.27 / 1MGrok 4 FastxAI · $0.20 / 1MGrok 4 Fast ReasoningxAI · $0.02 / 1M
Grok Imagine Video — frequently asked questions
- How much does Grok Imagine Video cost?
- Grok Imagine Video is billed per generation rather than per token. See the pricing page for the current rate.
- What can Grok Imagine Video do?
- Grok Imagine Video is xAI's music generation model, accessible through the Api.Airforce API.
- Is Grok Imagine Video free to use?
- Grok Imagine Video is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Grok Imagine Video via the API?
- Grok Imagine Video is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID grok-imagine-video with your Api.Airforce API key.
- Who makes Grok Imagine Video?
- Grok Imagine Video is xAI's music generation model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Grok Imagine Video via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass grok-imagine-video as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="grok-imagine-video",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "grok-imagine-video",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);