Wan 2.7 T2V
Wan 2.7 T2V is the current-generation text-to-video model from Alibaba's Wan line, replacing both 2.5 and 2.6. Per-second pricing at $0.10/s makes it the cheapest tier-1 video model for long-form output — at 10 seconds you pay $1.00, which would buy you under three Hailuo 2.3 clips. Strong on cinematic motion, scene consistency, and prompt adherence; the default choice for budget-conscious video generation workloads.
Pricing
Input
$0.158 / sec
Output
—
Pay only for what you use. No subscriptions, no minimums.
Specs
- Context
- —
- Max output
- —
- Latency
- Slow
- Category
- Video
- Arabic
- Strong
Constraints & limits
Duration
Up to 30s (linear pricing)
Base price
For 5s clip
Auto-refund
On generation failure
The gateway auto-clamps requests to the model's limits where possible.
Quick start
Video generation is async — the sample submits then polls until done or failed (auto-refund on failure).
import os, time, requests
API = "https://api.thalam.ai/v1"
headers = {"Authorization": f"Bearer {os.environ['THALAM_KEY']}"}
# 1. Submit
submit = requests.post(
f"{API}/videos/generations",
headers=headers,
json={
"model": "alibaba/wan-2.7-t2v",
"prompt": "A drone shot over a desert at golden hour.",
"duration": 5,
},
)
task_id = submit.json()["task_id"]
# 2. Poll until done (or auto-refund on failure)
while True:
poll = requests.get(f"{API}/videos/tasks/{task_id}", headers=headers).json()
status = poll["task"]["status"]
if status == "TASK_STATUS_SUCCEED":
print(poll["videos"][0]["video_url"])
break
if status == "TASK_STATUS_FAILED":
print(f"Failed: {poll['task'].get('reason', 'unknown')}")
break
time.sleep(5)Similar models
MiniMax H3 Max
MiniMax's top video tier. 5 to 15 second clips at 480P or 768P with native audio, driven by a prompt or first and last frames.
MiniMax H3
MiniMax's newest video model with native audio. 4 to 15 second clips at 768P or 2K, priced per second.