10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
上传本地图片到 catbox.moe 免费图床,获取公开访问的 URL 链接。当用户需要将本地图片转换为 URL、上传图片到图床、获取图片链接、提到 catbox、或进行图像编辑(如改背景、换脸等)但提供的是本地图片路径时使用此 skill。
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install hexiaochun/upload-to-catbox打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
将本地图片上传到 catbox.moe 免费图床,获取永久 URL 链接。
当以下情况发生时,必须自动触发此 skill:
<image_files> 标签,里面有本地图片路径本地图片路径通常具有以下特征:
/ 开头的绝对路径.cursor/projects/
/Users/ 或 /home/
./ 或 ../ 开头的相对路径.png、.jpg、.jpeg、.gif、.webp
curl -F'reqtype=fileupload' -F'fileToUpload=@/path/to/image.png' https://catbox.moe/user/api.php
返回值直接是图片 URL,例如:https://files.catbox.moe/abc123.png
当用户请求图像编辑但提供本地图片时:
示例:用户说「把这张图片的背景改成室内」,并附带了本地图片路径
# 步骤 1:上传图片
curl -F'reqtype=fileupload' -F'fileToUpload=@/Users/xxx/.cursor/projects/xxx/assets/image.png' https://catbox.moe/user/api.php
# 返回:https://files.catbox.moe/abc123.png
# 步骤 2:使用返回的 URL 调用图像编辑模型
# (调用 Seedream 等模型的 submit_task)
用户请求:帮我上传 /tmp/screenshot.png 到图床
执行:
curl -F'reqtype=fileupload' -F'fileToUpload=@/tmp/screenshot.png' https://catbox.moe/user/api.php
返回:
https://files.catbox.moe/x7ppwg.png
用户请求:把这个图片的背景改...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Catbox 图床上传 将本地图片上传到 catbox.moe 免费图床,获取永久 URL 链接。 ## 自动触发条件 当以下情况发生时,**必须自动触发此 skill**: 1. **图像编辑任务 + 本地图片**:用户要求编辑图片(换背景、改风格、修图等),但提供的是本地图片路径 2. **AI 模型需要图片 URL**:用户要使用需要图片 URL 的 AI 模型(如 Seedream、Flux、Sora 等),但输入是本地文件 3. **用户附加了图片**:对话中包含 `<image_files>` 标签,里面有本地图片路径 ### 识别本地图片路径 本地图片路径通常具有以下特征: - 以 `/` 开头的绝对路径 - 包含 `.cursor/projects/` - 包含 `/Users/` 或 `/home/` - 以 `./` 或 `../` 开头的相对路径 - 文件扩展名为 `.png`、`.jpg`、`.jpeg`、`.gif`、`.webp` ## 特点 - 免费、无需登录 - 支持直接二进制上传(无需 base64) - 永久存储(不会自动删除) - 支持格式:png, jpg, gif, webp 等 ## 上传命令 ```bash curl -F'reqtype=fileupload' -F'fileToUpload=@/path/to/image.png' https://catbox.moe/user/api.php ``` 返回值直接是图片 URL,例如:`https://files.catbox.moe/abc123.png` ## 使用流程 ### 场景 1:直接上传请求 1. 获取用户提供的本地图片路径 2. 执行 curl 命令上传 3. 返回生成的 URL 给用户 ### 场景 2:图像编辑任务(重要) 当用户请求图像编辑但提供本地图片时: 1. **先上传图片**:执行 curl 命令上传本地图片到 catbox 2. **获取 URL**:从返回结果获取图片 URL 3. **继续原任务**:使用获取的 URL 调用图像编辑模型(如 Seedream) **示例**:用户说「把这张图片的背景改成室内」,并附带了本地图片路径 ```bash # 步骤 1:上传图片 curl -F'reqtype=fileupload' -F'fileToUpload=@/Users/xxx/.cursor/projects/xxx/assets/image.png' https://catbox.moe/user/api.php # 返回:https://files.catbox.moe/abc123.png # 步骤 2:使用返回的 URL 调用图像编辑模型 # (调用 Seedream 等模型的 submit_task) ``` ## 示例 ### 示例 1:直接上传 **用户请求**:帮我上传 `/tmp/screenshot.png` 到图床 **执行**: ```bash curl -F'reqtype=fileupload' -F'fileToUpload=@/tmp/screenshot.png' https://catbox.moe/user/api.php ``` **返回**: ``` https://files.catbox.moe/x7ppwg.png ``` ### 示例 2:图像编辑 + 本地图片 **用户请求**:把这个图片的背景改...
generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.