Vercel — AI · · 1 min read

Muse Image now available on AI Gateway

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

Muse Image from Meta Superintelligence Labs is now available on AI Gateway. It is their first image model and a separate family from Muse Spark, returning images rather than text. Send a prompt and get an image back, or send an image with an instruction and get it changed. One model does both, so you don't switch models to move from generating to editing.

To use Muse Image, set model to meta/muse-image-1.0 and call generateImage from the AI SDK:

import { generateImage } from 'ai';
const { images } = await generateImage({
model: 'meta/muse-image-1.0',
prompt: 'A conference poster for a talk on database indexes.',

To steer the result toward art you already have, pass reference images in prompt.images alongside the text, and the model blends them into what it draws.

Copy link to headingEditing

Pass the image you want changed in prompt.images with an instruction, and the model changes what you asked for and leaves the rest:

import { readFileSync } from 'node:fs';
import { generateImage } from 'ai';
const { images } = await generateImage({
model: 'meta/muse-image-1.0',
prompt: {
text: 'Move the date to the bottom right and make it larger.',
images: [readFileSync('./poster.png')],

Try Muse Image in the model playground.

AI Gateway provides a unified API for calling models, tracking usage and cost, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, budgets for API keys, routing rules, and more.

AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.

You can view all image models available on AI Gateway.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI