Magic Text to Video overview
Magic Text to Video specs
- Model ID
magic/text-to-video- Developer
- Magic Inc.
- Input
- Text
- Output
- Video
- Endpoint
POST https://api.aimlapi.com/v2/video/generations
What is Magic Text to Video API?
Magic Inc text-to-video model generates dynamic videos from text descriptions using advanced AI techniques.
Magic Text to Video API Pricing
- Pricing on request
Where to Use Magic Text to Video
Use cases
Creating short-form AI videos for TikTok, Instagram Reels, and YouTube Shorts from a simple text prompt is a documented use case for this model.
It is also documented for producing AI video ads, product demos, and launch teasers without a production crew.
The model is documented as useful for visualizing scenes and pacing before committing to a full shoot.
It is also documented for creating animatics and concept videos for pitches and client approvals.
Magic Text to Video API pricing
| Usage | Price | Unit |
|---|---|---|
| Video generation | $0.5 | per generation |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Magic Text to Video vs other video models: prices
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.5 | |
| $0.43 | |
| $0.5 | |
| $0.5 | |
| $0.5 |
How to use the Magic Text to Video API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v2/video/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "magic/text-to-video",
"prompt": "A slow dolly shot through a sunlit greenhouse full of ferns, light dust in the air, natural camera motion"
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "magic/text-to-video",
"prompt": "A slow dolly shot through a sunlit greenhouse full of ferns, light dust in the air, natural camera motion"
}
response = requests.post("https://api.aimlapi.com/v2/video/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v2/video/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "magic/text-to-video",
"prompt": "A slow dolly shot through a sunlit greenhouse full of ferns, light dust in the air, natural camera motion"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());The request returns a generation id. Poll GET https://api.aimlapi.com/v2/video/generations?generation_id=<id> until the status is completed.
Related articles
Magic Text to Video FAQ
What inputs and outputs does Magic Text to Video support?
Magic Text to Video takes text as input and returns video.
When was Magic Text to Video released?
Magic Text to Video became available on December 26, 2025.
How much does Magic Text to Video cost?
Magic Text to Video costs $0.5 per generation on AI/ML API, billed as you go with no subscription.
How is Magic Text to Video billed?
Magic Text to Video is billed per generation, a fixed charge per output rather than by prompt length.
Who created Magic Text to Video?
Magic Text to Video was built by Magic Inc..
How do I call Magic Text to Video on AI/ML API?
Use magic/text-to-video as the model id on AI/ML API.
Is Magic Text to Video available through a single API key?
Yes. Magic Text to Video is served through AI/ML API, so the same key and endpoint format used for other models applies.
Does Magic Text to Video generate audio along with the video?
No. The model's only listed feature is text-to-video generation; audio is not included.
What is the Magic Text to Video model ID?
Use magic/text-to-video as the model parameter. Requests go to https://api.aimlapi.com/v2/video/generations with your AI/ML API key.

