🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

MAI Image 2.7 Edit: AI 图像编辑器

MAI Image 2.7 Edit API:Microsoft 的前沿级图像编辑能力,支持精准文字、2K 输出和透明背景。按张计费,无需订阅。 使用自然语言指令,通过 Microsoft MAI Image 2.7 编辑或合并最多 5 张参考图像。支持 1K/2K、自定义尺寸和透明背景。 MAI Image 2.7 Edit 是 Microsoft MAI Image 2.7 的标准版,适合根据文字指令编辑和合并 1-5 张参考图像。它能准确遵循长提示词(最多 32,000 个字符),精准呈现引号中的文字;支持七种纵横比或自定义 WIDTHxHEIGHT,输出 1K(约 1 百万像素)或 2K(约 4 百万像素),还可生成透明背景的 PNG/WebP 素材。

交互式模型控制

使用自然语言指令,通过 Microsoft MAI Image 2.7 编辑或合并最多 5 张参考图像。支持 1K/2K、自定义尺寸和透明背景。

📝

概览

关于此模型

MAI Image 2.7 Edit 是 Microsoft MAI Image 2.7 的标准版,适合根据文字指令编辑和合并 1-5 张参考图像。它能准确遵循长提示词(最多 32,000 个字符),精准呈现引号中的文字;支持七种纵横比或自定义 WIDTHxHEIGHT,输出 1K(约 1 百万像素)或 2K(约 4 百万像素),还可生成透明背景的 PNG/WebP 素材。

1营销:制作图中文字精准的海报、广告和社交媒体图片。
2设计:制作带透明背景的徽标、贴纸和抠图素材。
3电商:生成产品场景和不同风格的产品照片。最多可将 5 张参考图像合并为一张成图。
4内容创作:批量制作编辑类插图、缩略图和封面图。
💰

价格与价值

成本分析

muapiapp每张图 $0.035 + 每张参考图 $0.008

1K 和 2K 统一定价。每张参考图另加 $0.008。

** 竞品价格根据相似模型架构和使用层级估算。

⚙️

技术详情

配置参数

提示词string

Edit instruction describing the change (1-32,000 characters). Use several images to combine them into one.

默认值Turn this photo into a warm watercolor illustration while keeping the composition and the people's faces recognisable
图像 URLarray

1-5 public JPEG/PNG/WebP image URLs. One image is edited; two or more are combined. References are used at up to about 1 megapixel.

默认值https://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/kling-o3-image-edit-in.jpg
Sizestring

Aspect ratio (1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16) or a custom WIDTHxHEIGHT such as 2048x2048. Custom sizes need both sides divisible by 16, each at least 768, and at most 4,194,304 total pixels. Leave empty to follow the first reference image's aspect ratio.

默认值-
分辨率枚举(2 个选项)

1K is about 1 megapixel, 2K about 4 megapixels. Applies to aspect-ratio sizes only.

默认值1K
Background枚举(2 个选项)

Use transparent for cut-out assets (needs png or webp output).

默认值opaque
输出格式枚举(3 个选项)

Output image format.

默认值png
📖

实施指南

开发者文档

如何使用 MAI Image 2.7 Edit

  1. 编写提示词:描述主体、风格和光线。将需要出现在图像中的文字放在引号内。
  2. 添加参考图像:在 images_list 中传入 1-5 个公开的 JPEG、PNG 或 WebP 图片 URL。单张图像会被编辑;两张或更多图像会合并。
  3. 选择尺寸(可选):将 size 留空以沿用第一张参考图像的尺寸,也可以设置纵横比或自定义 WIDTHxHEIGHT。
  4. 提交:发送请求并轮询结果,或传入 webhook 查询参数。
curl -X POST https://api.muapi.ai/api/v1/mai-image-2.7-image-edit \
  -H "x-api-key: $MUAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Turn this photo into a watercolor illustration", "images_list": ["https://example.com/photo.jpg"]}'
❓

常见问题

常见问答

费用如何计算?

每张图 $0.035,另加每张参考图 $0.008。1K、2K 和不同尺寸均采用统一价格。

如何生成透明背景?

将 `background` 设为 `transparent`,并将 `output_format` 设为 `png` 或 `webp`。

支持哪些自定义尺寸?

宽和高都必须能被 16 整除,且各自至少为 768;总像素数不得超过 4,194,304(例如 2048x2048 或 3072x1344)。

每个请求会生成几张图?

每个请求生成一张图,格式由 `output_format` 指定。

可以使用多少张参考图像?

可使用 1 到 5 张。单张图像会被编辑;两张或更多图像会合并为一张成图。参考图像的使用分辨率最高约为 1 百万像素。