fal 和 Kerox,同一批模型。
fal 在每个模型页公布价格,也按小时出租 GPU。代码已经在调 fal.run,或要用他们的客户端库时,继续用 fal。Kerox 用一个任务接口、一把 API 密钥调用目录里的模型。
同一模型,同一口径
Kerox 一列来自当前目录。另一列是读取日期当天从链接页抄下的价格。对不上的行不放。
价格读取于 2026-11-29。
调用怎么换
Kerox 这段是本站文档里已有的请求。对方的示例只在那一页写明了地址和正文时才出现。
同一场景:图生视频,一张首帧。示例用 JavaScript 设置 credentials,这是接口页上的两种鉴权写法之一。Kerox 在请求头里带 Bearer。start_image_url 换成 first_frame;接口页自己的示例把这个必填项留空,所以这里用了占位地址。adaptive 换成 auto,audio 换成 generate_audio,enable_prompt_expansion 换成 prompt_extend。enable_safety_checker 在 Kerox 的这个模型上没有对应字段。
fal
https://fal.ai/models/alibaba/wan-3.0/image-to-video/api
import { fal } from "@fal-ai/client";
fal.config({
credentials: "YOUR_FAL_KEY"
});
const result = await fal.subscribe("alibaba/wan-3.0/image-to-video", {
input: {
start_image_url: "https://example.com/first-frame.jpg",
resolution: "1080p",
aspect_ratio: "adaptive",
duration: 5,
audio: true,
enable_prompt_expansion: true,
enable_safety_checker: true
}
});Kerox
POST https://api.kerox.ai/v1/tasks
Authorization: Bearer $KEROX_API_KEY
Content-Type: application/json
{
"model": "alibaba/wan-3.0",
"input": {
"first_frame": "https://example.com/first-frame.jpg",
"resolution": "1080p",
"aspect_ratio": "auto",
"duration": 5,
"generate_audio": true,
"prompt_extend": true
}
}