imagegen
하는 일
이 스킬은 일러스트, 사진, 텍스처, 목업 같은 래스터 이미지를 만들거나 바꿉니다. 코드나 벡터 그림이 아니라 그림 파일이 필요한 사람을 위한 것입니다.
사용하는 경우
- ✓프로젝트에 쓸 새 일러스트, 사진 느낌의 이미지, 텍스처가 필요할 때.
- ✓참고 이미지를 바탕으로 기존 이미지를 바꾸거나 변형을 만들고 싶을 때.
- ✓컷아웃을 위해 투명 배경 이미지가 필요할 때.
스킬 링크
https://github.com/openai/skills/blob/main/skills/.system/imagegen/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“웹사이트 머리글에 쓸 커피잔의 평면 일러스트를 투명 배경으로 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 기본적으로 내장 이미지 생성기를 사용해 그림을 만들거나 편집하며, 다른 위치를 고르지 않으면 결과는 Codex 홈 폴더에 저장됩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Image Generation Skill
Generates or edits images for the current project (for example website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, or infographics).
Top-level modes and rules
This skill has exactly two top-level modes:
- Default built-in tool mode (preferred): built-in
image_gentool for normal image generation and editing. Does not requireOPENAI_API_KEY. - Fallback CLI mode (explicit-only):
scripts/image_gen.pyCLI. Use only when the user explicitly asks for the CLI path. RequiresOPENAI_API_KEY.
Within the explicit CLI fallback only, the CLI exposes three subcommands:
generateeditgenerate-batch
Rules:
- Use the built-in
image_gentool by default for all normal image generation and editing requests. - Never switch to CLI fallback automatically.
- If the built-in tool fails or is unavailable, tell the user the CLI fallback exists and that it requires
OPENAI_API_KEY. Proceed only if the user explicitly asks for that fallback. - If the user explicitly asks for CLI mode, use the bundled
scripts/image_gen.pyworkflow. Do not create one-off SDK runners. - Never modify
scripts/image_gen.py. If something is missing, ask the user before doing anything else.
Built-in save-path policy:
- In built-in tool mode, Codex saves generated images under
$CODEX_HOME/*by default. - Do not describe or rely on OS temp as the default built-in destination.
- Do not describe or rely on a destination-path argument (if any) on the built-in
image_gentool. If a specific location is needed, generate first and then move or copy the selected output from$CODEX_HOME/generated_images/.... - Save-path precedence in built-in mode:
- If the user names a destination, move or copy the selected output there.
- If the image is meant for the current project, move or copy the final selected image into the workspace before finishing.
- If the image is only for preview or brainstorming, render it inline; the underlying file can remain at the default
$CODEX_HOME/*path.
- Never leave a project-referenced asset only at the default
$CODEX_HOME/*path. - Do not overwrite an existing asset unless the user explicitly asked for replacement; otherwise create a sibling versioned filename such as
hero-v2.pngoritem-icon-edited.png.
Shared prompt guidance for both modes lives in references/prompting.md and references/sample-prompts.md.
Fallback-only docs/resources for CLI mode:
references/cli.mdreferences/image-api.mdreferences/codex-network.mdscripts/image_gen.py
When to use
- Generate a new image (concept art, product shot, cover, website hero)
- Generate a new image using one or more reference images for style, composition, or mood
- Edit an existing image (inpainting, lighting or weather transformations, background replacement, object removal, compositing, transparent background)
- Produce many assets or variants for one task
When not to use
- Extending or matching an existing SVG/vector icon set, logo system, or illustration library inside the repo
- Creating simple shapes, diagrams, wireframes, or icons that are better produced directly in SVG, HTML/CSS, or canvas
- Making a small project-local asset edit when the source file already exists in an editable native format
- Any task where the user clearly wants deterministic code-native output instead of a generated bitmap
Decision tree
Think about two separate questions:
- Intent: is this a new image or an edit of an existing image?
- Execution strategy: is this one asset or many assets/variants?
Intent:
- If the user wants to modify an existing image while preserving parts of it, treat the request as edit.
- If the user provides images only as references for style, composition, mood, or subject guidance, treat the request as generate.
- If the user provides no images, treat the request as generate.
Built-in edit semantics:
- Built-in edit mode is for images already visible in the conversation context, such as attached images or images generated earlier in the thread.
- If the user wants to edit a local image file with the built-in tool, first load it with built-in
view_imagetool so the image is visible in the conversation context, then proceed with the built-in edit flow. - Do not promise arbitrary filesystem-path editing through the built-in tool.
- If a local file still needs direct file-path control, masks, or oth
자주 묻는 질문
API 키가 필요한가요?
내장 도구에는 필요 없습니다. 별도의 명령줄 대체 수단은 OPENAI_API_KEY가 필요하며, 요청할 때만 실행됩니다.
이미지는 어디에 저장되나요?
기본적으로 Codex 홈 폴더에 저장됩니다.
벡터 그래픽이나 코드도 만들 수 있나요?
아닙니다. 이 스킬은 비트맵 이미지용이며, 코드나 벡터 작업은 다른 도구의 몫입니다.
상세 정보
작성자의 원본 설명
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.
repo: openai/skills
인기도
- GitHub 스타
- 28k
- 순위
- #9863
- 라이선스
- —
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
aspnet-core
28k에이전트가 적절한 앱 유형을 고르고 .NET의 최신 Microsoft 지침을 따라 ASP.NET Core 웹 앱을 만들거나 검토하거나 업그레이드하도록 돕습니다.
chatgpt-apps
28kMCP 서버와 위젯 UI를 결합한 ChatGPT 앱을 만들도록 돕습니다. 도구 설계, UI 리소스, 메타데이터, 로컬 설정을 다룹니다.
cli-creator
28kAPI 문서, 명세, 기존 스크립트를 어느 폴더에서나 실행되고 안정적인 JSON을 반환하는 재사용 가능한 명령줄 도구로 바꾸도록 돕습니다.
define-goal
28k막연한 의도를 성공 기준, 범위, 중단 조건이 있는 명확하고 측정 가능한 목표로 바꾸도록 에이전트를 돕습니다. 작업을 시작하기 전에 정리합니다.