Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Image Gen?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/deibler-image-gen)
---
name: image-gen
description: Generate an image and send it as an iMessage attachment.
when: one quick image to generate and send as an attachment
---
# image-gen
## Flow
1. `generate_image(prompt, model?, aspect_ratio?, image_size?)` → returns an absolute file path.
2. `send_attachment(file_path, caption?)` → posts the image into the current chat.
Your final text reply is auto-sent. If you only want to send the image with no caption, do the attachment send and then reply with something short like "Here you go."
## Providers
- `openai` (default) — `gpt-image-1`, good at realistic and illustration.
- `gemini` — `imagen-3.0-generate-002`, strong on photographic detail.
Pick based on the user's vibe. If they say "photo" or "realistic," Gemini often shines. For illustrations, logos, diagrams, OpenAI is a safe default.
## Example
```
path = generate_image(prompt="a cozy cabin at dusk, warm window light, pine forest")
send_attachment(file_path=path, caption="cabin mood 🔥")
```