image-gen
Skill này làm gì
Skill này tạo hoặc thay đổi ảnh qua nhà cung cấp hình ảnh đã cấu hình của Ekko Studio. Dành cho người muốn có ảnh được tạo từ mô tả bằng chữ hoặc từ một ảnh tham chiếu.
Khi nào nên dùng
- ✓Khi bạn muốn tạo một ảnh mới từ mô tả bằng văn bản.
- ✓Khi bạn muốn vẽ lại hoặc thay đổi một ảnh tham chiếu thành bố cục mới.
- ✓Khi bạn muốn agent lưu ảnh đã tạo và hiển thị cho bạn.
Liên kết skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/image-gen/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo ảnh một bàn phím màu đen mờ trên bàn làm việc gọn gàng, theo khung vuông.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gọi một công cụ trợ giúp của Studio với prompt của bạn và ảnh tham chiếu tùy chọn. Studio chọn nhà cung cấp và xử lý khóa, rồi agent trả về đường dẫn file ảnh.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Studio image generation
Use this Skill when the user wants to generate a new image, transform a reference image, or edit selected visual content through Ekko Studio's configured image provider.
Always use the Studio media endpoint through the bundled helper. Do not call an upstream image API directly, request an API key in chat, or fall back to a different image-generation tool when Studio reports an error. The server owns provider selection and credentials.
Helper
skill_view returns this Skill's baseDirectory. Run:
node <baseDirectory>/scripts/studio-image-gen.mjs --mode text --profile <runtime-profile> --prompt <prompt> [options]
Use the exact profile shown under Runtime Context in the Ekko system prompt. The helper resolves the local Studio URL and server token without printing the token. It outputs JSON containing output_paths on success.
Before returning an image, verify the reported file exists and reference its absolute path with Markdown image syntax.
Modes
Text to image
Use when there is no reference image:
--mode text --prompt "A matte black mechanical keyboard on a clean desk" --size 1024x1024
Image to image
Use when the user wants a new composition or redraw based on a reference:
--mode image --image-path /absolute/path/reference.png --prompt "Create a refined technology brand poster"
Image edit
Use when parts of the source should be preserved:
--mode edit --image-path /absolute/path/source.png --prompt "Change the background to blue and keep the subject unchanged"
image and edit require either --image-path or --image-url. Use a local absolute path for an attached or workspace image. Do not transmit a private local image to the configured provider unless that is necessary for the user's requested edit.
Options
--profile <name>: required in Ekko runs; use the current runtime Profile.--provider <name>: optional configured custom provider. Omit it to use the Profile's image route and server fallback.--size <width>x<height>: defaults to1024x1024. Also acceptsautowhen supported.--quality <value>: optional provider quality setting.--n <count>: number of images; defaults to1.--model <name>: optional primary-model override.--image-model <name>: optional image-tool-model override for image-to-image mode.--output-path <absolute-path>: optional requested destination. When omitted, Studio writes under its media directory.--timeout-ms <milliseconds>: request timeout; defaults to 600000 and is capped at 1800000 by the helper.
Do not invent a provider or model override. Use them only when the user requested one or the current task supplies a known configured value.
Errors
missing_fun_codex_provider: the current Profile has no defaultfun-codexprovider or configured image route.missing_apikey_image_provider: the requested provider is absent from the current Profile.profile_not_found: the Ekko Profile does not map to an existing Studio/Hermes Profile used by the media endpoint.401,403, connection failure, timeout, or any provider error: report the Studio error and stop. Do not bypass Studio or silently retry against another service.
Câu hỏi thường gặp
Nó dùng dịch vụ ảnh nào?
Nó dùng nhà cung cấp hình ảnh mà hồ sơ Studio của bạn được thiết lập. Bản thân skill không chọn nhà cung cấp.
Nó có thể dùng công cụ ảnh khác nếu Studio lỗi không?
Không. Skill yêu cầu báo cáo lỗi của Studio thay vì chuyển sang một trình tạo ảnh khác.
Tôi có thể chọn kích thước ảnh không?
Có. Bạn có thể đặt kích thước như 1024 x 1024 pixel.
Chi tiết
Mô tả gốc của tác giả
Generate or edit images through Ekko Studio using the current Profile's configured image provider.
repo: EKKOLearnAI/ekko-studio
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11569
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
1password
12kGiúp agent của bạn dùng 1Password CLI để lấy bí mật cho lệnh và file cấu hình mà không hiển thị chúng trong chat, nhật ký hay file đã lưu.
apple-notes
12kGiúp agent của bạn tạo, tìm, đọc, sửa, di chuyển hoặc xóa Apple Notes trên Mac, bằng công cụ dòng lệnh memo.
apple-reminders
12kGiúp agent của bạn liệt kê, tạo, sửa, đánh dấu hoàn thành hoặc xóa Apple Reminders và danh sách nhắc việc trên Mac, bằng công cụ remindctl.
document-to-action-items
12kGiúp agent của bạn biến tài liệu, bản ghi cuộc họp hoặc các ghi chú thành bảng việc cần làm rõ ràng gồm người phụ trách, thời hạn và quyết định.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.