wan2.7-image
Alibaba image
价格$0.03/image
厂商牌价,无平台加价,按量付费。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。
30 秒用上 wan2.7-image
OpenAI 兼容:换掉 base_url,SDK 不用改。POST /v1/images/generations
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.images.generate(
model="wan2.7-image",
prompt="a watercolor lighthouse at dawn",
size="1024x1024",
)
print(resp.data[0].b64_json[:80])import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.images.generate({
model: "wan2.7-image",
prompt: "a watercolor lighthouse at dawn",
size: "1024x1024",
});
console.log(resp.data?.[0]?.b64_json?.slice(0, 80));curl https://synthorai.io/v1/images/generations \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image",
"prompt": "a watercolor lighthouse at dawn",
"size": "1024x1024"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Images.Generate(context.TODO(), openai.ImageGenerateParams{
Model: "wan2.7-image",
Prompt: "a watercolor lighthouse at dawn",
Size: "1024x1024",
})
fmt.Println(resp.Data[0].B64JSON[:80])
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.images.*;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ImagesResponse resp = client.images().generate(
ImageGenerateParams.builder()
.model("wan2.7-image")
.prompt("a watercolor lighthouse at dawn")
.size("1024x1024")
.build());
System.out.println(resp.data().orElseThrow().get(0).b64Json().orElseThrow().substring(0, 80));关于 wan2.7-image
生成与编辑的统一架构
角色一致的组图生成
多图参考最多九张输入
Wan2.7-Image 是阿里万相(Wan)系列的图像模型,构建于统一架构之上,覆盖文生图、指令式图像编辑、跨输出保持角色一致的组图生成,以及最多九张输入图的多图参考。
- 官方文档说明编辑和组图场景支持最高 2K 分辨率,并把这个基础版定位为 2.7 产品线中生成更快的选项。
- Synthorai 通过其 OpenAI 兼容端点向开发者开放 Wan2.7-Image。
规格与限制
| 模态 | text + image → image |
| 图像能力 | Up to 2K output, aspect ratios 1:8-8:1; text-to-image, editing, image sets (1-12), up to 9 reference images; multilingual text rendering (12 languages) |
| 备注 | Same feature set as wan2.7-image-pro with faster generation and lower max resolution; no official open-weights release for Wan2.7 |
常见问题
wan2.7-image API 可以免费试用吗?
可以。新账号可获得 10 次试用调用和最高 $1 的免费额度,无需绑卡。足够在添加付款方式之前,用真实工作负载试一试 wan2.7-image。
wan2.7-image 最擅长什么?
生成与编辑的统一架构,以及角色一致的组图生成和多图参考最多九张输入。完整能力请见 About 部分,内容取自厂商官方发布说明。
wan2.7-image 的价格是多少?
在 Synthorai 上,wan2.7-image 按每张生成图 $0.03 计费,按量付费,无平台加价,无需订阅。
如何调用 wan2.7-image API 生成图片?
向 Synthorai 的 /v1/images/generations 发送 POST,model="wan2.7-image",即标准 OpenAI images API 形态,无需厂商 SDK。
如何开通 wan2.7-image?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "wan2.7-image" 即可。一把 API key 通用网关上的全部模型。