Przejdź do treści
Biblioteka skilli
AI i agenci · Budowanie i kod

meta-image

/meta-image

Generuje obrazy z tekstu, edytuje zdjęcia i łączy kilka obrazów w jeden przez Muse Image, czyli model muse-image-1.0.

Repozytorium
muse-muse ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Generuje obrazy z tekstu, edytuje zdjęcia i łączy kilka obrazów w jeden przez Muse Image, czyli model muse-image-1.0.

Oryginalny opis (EN)

Use to generate images from text, edit a photo, or combine several images into one with Muse Image (muse-image-1.0).

Jak działa

  1. Generate
  2. Edit or combine photos
  3. Changing only one region
  4. Follow-up edits ("make it darker")
  5. Errors
  6. Cost
Sekcje z nagłówków SKILL.md, w oryginale · 93 linii, 519 słów
Podgląd SKILL.md
---
name: meta-image
description: Use to generate images from text, edit a photo, or combine several images into one with Muse Image (muse-image-1.0).
---

# Muse Image

All calls run on the server.

```ts
import { metaClient } from "@/lib/meta/client";

const meta = metaClient(request); // the route handler's incoming request, or await headers() in a server action
```

## Generate

```ts
const out = await meta.images.generate({
  model: "muse-image-1.0",
  prompt: "A walnut bookshelf with five shelves against a white wall, soft daylight",
  n: 1,
  size: "1024x1536",
  output_format: "jpeg",
});
const b64 = out.data?.[0]?.b64_json; // base64, always there unless you ask for a url
```

Show it with `data:image/jpeg;base64,${b64}` (`image/webp` when you leave `output_format` at its default).

| Option | Values |
|---|---|
| `n` | 1 to 10. Each image is billed |
| `size` | `"WxH"` sets **only the aspect ratio**, not pixels. `1024x768` came back as 1792×1344. Up to 16:1. Resize yourself if you need exact pixels |
| `response_format` | `b64_json` (default) or `url`, a temporary signed URL. Don't store that URL |
| `output_format` | `webp` (default), `png` or `jpeg` |

The reply is `{ created, output_format, background, usage, data: [{ b64_json }] }`. Ignore `usage` token counts: billing is per image.

## Edit or combine photos

The SDK sends multipart form data. Pass one file to edit it, or an array of up to 10 files to combine them.

```ts
import { toFile } from "openai";

const out = await meta.images.edit({
  model: "muse-image-1.0",
  image: await toFile(photoBytes, "room.jpg", { type: "image/jpeg" }),
  prompt: "Add a walnut bookshelf against the left wall. Keep everything else the same.",
});
```

For combining, describe how the inputs relate, for example: "Put the chair from the second image into the room in the first image."

`mask`, `input_fidelity`, `partial_images` and `moderation` are not supported, and sending them returns 400. Unknown fields also return 400.

## Changing only one region

There is no mask support. To change one area:

1. Find it with SAM 3.1 (meta-sam skill).
2. Crop to its box with some padding.
3. Edit the crop.
4. Paste it back over the original, using the SAM mask as the alpha channel.

## Follow-up edits ("make it darker")

The Responses API keeps context between turns. Chain turns with `previous_response_id`. Tool controls go in an `image_generation` tool, and it's the only tool accepted. Each image comes back as an `image_generation_call` output item with base64 bytes in `result`.

```ts
const first = await meta.responses.create({
  model: "muse-image-1.0",
  input: "A cozy reading nook by a window",
  tools: [{ type: "image_generation" }],
});
const next = await meta.responses.create({
  model: "muse-image-1.0",
  previous_response_id: first.id,
  input: "Same scene at night with a warm lamp",
  tools: [{ type: "image_generation" }],
});
```

## Errors

| Status | Meaning | What to do |
|---|---|---|
| 400 `content_policy_violation` | Blocked for safety | Show a friendly message and suggest rewording. Blocked images aren't billed |
| 400 | Bad option or unknown field | Fix the request |
| 415 | Wrong Content-Type | Use the SDK helpers |
| 503 | Temporary | Retry |

## Cost

$0.01 per image returned, so `n: 4` costs $0.04. A generation takes about 10 to 15 seconds, so show progress and allow 90 seconds in tests.

Wersje

W bazie nie ma innych skilli o nazwie meta-image.

Migawka bazy z 13.11.2026 · wersja paczki 4a8d5aacc2ea (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 96muse-image-and-wonder
    Generuje obrazy modelami Muse Image i Wonder, dobierając model i opis do zadania.
  • 100muse4ai
    Tworzy obrazy, krótkie wideo i odpowiedzi przez Meta Muse w aplikacji Muse4AI na Windowsie, z użyciem własnych kont Muse.
  • 100recipe-image
    Pomaga w pracy z Muse Image ponad jedno wywołanie: edycja zdjęcia osoby, łączenie obrazów referencyjnych i spójna seria grafik.
  • 100meta-voice
    Zamienia nagraną mowę na tekst przez Muse Voice Transcribe, model muse-voice-transcribe-1.0: plik WAV na wejściu, jeden blok tekstu na wyjściu.
  • 90collaborate-with-muse-spark
    Pomaga pracować z modelami Meta Muse jako wykonawcą, dobierając model, przygotowując zadanie i sprawdzając wynik.
  • 96muse-code-agent
    Zleca pracę nad kodem agentowi Muse Code i nadzoruje jego wynik.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.