apikey-image-gen
하는 일
이 스킬은 프로필 설정 파일에 구성된 이미지 제공자를 통해 Ekko Studio에서 이미지를 만들거나 편집합니다. 채팅에 API 키를 입력하지 않고 이미지를 만들고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓텍스트 설명으로 이미지를 만들고 싶을 때.
- ✓기존 이미지를 편집하거나 다시 그리고 싶을 때.
- ✓직접 설정한 이미지 제공자를 에이전트가 사용하기를 원할 때.
스킬 링크
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/apikey-image-gen/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“설정한 이미지 제공자를 사용해서 제 커피숍 로고 스케치를 간단히 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 요청을 Studio의 미디어 엔드포인트로 보냅니다. 이 엔드포인트는 프로필 설정에서 이미지 제공자를 읽고 키를 처리하며, 에이전트는 저장된 이미지 파일의 경로를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Studio Image Generation
Use this skill when the user wants to generate an image or edit an existing image.
Always call Ekko Studio's media endpoint. Do not call an upstream image API directly, and do not ask the user for an API key. The server reads the selected/requested profile's config.yaml and uses a configured custom provider. By default it uses the provider named fun-codex, but callers may request another configured provider by sending provider, provider_name, or custom_provider.
This skill is separate from Hermes Agent's native image_generate tool. The
native tool reads image_gen from config.yaml; this Studio-managed endpoint
reads the auxiliary.image_generation and auxiliary.image_edit routes below.
Changing one does not change the other.
Do not use any built-in image generation tool as a fallback. If the Hermes Web UI endpoint returns 401, 403, connection failure, or any other error, stop and report the Hermes Web UI error to the user.
custom_providers:
- name: fun-codex
base_url: https://api.apikey.fan/v1
api_key: ...
model: gpt-5.5
api_mode: codex_responses
Example with another configured provider:
custom_providers:
- name: agnes
base_url: https://agnes.example/v1
api_key_env: AGNES_API_KEY
model: agnes-image-2.1-flash
auxiliary:
image_generation:
provider: agnes
model: gpt-image-2
timeout: 600
image_edit:
provider: agnes
model: gpt-5.4-mini
timeout: 600
image_generation supplies the route for text-to-image and multipart image
edits. image_edit supplies the route and primary model for image-to-image
through the Responses API. If the active route has no provider, the
server falls back to the other image route and then to fun-codex.
Endpoint:
POST <Hermes Web UI base URL>/api/studio/media/apikey-image-generate
Resolve the Hermes Web UI base URL in this order:
HERMES_WEB_UI_URLenvironment variable, if set.http://127.0.0.1:${PORT}, ifPORTis set.http://127.0.0.1:8648for the Web UI single-server default.
Common local ports:
- Development API backend:
http://127.0.0.1:8647. Use this withnpm run dev; do not target the Vite frontend port. - Web UI single-server default:
http://127.0.0.1:8648. - Desktop app default:
http://127.0.0.1:8748. - Custom port: set
HERMES_WEB_UI_URLto the full base URL, or setPORTto usehttp://127.0.0.1:${PORT}.
When Hermes Web UI is running from Docker Compose, the default external URL is http://127.0.0.1:6060.
Authentication:
Send the Hermes Web UI server bearer token. This token is accepted only by Hermes Web UI media generation endpoints for agent skills; it is not a general Web UI login token.
Resolve the token in this order:
AUTH_TOKENenvironment variable, if set.${HERMES_WEB_UI_HOME}/.token, ifHERMES_WEB_UI_HOMEis set.${HERMES_WEBUI_STATE_DIR}/.token, ifHERMES_WEBUI_STATE_DIRis set.~/.hermes-web-ui/.token.
Profile selection:
Use the current Hermes profile from the run instructions by sending X-Hermes-Profile.
If the run instructions include [Current Hermes profile: <name>], include:
-H "X-Hermes-Profile: <name>"
Replace <name> with the exact profile name from the run instructions. Never send a placeholder value such as <name> or <current-hermes-profile>.
If no current profile is provided, omit the header and let the server fall back to the current Hermes active profile.
Modes
Text To Image
Use when there is no input image.
{
"mode": "text",
"prompt": "A high quality product image of a matte black mechanical keyboard on a clean desk",
"size": "1024x1024",
"output_path": "/absolute/path/to/output.png"
}
The server calls POST /v1/images/generations against the configured
auxiliary.image_generation provider, then falls back to fun-codex.
If provider, provider_name, or custom_provider is present, the server calls the requested provider's base URL instead.
Image To Image
Use when the user provides an existing image and wants the model to modify or redraw it.
{
"mode": "image",
"prompt": "Use this reference composition and generate a refined technology brand poster",
"image_path": "/absolute/path/to/reference.png",
"size": "1024x1024",
"output_path": "/absolute/path/to/output.png"
}
The server calls POST /v1/responses against the configured
auxiliary.image_edit provid
자주 묻는 질문
API 키를 붙여 넣어야 하나요?
아닙니다. 서버가 프로필 설정에서 키를 읽으며, 에이전트는 키를 요구하지 않습니다.
내장 이미지 도구로 대체할 수 있나요?
아닙니다. Studio가 오류를 보고하면 에이전트는 다른 생성기를 쓰지 않고 그 오류를 알립니다.
기본이 아닌 제공자를 쓸 수 있나요?
네. 설정된 다른 제공자를 이름으로 요청할 수 있습니다.
상세 정보
작성자의 원본 설명
Generate or edit images through Ekko Studio using the selected/requested profile's configured Studio image provider from config.yaml.
repo: EKKOLearnAI/ekko-studio
인기도
- GitHub 스타
- 12k
- 순위
- #11582
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
1password
12k에이전트가 1Password CLI로 명령과 설정 파일에 필요한 비밀 값을 가져오되, 채팅, 로그, 저장 파일에는 보이지 않게 하도록 돕습니다.
apple-notes
12k에이전트가 memo 명령줄 도구를 사용해 Mac에서 Apple 메모를 만들고, 검색하고, 읽고, 편집하고, 옮기거나 삭제하도록 돕습니다.
apple-reminders
12k에이전트가 remindctl 도구를 사용해 Mac의 Apple 미리 알림과 미리 알림 목록을 보고, 만들고, 수정하고, 완료하거나 삭제하도록 돕습니다.
document-to-action-items
12k에이전트가 문서, 회의 녹취록 또는 메모 묶음을 작업, 담당자, 마감일, 결정 사항이 정리된 명확한 표로 바꾸도록 돕습니다.