技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.1.0
统计:⭐ 5 · 2.1k · 0 current installs · 0 all-time installs
⭐ 5
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:anichikage/yollomi
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code, docs, and required environment variables are consistent with an API wrapper for a unified Yollomi image/video generation endpoint and do not request unrelated privileges or secrets.
目的
Name, description, SKILL.md examples, and code (index.ts) all implement calls to a unified Yollomi API endpoint and only require YOLLOMI_API_KEY (plus an optional YOLLOMI_BASE_URL). Nothing in the manifest or files asks for unrelated services or credentials.
说明范围
Runtime instructions and curl examples only call the Yollomi endpoints and reference YOLLOMI_API_KEY and optional YOLLOMI_BASE_URL. The SKILL.md does not instruct reading unrelated files, secret stores, or transmitting data to unexpected endpoints.
安装机制
There is no install spec (lowest-risk), but the package includes TypeScript source (index.ts) and a shell test script. No remote downloads or extract steps are present. Note: runtime environment must support executing the provided code (TypeScript) — build/run details are not included but this is an operational, not a security, concern.
证书
Only YOLLOMI_API_KEY is required (and optional YOLLOMI_BASE_URL). No other SECRET/TOKEN/PASSWORD env vars are requested. The requested credential is proportional to an API client for image/video generation.
持久
The skill is not always-enabled, is user-invocable, and does not request elevated or persistent platform privileges or modification of other skills. Autonomous invocation is allowed (platform default) and is not combined with other red flags.
index.ts:19
Environment variable access combined with network send.
综合结论
This skill appears coherent: it only needs a YOLLOMI_API_KEY and calls the yollomi.com API. Before installing, confirm you trust the Yollomi service and that the API key you provide is scoped appropriately (use a key with limited permissions/credits if possible). Review your billing/credit implications for the listed models. Note there is no build/install script included — make sure your runtime can load/execute the provided TypeScript or that…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Yollomi AI Image & Video Generator」。简介:AI image generator skill (image, image generation). Multi-model image generator…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/anichikage/yollomi/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
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"]}}}
---
# Yollomi AI API Skill
Generates images and videos via the Yollomi API. All models use a **single unified endpoint** with different `modelId` parameters.
## Setup
1. **API Key**: Set `YOLLOMI_API_KEY` (environment variable).
2. **Base URL** (optional): Set `YOLLOMI_BASE_URL` to override API host (default: `https://yollomi.com`).
## Unified Endpoint
```
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 identifier
- Additional params depend on model (prompt, imageUrl, etc.)
**Response (image)**: `{ images: string[], remainingCredits: number }`
**Response (video)**: `{ video: string, remainingCredits: number }`
## List Models
```
GET /api/v1/models
```
Returns all available image and video modelIds.
## Common Examples
**Generate image (Flux)**:
```bash
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**:
```bash
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**:
```bash
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"}'
```
## Aspect Ratio (aspectRatio)
Supported aspect ratios for text-to-image models:
| ratio | description |
|------|-------------|
| 1:1 | Square (default) |
| 16:9 | Landscape |
| 9:16 | Portrait |
## Image ModelIds
| 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 |
## Video ModelIds
| 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 |
## OpenClaw Tools
| 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. |
## Workflow
1. **List models** → `yollomi.listModels()` or GET /api/v1/models
2. **Generate image** → `yollomi.generate({ type: "image", modelId, prompt, ... })`
3. **Generate video** → `yollomi.generate({ type: "video", modelId, prompt, inputs: { ... } })`
4. **401/402** → Check API key and credits
## Reference
Full model list and params: [models-reference.md](models-reference.md) or GET /api/v1/models