APIMODELSAPIMODELS
全部
Models/Muse Image
Meta

Meta Muse Image API

muse-image

Muse Image 是 Meta 的图像模型(Muse Image 1.0):文生图,或带 1–4 张参考图改图,每次出 1 张约 250 万像素的图。限制:没有 4K,一次只出一张,不支持遮罩、seed 和透明背景。模型名 muse-image,每张 $0.02,失败不扣费。

Text to ImageImage Editing · 1–4 Reference ImagesAbout 2.5MPAuto or 13 Aspect RatiosOne Image per Request$0.02/image
per image$0.020/image
API Docs

Generate Image

限制:文生图,或用 1–4 张参考图改图(第 1 张是主图,同价);每次 1 张;约 250 万像素,没有 4K(超过约 260 万像素的尺寸会被拒);不支持遮罩局部重绘、透明背景、反向提示词和 seed;不保证每次都成功,失败不扣费。

Result

Generated image will appear here

Enter a prompt and click Generate

文生图,也能改图

Muse Image 1.0:只给提示词,或者提示词加 1–4 张参考图,换风格、换背景、多图合成都行;两种用法同价

约 250 万像素,没有 4K

1:1 为 1600×1600,16:9 为 2048×1152;具体像素由模型决定,更大的尺寸会被拒

自动或固定画幅

aspect_ratio 设为 auto 由提示词决定;也可从 21:9 到 9:21 的 13 种比例里选,或传 OpenAI 风格的 size

报错清楚,不悄悄降级

传蒙版、超过 4 张参考图、n 大于 1、超过 260 万像素的尺寸、透明背景、negative_prompt 或 seed,直接返回 400,不会被悄悄忽略

不保证 100% 成功,失败不扣费

不是每次请求都能成功;失败的请求会返回原因,不扣费

每张 $0.02

所有画幅同一个价

Muse Image API:Meta 的 Muse AI 图片模型,文生图与图生图,约 250 万像素

Muse Image 是 Meta Muse AI 系列里的 AI 图片模型,版本为 Muse Image 1.0。传一段提示词,返回一张约 250 万像素的图;再加最多 4 张参考图,就能改图、换风格,或把几张图合成一张。画幅由提示词决定,或从 13 种固定比例里指定。

在 APIMODELS 上它是一个模型名 muse-image,走 POST /v1/images/generations,每张 $0.02,带不带参考图同价。它不支持遮罩、没有 4K、没有透明背景,也不保证每次都成功,具体限制见下表。

模型名
muse-image
输入
文字提示词,可加最多 4 张参考图
输出
1 张图,约 250 万像素
画幅
auto 或 13 种固定比例
格式
默认 JPEG,可选 PNG / WebP
计费
每张 $0.02

Muse Image API 的限制条件一览

Muse Image 收什么、不收什么。不支持的输入和尺寸直接返回 400,不会被悄悄忽略,你不会为一张没按要求出的图付钱。

支持不支持
输入一段最多 4000 字的文字提示词,可再加 1-4 张参考图做改图、换风格或多图合成(第 1 张是主图)遮罩(局部重绘)
参考图1-4 张,PNG、JPEG 或 WebP,单张最大 10 MB、合计最大 24 MB,公网 URL 或 base64 data URI超过 4 张(返回 400)
每次张数1 张n 大于 1(批量请并发多次请求)
分辨率约 250 万像素,按每种比例的原生尺寸出图:1:1 1600×1600、3:2 1920×1280、16:9 2048×1152、9:16 1152×2048、21:9 2352×10084K、2048×2048 或任何超过约 260 万像素的尺寸(返回 400);精确的自定义像素(size 只决定比例)
画幅auto(由提示词决定)、1:1、3:2、2:3、4:3、3:4、5:4、4:5、16:9、9:16、2:1、1:2、21:9、9:21,或宽高比不超过 16:1 的 OpenAI 风格 size超过 16:1 的比例
输出格式默认 JPEG;传 output_format 可要 PNG 或 WebP透明背景(background: transparent 会被拒)
其他控制除上面之外没有negative_prompt 和 seed(都会被拒,结果不可复现);画质档位(quality 不起作用)

Muse Image 不保证每次都成功

和所有图片模型一样,Muse Image 的成功率不是 100%。只有出图成功才扣费。

请求被接受后仍然可能失败:内容可能被模型拒绝,生成也可能遇到临时错误。失败的请求会返回原因,不扣费。

我们 2026 年 10 月 30 日测试的 7 单都出了图,但 7 单远远不够说明成功率,所以暂时不公布。接入时请为临时错误加上重试,被拒的提示词改写后再发,并按每张 35 到 70 秒预留时间(我们测试是 34 到 67 秒)。

Muse 是 Meta AI 的模型家族:Muse Image API 是什么,不是什么

Meta AI 有好几个模型和产品都叫 Muse。其中负责出图的是 Muse Image,本页讲的、能在这里用 API 调用的就是它。

Meta 的 Muse AI 是一条模型和产品线,Muse Image 是其中的图片模型。这条线始于 Muse Spark:Meta Superintelligence Labs 在 2026 年 4 月 8 日发布的语言模型,现在 Meta AI 助手就靠它运行。2026 年 7 月 7 日 Muse Image 发布,同一天 Meta 还放出了 Muse Video 的早期预览,两者共用同一个预训练底座。到 2026 年 9 月 8 日,Muse 这个名字又用在了另一类产品上:个人 AI 助理 Muse,帮人处理邮件、订行程、网购。

APIMODELS 上能调用的 Muse 模型有两个:Muse Image(模型名 muse-image)和 Muse Video(模型名 muse-video)。Muse Image API 给你的只有图片模型本身。它不是 Meta AI 应用,也不是 Meta Muse AI agent:不会和你对话,不会浏览网页,也不会替你下单。你发一段提示词,要改图就再附最多 4 张参考图,拿回一张图,全程不需要 Meta 账号。

APIMODELS 是独立的 API 平台,与 Meta 没有隶属关系。Muse、Muse Image、Muse Video、Muse Spark 和 Meta AI 都是 Meta 为自家模型和产品起的名字。

Meta Muse AI 产品是什么APIMODELS 上能否调用
Muse ImageAI 图片模型:文生图,或用 1 到 4 张参考图改图,每张约 250 万像素能,模型名 muse-image
Muse Video同属 Muse 系列的 AI 视频模型:4 到 20 秒的 720p 视频能,模型名 muse-video
Muse SparkMeta 的语言模型,驱动 Meta AI 助手不能
Muse(Meta Muse AI agent)个人 AI 助理,代办邮件、出行、购物等事务不能
Meta AIMeta 面向用户的 AI 助手,在 meta.ai 和 Meta 旗下应用里使用不能:它是应用,不是 API

Muse Image API 适合做什么,不适合做什么

适合

用文字生成场景、海报和插画

一段提示词出一张约 250 万像素的图,比例按需选择,每张固定 $0.02。Meta 介绍它构图准确、文字渲染清晰。

适合

改图和多图合成

加最多 4 张参考图,就能换背景、给照片换风格,或者把一张图里的东西放进另一张图。第 1 张是主图,在提示词里写清楚哪些保留、哪些要改。价格不变,每张 $0.02。

适合

并发请求做批量

每次请求一张、一个价格,100 张就是并发 100 次请求,$2.00。

不适合

用遮罩做局部重绘

没有遮罩,也不支持局部重绘,没法圈定只改哪一块。要改什么请写进提示词,出来的是一张新的、约 250 万像素的图。

不适合

4K、精确像素或透明素材

输出约 250 万像素、按比例的原生尺寸、不透明背景。更大的尺寸和透明背景都会被拒。

不适合

需要可复现的结果

没有 seed,同一段提示词每次出的图都不一样。

TL;DR Muse Image API 调用的是 Meta Muse AI 系列里的 AI 图片模型 Muse Image 1.0,只有一个模型名 muse-image:可以文生图,也可以传 1 到 4 张参考图改图,每次请求出一张约 250 万像素的图,每张固定 $0.02,交付了才扣费。不支持蒙版、没有 4K、没有透明背景,也不保证每次都成功。

关于 Muse Image

Muse Image 是 Meta 研发的图片生成模型。Muse Image 是 Meta 的图片生成模型,即 Meta Superintelligence Labs 的 Muse Image 1.0。Meta 介绍它会先理解提示词再出图,构图准确,文字渲染清晰。在 APIMODELS 上它是统一图片端点里的一个模型名 muse-image(muse-image-1.0 也能用),文生图和改图都走它。 传一段最多 4000 字的提示词,返回一张约 250 万像素的图。再加 1 到 4 张参考图(一张用 image,多张用 images;公网 URL 或 base64 data URI,PNG、JPEG 或 WebP,每张不超过 10 MB、合计不超过 24 MB),同一个请求就变成改图:换画风、换背景,或者把几张图里的东西合到一起。第 1 张是主图,提示词里可以点名其他几张(「把第二张图里的杯子放到桌上」),写清哪些保留、哪些要改。参考图不另收费。不传 aspect_ratio 或传 auto,画幅由模型按提示词决定,我们实测不带尺寸的请求出了 1920×1280。要固定画幅,aspect_ratio 可选 1:1、3:2、2:3、4:3、3:4、5:4、4:5、16:9、9:16、2:1、1:2、21:9、9:21,也可以传 OpenAI 风格的 size,如 2048x1152。size 只决定比例,像素由模型按自己的分辨率定(1:1 约 1600×1600,16:9 约 2048×1152),所以不会和你传的数字完全一样。超过约 260 万像素的尺寸(如 4K、2048x2048)直接返回 400,不会悄悄给你一张更小的图。 每次请求只出一张,n 大于 1 会被拒,批量就并发多发几次。遮罩局部重绘、超过 4 张参考图、透明背景、negative_prompt、seed 都不支持,传了直接返回 400,不会被悄悄忽略。不保证每次都成功:内容可能被模型拒绝,也可能遇到临时错误,失败的请求不扣费。价格每张固定 $0.02,出图成功才计费。 通过 APIMODELS 平台,您可以使用统一的 API 接口调用该模型,按量计费、价格透明。当前定价:per image: $0.02。

核心功能

  • 文生图,也能改图 -- Muse Image 1.0:只给提示词,或者提示词加 1–4 张参考图,换风格、换背景、多图合成都行;两种用法同价
  • 约 250 万像素,没有 4K -- 1:1 为 1600×1600,16:9 为 2048×1152;具体像素由模型决定,更大的尺寸会被拒
  • 自动或固定画幅 -- aspect_ratio 设为 auto 由提示词决定;也可从 21:9 到 9:21 的 13 种比例里选,或传 OpenAI 风格的 size
  • 报错清楚,不悄悄降级 -- 传蒙版、超过 4 张参考图、n 大于 1、超过 260 万像素的尺寸、透明背景、negative_prompt 或 seed,直接返回 400,不会被悄悄忽略
  • 不保证 100% 成功,失败不扣费 -- 不是每次请求都能成功;失败的请求会返回原因,不扣费
  • 每张 $0.02 -- 所有画幅同一个价

分场景示例

人物设定图:咖啡店约会 — generated with Muse Image
人物设定图:咖啡店约会prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, glossy lips. Long chestnut-brown hair in soft loose waves, parted in the middle. Outfit: a fitted cream ribbed long-sleeve top with a modest square neckline, high-waisted light-wash straight jeans, small gold hoop earrings, white sneakers. Same face, same hair and same outfit in every view.
人物设定图:日落海边 — generated with Muse Image
人物设定图:日落海边prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, glossy lips. Long sun-kissed blonde beach waves. Outfit: a long white linen button-up shirt dress reaching below the knee, sleeves rolled up, a thin tan belt at the waist, flat tan leather sandals. Same face, same hair and same outfit in every view.
人物设定图:独立书店 — generated with Muse Image
人物设定图:独立书店prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, glossy lips. Shoulder-length honey-brown hair with soft curtain bangs. Outfit: a camel turtleneck knit sweater, a brown plaid pleated midi skirt, brown loafers with white socks, a small brown crossbody bag. Same face, same hair and same outfit in every view.
人物设定图:户外咖啡座:偷喝你的咖啡 — generated with Muse Image
人物设定图:户外咖啡座:偷喝你的咖啡prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing sun-kissed skin, groomed brows, glossy lips, a fit and slim figure. Long dark-brown hair in loose glossy waves. Outfit (a light summer date outfit that shows her shoulders, arms and legs but has a modest neckline, no cleavage): a white off-the-shoulder ribbed knit top, a high-waisted light-blue denim mini skirt, small gold hoop earrings, white low-top sneakers. Same face, same hair and same outfit in every view.
人物设定图:日落栈桥 — generated with Muse Image
人物设定图:日落栈桥prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing sun-kissed skin, groomed brows, glossy lips, a fit and slim figure. Long golden-blonde hair, loose and slightly windswept. Outfit (a light summer date outfit that shows her shoulders, arms and legs but has a modest neckline, no cleavage): a pale-yellow floral sundress with thin spaghetti straps and a straight modest neckline, hem just above the knee, flat tan sandals. Same face, same hair and same outfit in every view.
人物设定图:书店窗边角落 — generated with Muse Image
人物设定图:书店窗边角落prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing sun-kissed skin, groomed brows, glossy lips, a fit and slim figure. Shoulder-length auburn hair with soft bangs. Outfit (a light summer date outfit that shows her shoulders, arms and legs but has a modest neckline, no cleavage): a fitted rust-orange ribbed knit mini dress with short sleeves and a crew neckline, hem at mid-thigh, small gold earrings, brown suede ankle boots. Same face, same hair and same outfit in every view.
人物设定图:海边冰淇淋 — generated with Muse Image
人物设定图:海边冰淇淋prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing sun-kissed skin, groomed brows, glossy lips, a fit and slim figure. Long light-brown hair in a high sleek ponytail. Outfit (a light summer date outfit that shows her shoulders, arms and legs but has a modest neckline, no cleavage): a fitted sleeveless baby-pink top with a high square neckline, high-waisted white linen shorts, a thin gold bracelet, white sneakers. Same face, same hair and same outfit in every view.
人物设定图:公园野餐 — generated with Muse Image
人物设定图:公园野餐prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing sun-kissed skin, groomed brows, glossy lips, a fit and slim figure. Long black hair in soft curls. Outfit (a light summer date outfit that shows her shoulders, arms and legs but has a modest neckline, no cleavage): a sage-green floral sundress with thin straps and a modest square neckline, midi length, a straw bag, white sandals. Same face, same hair and same outfit in every view.
人物设定图:唱片店试听间 — generated with Muse Image
人物设定图:唱片店试听间prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing sun-kissed skin, groomed brows, glossy lips, a fit and slim figure. Long platinum-blonde hair, straight with a middle part. Outfit (a light summer date outfit that shows her shoulders, arms and legs but has a modest neckline, no cleavage): a black halter-neck ribbed knit top with a high neckline, high-waisted vintage blue jeans, silver rings, black boots. Same face, same hair and same outfit in every view.
人物设定图:夜晚屋顶 — generated with Muse Image
人物设定图:夜晚屋顶prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, glossy lips. Sleek straight dark-brown hair past the shoulders, middle part. Outfit: a black long-sleeve fitted midi dress with a modest round neckline, a small gold pendant necklace, black ankle boots. Same face, same hair and same outfit in every view.
人物设定图:公路旅行(停车中) — generated with Muse Image
人物设定图:公路旅行(停车中)prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, glossy lips. Long wavy copper-red hair, tortoiseshell sunglasses pushed up on her head. Outfit: an oversized light-wash denim jacket over a white crew-neck t-shirt, high-waisted black jeans, white sneakers. Same face, same hair and same outfit in every view.
人物设定图:雨夜撑伞 — generated with Muse Image
人物设定图:雨夜撑伞prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, glossy lips. Long straight black hair with a few face-framing layers. Outfit: a beige belted trench coat over a cream knit sweater, dark straight jeans, white sneakers. Same face, same hair and same outfit in every view.
人物设定图:厨房 vlog — generated with Muse Image
人物设定图:厨房 vlogprompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing dewy skin, groomed brows, glossy pink lips. Long wavy honey-blonde hair with curtain bangs, half tied back with a black satin bow. Outfit: a cream cropped cable-knit cardigan buttoned over a cream lace-trim camisole, high-waisted white denim shorts, a thin gold necklace, white fluffy house slippers. Same face, same hair and same outfit in every view.
人物设定图:老楼阳台 — generated with Muse Image
人物设定图:老楼阳台prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American woman with a polished Instagram influencer look: soft glam makeup, glowing dewy skin, groomed brows, glossy lips. Long light-brown hair tied in a low ponytail draped over her right shoulder, side-swept bangs, a small gold hair clip on the left side. Outfit: a white sleeveless tank top with a tiny red floral print, light-blue denim shorts, a red beaded bracelet on her right wrist, a thin gold necklace, white sneakers. Same face, same hair and same outfit in every view.
人物设定图:地铁通勤 — generated with Muse Image
人物设定图:地铁通勤prompt: Character reference sheet, photorealistic photo, plain light-grey studio background, soft even lighting, no text, no labels, no watermark. Left third of the image: a large head-and-shoulders portrait (headshot) of the woman facing the camera. Right two-thirds: a full-body three-view turnaround of the same woman, front view, side view and back view, standing upright in a relaxed pose, evenly spaced, with clear space between the headshot and the turnaround. The woman is a 25-year-old American office worker with a polished Instagram influencer look: soft glam makeup, glowing skin, groomed brows, nude glossy lips. Waist-length straight dark-brown hair with blunt bangs. Outfit: a light-blue long-sleeve button-up shirt tucked into a grey fitted mini skirt, sheer black tights, black pointed-toe high heels, a black lanyard with an ID badge hanging on her chest, a black leather shoulder bag. Same face, same hair and same outfit in every view.

适用场景

电商产品图

快速生成高质量产品展示图,适用于电商平台、广告素材等场景。

社交媒体内容

为社交平台创建吸引眼球的视觉内容,提升互动率和品牌曝光。

游戏美术资源

生成游戏角色、场景、道具等概念设计图,加速游戏开发流程。

营销设计素材

制作海报、Banner、宣传图等营销物料,降低设计成本。

为什么选择 APIMODELS

  • 统一 API 接口 -- 一个 API Key 调用所有模型,无需分别注册各平台账号
  • 价格透明 -- 按量计费,每个模型页公开单次调用价格,适合小微开发者和初创团队
  • 即开即用 -- 注册即可使用,支持支付宝、PayPal、银行卡和 USDT 充值
  • 完整文档 -- 提供详细的 API 文档和代码示例(cURL、Python、Node.js)

常见问题

如何使用 Muse Image API?

在 APIMODELS 注册账号并获取 API Key,然后通过我们的统一 API 端点调用即可。我们提供详细的 API 文档和 cURL、Python、Node.js 代码示例。

Muse Image API 是什么?

Muse Image 是 Meta 的图片生成模型,即 Meta Superintelligence Labs 的 Muse Image 1.0。Meta 介绍它会先对提示词做推理再出图,构图精准,文字渲染准确。在 apimodels.app 上,它是 POST /v1/images/generations 里的一个模型名 muse-image(muse-image-1.0 也能用):只传最长 4000 个字符的提示词就是文生图,再加 1 到 4 张参考图就能改图或把几张图合成一张,每次输出一张约 250 万像素的图。只有交付了图片才扣费,每张固定 $0.02。

Meta 的 Muse AI 是什么?Muse Image 属于其中哪一部分?

Muse 是 Meta 给 Meta Superintelligence Labs 出品的一系列 AI 模型和产品起的名字。Muse Spark 于 2026 年 4 月 8 日发布,是驱动 Meta AI 助手的语言模型;Muse Image 于 2026 年 7 月 7 日发布,是这个系列的图片模型,同一天预告的 Muse Video 与它共用预训练底座,是系列里的视频模型;2026 年 9 月 8 日上线的 Muse 则是个人 AI 助理(agent),代办邮件、出行、购物等事务。apimodels.app 上可以用同一个 API Key 调用其中两个:Muse Image(muse-image)和 Muse Video(muse-video)。apimodels.app 是独立平台,与 Meta 没有隶属关系。

Muse Image API 就是 Meta AI 或 Meta Muse AI agent 吗?

不是。Muse Image API 提供的只是图片模型:你发一段提示词,要改图就再附 1 到 4 张参考图,拿回一张约 250 万像素的图。它不会聊天、不会浏览网页、不会发邮件、订票或下单,那些是 Meta Muse AI agent 做的事;它也不是 meta.ai 上的 Meta AI 应用。用它不需要 Meta 账号,有 apimodels.app 的 API Key 就行,每交付一张图 $0.02。想在自己的代码或工作流里用 Muse 出图,走这里;想用助手或 agent,请用 Meta 自己的应用。

Muse Image 有哪些限制?

Muse Image 的全部限制:支持文生图,也支持传 1 到 4 张参考图做图生图,第一张是主图(PNG、JPEG 或 WebP,每张不超过 10 MB,合计不超过 24 MB;不支持蒙版和局部重绘);每次请求只出一张(n 必须是 1);每种比例按原生尺寸出图,约 250 万像素(1:1 为 1600×1600,3:2 为 1920×1280,16:9 为 2048×1152,9:16 为 1152×2048,21:9 为 2352×1008),没有 4K,超过约 260 万像素的尺寸会被拒,也不能指定精确像素;aspect_ratio 为 auto 或 13 种比例之一(1:1、3:2、2:3、4:3、3:4、5:4、4:5、16:9、9:16、2:1、1:2、21:9、9:21),也可以传 OpenAI 风格的 size,比例最多 16:1;默认 JPEG,可用 output_format 改成 PNG 或 WebP,不支持透明背景;不支持 negative_prompt、seed(结果不可复现)和画质档位;提示词最多 4000 个字符。不支持的输入,比如蒙版、超过 4 张参考图、n 大于 1、超过约 260 万像素的 size、resolution 4K、透明背景、negative_prompt 或 seed,都会直接返回 400,不会被悄悄忽略。即使在这些限制之内,也不是每次请求都能成功:模型可能拒绝内容,也可能遇到临时错误;失败的请求不扣费。

Muse Image 支持哪些画幅和尺寸?

aspect_ratio 默认 auto,由模型根据提示词决定画幅;我们测试时一条不指定尺寸的请求返回了 1920×1280。要固定画幅,可以从 13 种比例里选:1:1、3:2、2:3、4:3、3:4、5:4、4:5、16:9、9:16、2:1、1:2、21:9、9:21。也可以传 OpenAI 风格的 size,比如 2048x1152:它决定比例(最多 16:1),并且优先于 aspect_ratio。其他比例、不是「宽x高」(WIDTHxHEIGHT)格式的 size,或者超过约 260 万像素的 size(比如 3840x2160),都会返回 400。所有画幅同价。

Muse Image 输出的图片是多大分辨率?

约 250 万像素,每种画幅对应一个固定的原生尺寸。我们 2026 年 10 月 30 日的 7 次实测:1:1 返回 1600×1600(请求 1024x1024 也返回 1600×1600),16:9 返回 2048×1152,9:16 返回 1152×2048,21:9 返回 2352×1008;一次不指定尺寸的 auto 请求返回 1920×1280。没有 4K:size 只决定比例,超过约 260 万像素的 size(比如 3840x2160、2048x2048)会直接返回 400,不会缩小后交付。请以返回图片的实际宽高为准,不要假设就是你传的数字。

Muse Image 能出 4K 或指定像素尺寸吗?

不能。没有 4K:图片约 250 万像素,按模型在该比例下的原生尺寸返回。超过约 260 万像素的 size(比如 3840x2160、2048x2048)会在建任务前返回 400,不会缩小后交付;resolution 传 4K 也同样返回 400。被拒的请求不扣费。更小的尺寸可以传,但只决定比例:我们实测请求 1024x1024 返回的是 1600×1600。需要精确像素就在自己这边缩放;需要 4K,请选 apimodels.app 上有 4K 输出的图片模型。图片默认以 JPEG 交付;把 output_format 设为 png 或 webp,就会改成对应格式。

Muse Image 能改图或用参考图吗?

能。同一个模型名 muse-image 也支持图生图:传 1 到 4 张参考图,就能改图、换风格,或者把几张图合成一张。第一张是主图,也就是被修改的那张;提示词里可以按顺序指代其他图,比如「第二张图」。一张图用 image(或 image_url)传,多张用数组放进 images(或 image_urls);每张可以是公网 URL 或 base64 data URI,裸 base64 也可以用 image_base64 加 image_mime_type 传。图片格式为 PNG、JPEG 或 WebP,每张不超过 10 MB,合计不超过 24 MB。输出仍然是一张约 250 万像素的图,画幅由 aspect_ratio 或 size 决定;不管传几张参考图,都是每张 $0.02。不支持蒙版和局部重绘:传 mask 会返回 400(「muse-image does not support masks (mask): describe what to change in prompt instead」),要改哪里请写在提示词里。传第 5 张图同样返回 400(「muse-image takes at most 4 reference images (got 5)」)。这两种请求都在建任务前被拒,不扣费。我们自己还没有实测过图生图,所以这里不给改图的实测结果。

Muse Image 怎么改图或把几张图合成一张?

把要改的那张图放在 images 的第一张,提示词里写清楚哪些保留、哪些改,比如「保留人物和位置,背景换成海滩,油画风格」。传多张图时,说明每张图的用途:「以第一张图为底图,把第二张图里的杯子放到桌上」。有两点要有预期:参考图里的小字可能保不住;输出里的大段文字只起装饰作用,可能有错字,需要准确的长文案,请事后自己排版加上。每次改图是一个请求、出一张图,$0.02,只有交付了图片才扣费。不是每次请求都能成功:模型可能拒绝内容,也可能遇到临时错误;临时错误就重试,被拒就改写提示词,失败的请求不扣费。

Muse Image 一次请求能出几张图?

一张。n 必须是 1,n=2 及以上会在创建任何任务之前返回 400(「muse-image generates one image per request (got n=2); submit one request per image」)。传参考图也一样:进 1 到 4 张,出 1 张。要出多张,就并行发多个请求;每个请求是独立的任务,只有图片交付了才收 $0.02。

Muse Image 生成一张要多久?

我们实测每张大约 35 到 70 秒:2026 年 10 月 30 日的 7 次文生图测试请求,每次耗时 34 到 67 秒;图生图的耗时我们还没有自己测过。调用是异步的:建任务后每隔几秒轮询一次 GET /v1/images/generations?task_id=,或者传 callback_url 等回调。如果用 OpenAI 风格的一次调用(传 size 且不带 callback_url),客户端超时请至少设 120 秒。

Muse Image 请求失败会怎样?

不是每次请求都能成功。模型可能拒绝内容,生成也可能遇到临时错误。失败的请求会返回原因,不扣费。我们 2026 年 10 月 30 日的 7 次文生图测试请求全部出了图,但 7 次太少,不足以承诺成功率,所以暂不公布;图生图我们还没有自己测过。遇到临时错误就重试,被拒的提示词就改写,不要按「第一次一定成功」来设计流程。超出 Muse Image 限制的请求,比如带了蒙版或参考图超过 4 张,会在建任务前返回 400,同样不扣费。

Muse Image API 多少钱?

每张固定 $0.02,只有交付了图片才扣费。文生图和带 1 到 4 张参考图的改图同价,所有画幅和尺寸也同价;每个请求只出一张,所以也就是每次请求 $0.02,100 张 $2.00。返回 400 的请求和生成失败的任务都不扣费。

怎么拿到 API Key 并调用 Muse Image API?

在 apimodels.app 注册,进控制台创建 API Key;一个 Key、一个美元余额就能调用所有模型。然后发请求:curl -X POST https://api.apimodels.app/v1/images/generations -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"model": "muse-image", "prompt": "面包店橱窗海报,大标题写着 FRESH BREAD DAILY,清晨暖光", "aspect_ratio": "3:4"}'。要改图或把几张图合成一张,同一个请求加上 images,放 1 到 4 个公网 URL 或 base64 data URI,主图放第一张:-d '{"model": "muse-image", "prompt": "保留人物和位置,背景换成海滩,油画风格", "images": ["https://example.com/portrait.jpg"]}'。返回里有 taskId,轮询 GET /v1/images/generations?task_id= 直到 state 为 completed,或者传 callback_url 等回调,然后在 30 天内从 resultUrls 取图。如果传 OpenAI 风格的 size(比如 2048x1152)且不带 callback_url,同一个请求会直接按 OpenAI 的响应格式返回图片。

可以免费试用 Muse Image 吗?

可以先试几张。符合条件的新账号有 $0.10 试用额度,按每张 $0.02 够生成 5 张 Muse Image,先看出图效果再决定花钱。之后充值 $10 起,按量付费,没有订阅;只有交付了图片才扣费。

Muse Image 和同类模型相比怎么选?

在 APIMODELS,Muse Image 与 60+ 个模型共用一个 API Key、一个余额,所以选型只看合不合适,不存在锁定。它支持 Text to Image、Image Editing · 1–4 Reference Images、About 2.5MP、Auto or 13 Aspect Ratios、One Image per Request、$0.02/image,你可以在价格和能力上把它和同属「图片生成」类的其它模型对比,换模型只需改一个模型名字符串——无需新账号、无需重新对接。「图片生成」类的全部模型与实时价格见 apimodels.app/models。

Muse Image 支持哪些能力?

Muse Image 支持:Text to Image、Image Editing · 1–4 Reference Images、About 2.5MP、Auto or 13 Aspect Ratios、One Image per Request、$0.02/image。完整参数与调用方式见 APIMODELS 的 API 文档。

国内能直接调用 Muse Image API 吗?需要代理吗?

能直接调用,不需要代理。apimodels.app 和 api.apimodels.app 在中国大陆可以直接访问,注册后用一个 API Key 就能调用 Muse Image;不用单独注册模型厂商的账号,也不需要海外信用卡,支付宝就能充值。

怎么充值?支持哪些付款方式?

支持支付宝、PayPal、银行卡(Visa、Mastercard 等,经 Stripe 支付),以及 USDT(TRON 链 TRC20 或 BNB Smart Chain 链 BEP20)。支付宝、PayPal 和银行卡付款后即时到账,USDT 在链上转账确认后到账;也可以开启自动充值。单次充 $50 送 $1,充 $100 送 $3。余额按美元计,按量扣费,没有月费。

相关模型

相关阅读

接入方式、地区可用性,以及和同类模型的横向对比。

对比评测

这个模型和同类模型放在一起实测:效果、价格和适合的场景。