skills$openclaw/yollomi-ai-api
anichikage7.9k

by anichikage

yollomi-ai-api – OpenClaw Skill

yollomi-ai-api is an OpenClaw Skills integration for coding workflows. Generate AI images and videos using Yollomi API. Use when the user wants to create images from text, remove image backgrounds, or generate AI videos. Requires YOLLOMI_API_KEY and optionally YOLLOMI_BASE_URL.

7.9k stars3.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameyollomi-ai-api
descriptionGenerate AI images and videos using Yollomi API. Use when the user wants to create images from text, remove image backgrounds, or generate AI videos. Requires YOLLOMI_API_KEY and optionally YOLLOMI_BASE_URL. OpenClaw Skills integration.
owneranichikage
repositoryanichikage/yollomi
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @anichikage/yollomi
last updatedFeb 7, 2026

Maintainer

anichikage

anichikage

Maintains yollomi-ai-api in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
289 B
SKILL.md
4.1 KB
SKILL.md

name: yollomi-ai-api description: Generate AI images and videos using Yollomi API. Use when the user wants to create images from text, remove image backgrounds, or generate AI videos. Requires YOLLOMI_API_KEY and optionally YOLLOMI_BASE_URL.

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: User must provide YOLLOMI_API_KEY (env var, .env file, or Cursor rule).
  2. Base URL (optional): YOLLOMI_BASE_URL defaults to 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):

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"}'

Aspect Ratio (aspectRatio)

文生图类模型支持的比例参数:

比例说明
1:1正方形(默认)
16:9横屏
9:16竖屏

Image ModelIds

modelIdCreditsRequiredaspectRatio
flux4/imgprompt1:1, 16:9, 9:16
flux-schnell2/imgprompt同上
flux-2-pro15/imgprompt同上
remove-bg0imageUrl-
nano-banana4prompt1:1, 16:9, 9:16
nano-banana-pro15prompt同上
flux-kontext-pro4prompt同上
z-image-turbo1promptwidth, height
imagen-4-ultra6prompt同上
image-4-fast3prompt同上
ideogram-v3-turbo3prompt同上
stable-diffusion-3-5-large7/imgprompt同上
seedream-4-54prompt同上
object-remover3image, mask-
face-swap3swapImage, inputImage-
image-upscaler1imageUrl, scale-
photo-restoration4imageUrl-
qwen-image-edit3image, prompt-
qwen-image-edit-plus3image, prompt-
virtual-try-on3clothImage, personImage-
ai-background-generator5imageUrlprompt

Video ModelIds

modelIdCredits
openai-sora-2~50+
google-veo-310
google-veo-3-fast9
google-veo-3-110
google-veo-3-210
google-veo-3-1-fast9
kling-2-19
kling-v2-6-motion-control7/sec
minimax-hailuo-2-39
minimax-hailuo-2-3-fast9
bytedance-seedance-1-pro-fast8
runway-gen4-turbovaries
pixverse-59
wan-2-5-i2v9
wan-2-5-t2v9
wan-2-6-i2v29
wan-2-6-t2v29

Workflow

  1. Generate image → POST /api/v1/generate with type: "image", modelId, and model params
  2. Generate video → POST /api/v1/generate with type: "video", modelId, prompt, optional inputs
  3. List models → GET /api/v1/models
  4. 401/402 → Check API key and credits

Reference

Full model list and params: models-reference.md or GET /api/v1/models

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install yollomi-ai-api?

Run openclaw add @anichikage/yollomi in your terminal. This installs yollomi-ai-api into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/anichikage/yollomi. Review commits and README documentation before installing.