RawFrame

Muse Image 1.0

Meta's Muse Image model from the Meta Model API. Text to image and image editing with up to ten input images. Flat price per image. No seed or mask.

Preview

Parameters and limits may change before this model is generally available.

  • Model id: meta/muse-image-1.0
  • Type: Image, from Meta Model API
  • Modes: Text to image, Image edit
  • Prompt: up to 4,000 characters
  • Canceling: Only while queued. Generations finish within seconds once submitted.

Parameters

Set these in params. Anything left out takes the default, which is what the price estimate assumes.

ParameterAccepted valuesDefault
num_outputs1 to 101
output_formatpng, jpeg, webpprovider's

References

Pass media in references, each with a role and an upload_id or HTTPS url (Uploads). When mode is left out it is inferred from the roles.

RoleUsed asAt most
source_imageImage to edit1
reference_imageSubject or style reference9

Pricing

Billed per image delivered. The full price list for your account is on the dashboard's billing page and in pricing from GET /v1/models/meta%2Fmuse-image-1.0. Each request reserves its maximum price and is charged for what was produced (Pricing and credits).

Examples

Text to image

import { RawFrame } from "@rawframe/sdk";

const rf = new RawFrame();

const generation = await rf.generations.createAndWait({
  model: "meta/muse-image-1.0",
  prompt: "A watercolor map of an imaginary island, hand-lettered labels, warm paper texture",
});
console.log(generation.outputs?.[0]?.url);

Several options

import { RawFrame } from "@rawframe/sdk";

const rf = new RawFrame();

const generation = await rf.generations.createAndWait({
  model: "meta/muse-image-1.0",
  prompt: "A fox in a rain jacket reading a newspaper at a bus stop, soft morning light",
  params: { num_outputs: 3, output_format: "png" },
});
console.log(generation.outputs?.[0]?.url);

On this page