yollomi-ai-api

Verified·Scanned 2/17/2026

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.

from clawhub.ai·vac467f3·4.1 KB·0 installs
Scanned from 1.0.0 at ac467f3 · Transparency log ↗
$ vett add clawhub.ai/anichikage/yollomi-ai-api

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