Alibaba AI 模型
Wan video generation, Qwen image models, and Z Image — Alibaba's full creative AI stack.
Alibaba ships a comprehensive suite of creative AI models: Wan for video and image generation including text-to-video, image-to-video, and video editing; Qwen 2 for image generation and editing; and Z Image for ultra-fast photorealistic text-to-image.
- 單一 API key 可跨 provider 共用
- Model skill 將文件與 schema 帶入你的 workspace
- 按次收費,無需承諾
- 失敗的生成不會收費
亮點
Alibaba 的所有模型
Text, image, and edit-video generation with 720p and 1080p output, duration control, first-frame image support, ordered reference images for character-guided clips, and source-video editing.
Qwen 2 supports text-to-image and image editing.
Qwen Image API 支援高質素文生圖、提示詞引導圖像重混,以及精準文字指令編輯。
Comprehensive video and image suite — text-to-video, image-to-video, video editing, and storyboards.
Ultra-fast text-to-image — photorealistic results in ~1 second with 8 inference steps.
安裝 Alibaba model skill。
選一個模型並加入其 skill,讓 coding tool 取得文件、schema、價格備註與 setup 步驟。
curl -X POST https://runapi.ai/api/v1/happyhorse/image_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-text-to-video",
"image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
"prompt": "Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."
}'
import { HappyhorseClient } from "@runapi.ai/happyhorse";
const client = new HappyhorseClient();
const result = await client.imageToVideo.run({
model: "happyhorse-text-to-video",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Happyhorse\HappyhorseClient;
$client = new HappyhorseClient();
$result = $client->imageToVideo->run([
'model' => 'happyhorse-text-to-video',
'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
'prompt' => 'Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night.',
]);
require "runapi/happyhorse"
client = RunApi::Happyhorse::Client.new
result = client.image_to_video.run(
model: "happyhorse-text-to-video",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."
)
npx skills add runapi-ai/happyhorse -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
Alibaba 的所有變體
| Model | Variant | Billing | From | |
|---|---|---|---|---|
|
HappyHorse
|
happyhorse-1.0-i2v | second | $0.540 | 查看 → |
| happyhorse-1.0-r2v | second | $0.540 | 查看 → | |
| happyhorse-1.0-t2v | second | $0.540 | 查看 → | |
| happyhorse-character | second | $0.480 | 查看 → | |
| happyhorse-edit-video | second | $0.480 | 查看 → | |
| happyhorse-image-to-video | second | $0.480 | 查看 → | |
| happyhorse-text-to-video | second | $0.480 | 查看 → | |
|
Qwen 2
|
qwen-2-edit-image | call | $0.060 | 查看 → |
| qwen-2-text-to-image | call | $0.060 | 查看 → | |
|
Qwen Image
|
qwen-image-edit-image | $0.050 | 查看 → | |
| qwen-image-remix-image | $0.040 | 查看 → | ||
| qwen-image-text-to-image | $0.040 | 查看 → | ||
|
Wan
|
wan-2.2-a14b-image-to-video-turbo | call | $0.400 | 查看 → |
| wan-2.2-a14b-speech-to-video-turbo | second | $0.240 | 查看 → | |
| wan-2.2-a14b-text-to-video-turbo | call | $0.400 | 查看 → | |
| wan-2.2-animate-move | second | $0.130 | 查看 → | |
| wan-2.2-animate-replace | second | $0.130 | 查看 → | |
| wan-2.5-image-to-video | second | $0.120 | 查看 → | |
| wan-2.5-text-to-video | second | $0.120 | 查看 → | |
| wan-2.6-edit-video | second | $0.140 | 查看 → | |
| wan-2.6-flash-edit-video | call | $0.300 | 查看 → | |
| wan-2.6-flash-image-to-video | call | $0.300 | 查看 → | |
| wan-2.6-image-to-video | second | $0.140 | 查看 → | |
| wan-2.6-text-to-video | second | $0.140 | 查看 → | |
| wan-2.7-edit-video | second | $0.160 | 查看 → | |
| wan-2.7-image | call | $0.050 | 查看 → | |
| wan-2.7-image-pro | call | $0.120 | 查看 → | |
| wan-2.7-image-to-video | second | $0.160 | 查看 → | |
| wan-2.7-r2v | second | $0.160 | 查看 → | |
| wan-2.7-text-to-video | second | $0.160 | 查看 → |
關於 Alibaba 的常見問題
這是 Alibaba 的官方整合嗎?
RunAPI 提供託管 API 介面,價格、能力及錯誤行為都清晰透明。
我需要 Alibaba 帳戶嗎?
不用 — 你的 RunAPI 密鑰已足夠使用託管存取。
透過 proxy 會增加多少延遲?
通常少於 20 ms。RunAPI 會將 proxy 層維持在貼近 model 執行區域的位置。
圖片/影片會快取嗎?
生成結果會按 task ID 儲存並可供取回。輸入內容不會快取。
我可以使用自己的 key 嗎?
目前不支援 — 請使用 RunAPI 管理的存取。