Skip to content
All tools

image_playground_generate

Diagnostics & system · macOS

Effect: write (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Generates an image on the Mac from a text prompt with Apple's Image Playground, using Apple's on-device model (Apple Intelligence / Core ML; no API key). Saves a PNG and reveals it in Finder so the user can see it and drag it anywhere. Styles are Apple's built-in set (animation, illustration, sketch) — good for quick stylized art, NOT photorealistic. Requires macOS 15.4+ with Apple Intelligence enabled. On macOS 15.x/26 generation is fully automatic; on macOS 27+ a small Image Playground panel opens and the user clicks the image once to save it (Apple's public API on that version). WHERE TO SAVE: if the user names a place (e.g. "my Desktop", "the project folder"), pass that as output_path; otherwise omit it and it lands in ~/Pictures/Image Playground/ with a name from the prompt, then opens in Finder.

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — macOS
{
  "properties": {
    "output_path": {
      "description": "Where to save the PNG — an absolute path or ~ path (a file like ~/Desktop/art.png, or a folder to save into). Omit to use ~/Pictures/Image Playground/<prompt>-<timestamp>.png. Missing parent folders are created.",
      "type": "string"
    },
    "prompt": {
      "description": "Text description of the image to generate.",
      "type": "string"
    },
    "reveal_in_finder": {
      "description": "Open Finder with the new image selected so the user can see/move it. Default true; set false when generating many in a row.",
      "type": "boolean"
    },
    "style": {
      "description": "Visual style. Default 'animation'. Falls back to an available style if the requested one isn't supported on this device.",
      "enum": [
        "animation",
        "illustration",
        "sketch"
      ],
      "type": "string"
    }
  },
  "required": [
    "prompt"
  ],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "prompt": "A watercolor hummingbird above a field of flowers",
  "style": "illustration"
}