yollomi-ai-api

0
0
Source

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.

Install

mkdir -p .claude/skills/yollomi-ai-api && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8310" && unzip -o skill.zip -d .claude/skills/yollomi-ai-api && rm skill.zip

Installs to .claude/skills/yollomi-ai-api

About this skill

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):

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)

Supported aspect ratios for text-to-image models:

ratiodescription
1:1Square (default)
16:9Landscape
9:16Portrait

Image ModelIds

modelIdCreditsRequiredaspectRatio
flux4/imgprompt1:1, 16:9, 9:16
flux-schnell2/imgpromptsame as above
flux-2-pro15/imgpromptsame as above
remove-bg0imageUrl-
nano-banana4prompt1:1, 16:9, 9:16
nano-banana-pro15promptsame as above
flux-kontext-pro4promptsame as above
z-image-turbo1promptwidth, height
imagen-4-ultra6promptsame as above
image-4-fast3promptsame as above
ideogram-v3-turbo3promptsame as above
stable-diffusion-3-5-large7/imgpromptsame as above
seedream-4-54promptsame as above
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-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

OpenClaw Tools

ToolDescription
yollomi.generateGenerate image or video. Params: type, modelId, prompt, imageUrl, aspectRatio, numOutputs, inputs (video)
yollomi.listModelsList all available image and video models with credit costs. No auth required.

Workflow

  1. List modelsyollomi.listModels() or GET /api/v1/models
  2. Generate imageyollomi.generate({ type: "image", modelId, prompt, ... })
  3. Generate videoyollomi.generate({ type: "video", modelId, prompt, inputs: { ... } })
  4. 401/402 → Check API key and credits

Reference

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

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

9521,094

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

846846

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

571700

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

548492

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

673466

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

514280

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.