AI image generator skill (image, image generation). Multi-model image generator for Yollomi to generate AI images via one unified API endpoint. Requires YOLL...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install yollomi或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install yollomi⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/yollomi/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: yollomi-ai-api description: AI image generator skill (image, image generation). Multi-model image generator for Yollomi to generate AI images via one unified API endpoint. Requires YOLLOMI_API_KEY. metadata: {"openclaw":{"requires":{"env":["YOLLOMI_API_KEY"]}}} ---
Generates images and videos via the Yollomi API. All models use a single unified endpoint with different modelId parameters.
YOLLOMI_API_KEY (environment variable).YOLLOMI_BASE_URL to override API host (default: https://yollomi.com).POST /api/v1/generate
Headers: Authorization: Bearer ${YOLLOMI_API_KEY} or X-API-Key: ${YOLLOMI_API_KEY} Content-Type: application/json
Body:
type (required): "image" or "video"modelId (required): Model identifierResponse (image): { images: string[], remainingCredits: number } Response (video): { video: string, remainingCredits: number }
GET /api/v1/models
Returns all available image and video modelIds.
Generate image (Flux):
curl -X POST "${YOLLOMI_BASE_URL:-https://yollomi.com}/api/v1/generate" \
-H "Authorization: Bearer $YOLLOMI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"image","modelId":"flux","prompt":"A cat in a hat","aspectRatio":"1:1"}'
Remove background:
curl -X POST "${YOLLOMI_BASE_URL:-https://yollomi.com}/api/v1/generate" \
-H "Authorization: Bearer $YOLLOMI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"image","modelId":"remove-bg","imageUrl":"https://example.com/photo.jpg"}'
Generate video:
curl -X POST "${YOLLOMI_BASE_URL:-https://yollomi.com}/api/v1/generate" \
-H "Authorization: Bearer $YOLLOMI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"video","modelId":"kling-2-1","prompt":"A cat walking in the rain"}'
Supported aspect ratios for text-to-image models:
| ratio | description | |------|-------------| | 1:1 | Square (default) | | 16:9 | Landscape | | 9:16 | Portrait |
| modelId | Credits | Required | aspectRatio | |---------|---------|----------|-------------| | flux | 4/img | prompt | 1:1, 16:9, 9:16 | | flux-schnell | 2/img | prompt | same as above | | flux-2-pro | 15/img | prompt | same as above | | remove-bg | 0 | imageUrl | - | | nano-banana | 4 | prompt | 1:1, 16:9, 9:16 | | nano-banana-pro | 15 | prompt | same as above | | flux-kontext-pro | 4 | prompt | same as above | | z-image-turbo | 1 | prompt | width, height | | imagen-4-ultra | 6 | prompt | same as above | | image-4-fast | 3 | prompt | same as above | | ideogram-v3-turbo | 3 | prompt | same as above | | stable-diffusion-3-5-large | 7/img | prompt | same as above | | seedream-4-5 | 4 | prompt | same as above | | object-remover | 3 | image, mask | - | | face-swap | 3 | swapImage, inputImage | - | | image-upscaler | 1 | imageUrl, scale | - | | photo-restoration | 4 | imageUrl | - | | qwen-image-edit | 3 | image, prompt | - | | qwen-image-edit-plus | 3 | image, prompt | - | | virtual-try-on | 3 | clothImage, personImage | - | | ai-background-generator | 5 | imageUrl | prompt |
| modelId | Credits | |---------|---------| | openai-sora-2 | ~50+ | | google-veo-3 | 10 | | google-veo-3-fast | 9 | | google-veo-3-1 | 10 | | google-veo-3-1-fast | 9 | | kling-2-1 | 9 | | kling-v2-6-motion-control | 7/sec | | minimax-hailuo-2-3 | 9 | | minimax-hailuo-2-3-fast | 9 | | bytedance-seedance-1-pro-fast | 8 | | runway-gen4-turbo | varies | | pixverse-5 | 9 | | wan-2-5-i2v | 9 | | wan-2-5-t2v | 9 | | wan-2-6-i2v | 29 | | wan-2-6-t2v | 29 |
| Tool | Description | |------|-------------| | yollomi.generate | Generate image or video. Params: type, modelId, prompt, imageUrl, aspectRatio, numOutputs, inputs (video) | | yollomi.listModels | List all available image and video models with credit costs. No auth required. |
yollomi.listModels() or GET /api/v1/modelsyollomi.generate({ type: "image", modelId, prompt, ... })yollomi.generate({ type: "video", modelId, prompt, inputs: { ... } })Full model list and params: models-reference.md or GET /api/v1/models
安装 Yollomi AI Image & Video Generator 后,可以对 AI 说这些话来触发它
Help me get started with Yollomi AI Image & Video Generator
Explains what Yollomi AI Image & Video Generator does, walks through the setup, and runs a quick demo based on your current project
Use Yollomi AI Image & Video Generator to aI image generator skill (image, image generation)
Invokes Yollomi AI Image & Video Generator with the right parameters and returns the result directly in the conversation
What can I do with Yollomi AI Image & Video Generator in my design & creative workflow?
Lists the top use cases for Yollomi AI Image & Video Generator, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/yollomi/ 目录(个人级,所有项目可用),或 .claude/skills/yollomi/(项目级)。重启 AI 客户端后,用 /yollomi 主动调用,或让 AI 根据上下文自动发现并使用。
Yollomi AI Image & Video Generator 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Yollomi AI Image & Video Generator 可免费安装使用。请查阅仓库了解许可证信息。
AI image generator skill (image, image generation). Multi-model image generator for Yollomi to generate AI images via one unified API endpoint. Requires YOLL...
Automate my design & creative tasks using Yollomi AI Image & Video Generator
Identifies repetitive steps in your workflow and sets up Yollomi AI Image & Video Generator to handle them automatically
Yollomi AI Image & Video Generator 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。