搜索

PythonReactSEOPDF
OpenClaw

moark-image-gen

Generate high-quality images from text descriptions.

fchange0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fchange/moark-image-gen

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Image Generator

This skill allows users to generate high-quality images based on text descriptions using an external image generation API(Gitee AI).

Usage

Use the bundled script to generate images.

uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --size 1024x1024 --negative-prompt "elements to avoid" --api-key YOUR_API_KEY

Options

Sizes:

  • 256x256 - Small square format
  • 512x512 - Square format
  • 1024x1024(default) - Square format
  • 1024x576 - 16:9 landscape
  • 576x1024 - 9:16 portrait
  • 1024x768 - 4:3 format
  • 768x1024 - 3:4 portrait
  • 1024x640 - 16:10 landscape
  • 640x1024 - 10:16 portrait

Additional flags:

  • --negative-prompt - Specify what elements users want to avoid in the generated image(default: "低分辨率,低画质,肢体畸形,手指畸形,画面过饱和,蜡像感,人脸无细节,过度光滑,画面具有AI感。构图混乱。文字模糊,扭曲。").
  • --size - Specify the size of the generated image. Options include 256x256, 512x512, 1024x1024 (default), 1024x576, 576x1024, 1024x768, 768x1024, 1024x640, 640x1024.

Workflow

  1. Execute the generate_image.py script with the parameters from the user.
  2. Parse the script output and find the line starting with IMAGE_URL:.
  3. Extract the image URL from that line (format: IMAGE_URL: https://...).
  4. Display the image to the user using markdown syntax: 🖼️[Generated Image](URL).

Notes

  • You should not only return the image URL but also describe the image based on the user's prompt.
  • The Lanaguage of your answer should be consistent with the user's question.
  • By default, return image URL directly without downloading.
  • If GITEEAI_API_KEY is none, the user must provide --api-key argument
  • The script prints IMAGE_URL: in the output - extract this URL and display it using markdown image syntax: 🖼️[Generated image](URL).
  • Always look for the line starting with IMAGE_URL: in the script output and render the image for the user.
  • You...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/fchange/moark-image-gen
Version
—
Commit
80913e845432a90a8aafde472ee9b1207938d82f
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Image Generator
This skill allows users to generate high-quality images based on text descriptions using an external image generation API(Gitee AI).

## Usage

Use the bundled script to generate images.

```bash
uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --size 1024x1024 --negative-prompt "elements to avoid" --api-key YOUR_API_KEY
```

## Options
**Sizes:**
- `256x256`  - Small square format
- `512x512`  - Square format
- `1024x1024`(default) - Square format
- `1024x576` - 16:9 landscape
- `576x1024` - 9:16 portrait
- `1024x768` - 4:3 format
- `768x1024` - 3:4 portrait
- `1024x640` - 16:10 landscape
- `640x1024` - 10:16 portrait

**Additional flags:**
- `--negative-prompt` - Specify what elements users want to avoid in the generated image(default: "低分辨率,低画质,肢体畸形,手指畸形,画面过饱和,蜡像感,人脸无细节,过度光滑,画面具有AI感。构图混乱。文字模糊,扭曲。").
- `--size` - Specify the size of the generated image. Options include `256x256`, `512x512`, `1024x1024` (default), `1024x576`, `576x1024`, `1024x768`, `768x1024`, `1024x640`, `640x1024`.

## Workflow

1. Execute the generate_image.py script with the parameters from the user.
2. Parse the script output and find the line starting with `IMAGE_URL:`.
3. Extract the image URL from that line (format: `IMAGE_URL: https://...`).
4. Display the image to the user using markdown syntax: `🖼️[Generated Image](URL)`.

## Notes
- You should not only return the image URL but also describe the image based on the user's prompt.
- The Lanaguage of your answer should be consistent with the user's question.
- By default, return image URL directly without downloading.
- If GITEEAI_API_KEY is none, the user must provide --api-key argument
- The script prints `IMAGE_URL:` in the output - extract this URL and display it using markdown image syntax: `🖼️[Generated image](URL)`.
- Always look for the line starting with `IMAGE_URL:` in the script output and render the image for the user.
- You...

相关技能

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...