vellum-ai/vellum-assistant/assistant/src/config/bundled-skills/image-studio/SKILL.md
image-studio
Create images from a text description, or edit photos and graphics the user provides (remove backgrounds or watermarks, retouch, restyle, in-paint). Can produce multiple variants when the user wants options to choose from.
- Source repository stars
- 1,127
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-08-26
- Source checked
- 2026-08-26
Decision brief
What it does: where it fits
Create images from a text description, or edit photos and graphics the user provides (remove backgrounds or watermarks, retouch, restyle, in-paint). Can produce multiple variants when the user wants options to choose from.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/vellum-ai/vellum-assistant --skill "assistant/src/config/bundled-skills/image-studio"Inspect the Agent Skill "image-studio" from https://github.com/vellum-ai/vellum-assistant/blob/7fe3adee5f479efd811063ba88633bb560e6b285/assistant/src/config/bundled-skills/image-studio/SKILL.md at commit 7fe3adee5f479efd811063ba88633bb560e6b285. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Modes
generate (default): Create a new image from a text prompt.
generate (default): Create a new image from a text prompt.edit: Modify an existing image. Requires one or more source images via sourcepaths.- generate (default): Create a new image from a text prompt. - edit: Modify an existing image. Requires one or more source images via sourcepaths. - 02
Models
Do not pass the model parameter unless you need a specific tier. Omitting it uses the configured default, which is correct for most requests.
fast: quickest, good quality (default tier)quality: higher fidelity, sloweropenai: OpenAI's model; most permissive on photo edits - 03
Example calls
Generate (no model parameter, default is correct):
Wrong: "sourcepaths": [{ "path": "img.jpeg" }] → schema validation errorRight: "sourcepaths": ["img.jpeg"]Generate (no model parameter, default is correct): - 04
Source images for edit mode
Paths resolve inside the workspace. Conversation attachments live under conversations//attachments/; prefer that path for images the user attached.
Paths resolve inside the workspace. Conversation attachments live under conversations//attachments/; prefer that path for images the user attached.Host paths (e.g. /Desktop/photo.jpg) only work if the file arrived as an attachment; the tool falls back to the stored workspace copy. If the user references a host file that was never attached, pull it into the workspa…- Paths resolve inside the workspace. Conversation attachments live under conversations//attachments/; prefer that path for images the user attached. - Host paths (e.g. /Desktop/photo.jpg) only work if the file arrived… - 05
Prompting
Generate: describe style, composition, lighting, and mood, not just the subject.
Generate: describe style, composition, lighting, and mood, not just the subject.Edit: name the change AND what must stay the same. Models re-render the whole image, so without preservation language ("keep subject, framing, and lighting identical; only change X") they drift on crop and color.Aspect ratio and size have no parameter today. State them in the prompt ("16:9 widescreen banner") and verify the output.
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 1,127 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- vellum-ai/vellum-assistant
- Skill path
- assistant/src/config/bundled-skills/image-studio/SKILL.md
- Commit
- 7fe3adee5f479efd811063ba88633bb560e6b285
- License
- MIT
- Collected
- 2026-08-26
- Default branch
- main
View the original SKILL.md
Use the media_generate_image tool via skill_execute to create or edit images.
Modes
- generate (default): Create a new image from a text prompt.
- edit: Modify an existing image. Requires one or more source images via
source_paths.
Models
Do not pass the model parameter unless you need a specific tier. Omitting it uses the configured default, which is correct for most requests.
When you do need to choose, use an alias, not a concrete model ID. Aliases always resolve to the current model for that tier:
fast: quickest, good quality (default tier)quality: higher fidelity, sloweropenai: OpenAI's model; most permissive on photo edits
Pass a concrete model ID only if the user names one explicitly. If the tool rejects an unknown model ID, the error lists the currently available models and aliases.
Example calls
Generate (no model parameter, default is correct):
{ "tool": "media_generate_image", "input": { "prompt": "A sunset over the ocean, golden hour, soft haze, 35mm photo style", "variants": 2 } }
Edit:
{ "tool": "media_generate_image", "input": { "prompt": "Remove the watermark text from the background. Keep the subject, framing, lighting, and colors exactly identical. Change nothing else.", "mode": "edit", "source_paths": ["conversations/<conv-id>/attachments/photo.jpeg"], "model": "openai" } }
source_paths is a flat array of file path strings. Do NOT pass objects:
- Wrong:
"source_paths": [{ "path": "img.jpeg" }]→ schema validation error - Right:
"source_paths": ["img.jpeg"]
Source images for edit mode
- Paths resolve inside the workspace. Conversation attachments live under
conversations/<conversation-id>/attachments/; prefer that path for images the user attached. - Host paths (e.g.
~/Desktop/photo.jpg) only work if the file arrived as an attachment; the tool falls back to the stored workspace copy. If the user references a host file that was never attached, pull it into the workspace first, then pass the workspace path.
Prompting
- Generate: describe style, composition, lighting, and mood, not just the subject.
- Edit: name the change AND what must stay the same. Models re-render the whole image, so without preservation language ("keep subject, framing, and lighting identical; only change X") they drift on crop and color.
- Aspect ratio and size have no parameter today. State them in the prompt ("16:9 widescreen banner") and verify the output.
- Use
variants(1 to 4) when the user wants options. In edit mode always usevariants: 1: edits run 60-90 seconds per variant, and two variants can exceed the tool execution timeout (timeouts.toolExecutionTimeoutSec, default 120s). If the user wants multiple edit options, make separate sequential calls.
Timing
Edits on large photos are slow (1 to 2 minutes). If the tool reports a timeout ("timed out after Ns"), the result is lost; do not wait for it to appear. Retry with variants: 1, or if it already was 1, fall back to the CLI which writes files to disk: assistant image-generation generate --prompt "..." --mode edit --source <path> --model openai --output-dir <dir>.
Output handling
Each generated image is saved into the workspace under media/generated/ and the tool result lists the saved paths. The images also come back as inline content blocks so you can judge the result before presenting it.
- Present an image to the user by embedding its saved path in your reply:
. The app renders it inline where your text refers to it, and chat channels (Slack, Telegram, WhatsApp) deliver it as a native image upload. - If you do not embed it, the image is still auto-attached to your reply as a file, so it is never lost. Prefer embedding: an attachment chip at the end of the message is a worse presentation than the image inline.
- To iterate on a result, pass its saved path via
source_pathswithmode: "edit".
Error handling
Two kinds of failure. Treat them differently:
- Configuration errors (missing API key, provider not set up): report the error to the user as-is. Do NOT change service configuration (managed vs your-own mode, default provider, or default model in Settings). Configuration changes happen only at the user's explicit request.
- Generation failures (any other error: "invalid", content policy, safety rejection, provider error). Do not diagnose the cause; switch providers. The error message names the model that failed:
- If the error names a
gemini-*model (or no model) → retry ONCE withmodel: "openai". - If the error names
gpt-image-2or anothergpt-*model → retry ONCE withmodel: "quality". - If the retry also fails → stop and report both errors to the user.
- If the error names a
Do NOT rephrase the prompt and retry on the same model, even if the error suggests checking the prompt. One provider switch, then stop.
Complete when
The tool has returned at least one image and your reply presents it to the user, preferably as an inline  embed of the saved path. An error report counts as complete only after the retry path in Error handling has been exhausted.
Frequently asked questions
What to verify before installation and use
What does the image-studio source document cover?
Create images from a text description, or edit photos and graphics the user provides (remove backgrounds or watermarks, retouch, restyle, in-paint). Can produce multiple variants when the user wants options to choose from.
How do I install image-studio?
The source record exposes this install command: npx skills add https://github.com/vellum-ai/vellum-assistant --skill "assistant/src/config/bundled-skills/image-studio". Inspect the command and pinned source before running it.
Alternatives