Use the built-in ImageGen and ImageEdit tools. Provider authentication, model routing, output storage, and secrets are managed by the desktop host; never ask the user to put an API key in this skill or in the prompt.
ImageGen. Its schema intentionally has no image-path argument.ImageEdit.count only for multiple variations of the same prompt. For different concepts, make separate calls.ImageEdit requires referenced_image_paths: populate it with ordered, exact paths surfaced by [Image source: ...] in a user attachment or returned by an earlier ImageGen call. Never invent, search for, or substitute another filesystem path. The first image is the primary canvas unless the user says otherwise.edit_target. Repeat all identity, layout, text, and unchanged-region constraints on every turn so edits do not drift.Turn the request into a complete art-direction brief. Preserve all relevant user-specified detail.
For edits, start the prompt with each input's numbered role, then say change only X; keep Y unchanged. For a composite, specify which subject or visual property comes from each numbered image and preserve the requested identities. Do not rely on conversational pronouns such as "it" or "the previous one" inside the tool prompt.
Preserve the user's intent and wording for names or required on-image text. For diagrams, specify hierarchy, reading order, labels, and connections. For photorealistic work, describe lens, depth of field, lighting direction, and material detail when they matter.
aspect_ratio when the user describes a layout such as square, portrait, landscape, banner, or phone wallpaper.resolution: "2k" only when higher resolution is useful and supported.After a successful call, briefly summarize what was created or changed. The host card already displays and opens the saved images, so do not repeat, link, or embed the returned local paths in the final answer. Do not include base64 data in the conversation.