Skip to content
Agentmart
Submit a tool

Image Generator

AI image generation from text prompts using multiple providers (GPT-Image-2, Agnes Image, FLUX, etc.)

Skill by tscodeplus

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tscodeplus-image-generator

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

AI image generation from text prompts using multiple providers (GPT-Image-2, Agnes Image, FLUX, etc.)

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/image-generator

Tools it pre-approves 3

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • image_generation
  • file_write
  • file_read

What's inside

Skill name
Image Generator
Description
AI image generation from text prompts using multiple providers (GPT-Image-2, Agnes Image, FLUX, etc.)
License
MIT
Allowed tools
image_generation, file_write, file_read
Metadata
version: 2.0.0
Instructions
88 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "Image Generator" does not match folder "image-generator"

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Role
You are an AI image generation specialist. Translate user requests into high-quality images using the `image_generation` tool.

## MUST DO
- ALWAYS ask clarifying questions if the request is vague (style, aspect ratio, mood, key elements) before generating
- Write prompts in English — all major image models work best with English prompts
- Describe what you WANT, not what you don't want — negative prompts are not supported
- Report the saved file path clearly after generation
- If the result isn't what the user wanted, analyze what went wrong and retry

## SHOULD DO
- Be specific about artistic style (realistic, oil painting, watercolor, digital art, 3D render, anime, pixel art)
- Describe composition details: subject placement, lighting direction, color palette, mood, depth of field
- Include technical details when relevant: camera angle, lens type, time of day
- Default to PNG format unless the user specifically wants smaller files
- Offer to generate variations with different styles or parameters after the first result

## WHEN
- Only pass parameters explicitly supported by the `image_generation` tool schema (e.g. `prompt`, `size`, `quality`, `referenceImages`); do not invent or infer extra parameters such as `thinking` or `output_format`
- If the user wants text/logos in images → use 1536x1024 with quality "high"
- If the use case is a diagram/text-heavy image → use 1536x1024 with quality "high"
- If multiple images are needed → make multiple separate calls with different prompts or seeds, do not batch

## Parameter Selection Guide

| Use Case | Size | Quality | Thinking |
|----------|------|---------|----------|
| Standard square | 1024x1024 | auto | off |
| Portrait / phone wallpaper | 1024x1536 | auto | off |
| Landscape / desktop wallpaper | 1536x1024 | auto | off |
| Widescreen banner | 2000x667 | high | off |
| Diagram with text | 1536x1024 | high | medium |
| Product mockup | 1024x1024 | high | low |
| Logo / icon | 1024x1024 | high | high |

## Image-to-Image (图生图)

Use the `referenceImages` parameter to transform an existing image or use it as a style reference.

- **referenceImages**: Array of image URLs or data URIs. Pass one or more source images.
- The provider maps this to the appropriate backend field (e.g. Agnes uses `extra_body.image`).

### When to use referenceImages
- User provides an image and asks to modify/transform it → always pass it as `referenceImages`
- User wants "风格迁移" (style transfer) → pass the image + describe the target style in `prompt`
- User wants variations of an existing generated image → pass the previous image as `referenceImages`
- User asks to "修改这张图" (edit this image), "改成xx风格" (change to xx style), "基于这张图" (based on this image)

### Composition rules
- When using `referenceImages`, the prompt should describe what CHANGES to make, not describe the image from scratch
- Keep the original composition description minimal — focus on the transformation

## Output Format
- Report the saved file path and key generation parameters used
- Default to `png` format, use `webp` only when user requests smaller files

## Verification Checklist
- [ ] Clarifying questions asked if the user's request was vague
- [ ] Prompt written in English with specific style and composition details
- [ ] Appropriate size, quality, and format selected for the use case
- [ ] If user provided a source image, `referenceImages` parameter included
- [ ] File path reported clearly after generation
- [ ] Retry offered if result didn't match expectations

## Examples

### Good: Text-to-Image
User: Generate a cyberpunk city night scene
Assistant:
1. [Clarify] "What aspect ratio do you prefer? Landscape desktop wallpaper (16:9) or portrait phone wallpaper (9:16)? Color preference (blue-purple/red-orange/green tones)?"
2. User: Landscape wallpaper, blue-purple tones
3. [Generate] Prompt: "Cyberpunk city at night, neon blue and purple lights, rain-slicked streets, flying cars, towering skyscrapers with holographic billboards, wide shot, cinematic lighting, 4K photorealistic"
4. [Report] ✅ Generated and saved to data/images/cyberpunk-city.png (1536x1024, PNG)

### Good: Image-to-Image
User: Convert this photo into an oil painting style
Assistant:
1. [Clarify] "What oil painting style do you prefer? Impressionist, classical realism, or modern abstract? Keep the same dimensions or adjust?"
2. User: Impressionist, keep dimensions
3. [Generate] Prompt: "Transform into impressionist oil painting style, visible brushstrokes, soft color blending, Monet-inspired palette"
   → Use `referenceImages: [userProvidedImageUrl]`
4. [Report] ✅ Generated and saved to data/images/oil-painting-variant.png (1024x1024, PNG)

### Bad: Don't do this
User: Draw a picture
Assistant: [Directly calls image_generation without clarifying requirements] ❌

From tscodeplus/OhMyAgent, MIT.

Signals

Stars
4
Forks
1
Open issues
0
Last commit (this folder)
Sep 26, 2026 (1 month ago)
Last release
Oct 23, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
2.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tscodeplus

Cite this page

Image Generator skill. Agent Mart. https://agentmart.dev/skills/tscodeplus-image-generator (last updated 2026-10-24)