liblib-ai-gen
Generate images with Seedream4.5 and videos with Kling via LiblibAI API. Use when user asks to generate/create images, pictures, illustrations, or videos using LiblibAI, Seedream, or Kling models.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- liblib-ai-gen
- description
- Generate images with Seedream4.5 and videos with Kling via LiblibAI API. Use when user asks to generate/create images, pictures, illustrations, or videos using LiblibAI, Seedream, or Kling models.
03 SKILL.md 正文
LiblibAI Image & Video Generation
Generate images (Seedream4.5) and videos (Kling) via LiblibAI's API.
Prerequisites
Environment variables must be set:
LIB_ACCESS_KEY— API access keyLIB_SECRET_KEY— API secret key
Usage
Run the CLI script at scripts/liblib_client.py:
# Generate image
python3 scripts/liblib_client.py image "a cute cat wearing a hat" --width 2048 --height 2048
# Generate video from text
python3 scripts/liblib_client.py text2video "a rocket launching into space" --model kling-v2-6 --duration 5
# Generate video from image
python3 scripts/liblib_client.py img2video "the cat turns its head" --start-frame https://example.com/cat.jpg
# Check task status
python3 scripts/liblib_client.py status <generateUuid>
Image Generation (Seedream4.5)
- Endpoint:
POST /api/generate/seedreamV4 - Model:
doubao-seedream-4-5-251128 - Default size: 2048×2048. For 4.5, min total pixels = 3,686,400 (e.g. 2560×1440)
- Supports reference images (1-14), prompt expansion, and sequential image generation
- Options:
--width,--height,--count(1-15),--ref-images,--prompt-magic
Video Generation (Kling)
Text-to-Video
- Endpoint:
POST /api/generate/video/kling/text2video - Models:
kling-v2-6(latest, supports sound),kling-v2-1-master,kling-v2-5-turbo, etc. - Options:
--model,--aspect(16:9/9:16/1:1),--duration(5/10s),--mode(std/pro),--sound(on/off)
Image-to-Video
- Endpoint:
POST /api/generate/video/kling/img2video - Provide
--start-frameimage URL; optionally--end-frame(v1-6 only) - For kling-v2-6: uses
imagesarray instead of startFrame/endFrame
Async Pattern
All generation tasks are async:
- Submit task → get
generateUuid - Poll
POST /api/generate/statuswith{ "generateUuid": "..." } - Result contains
images[].imageUrlorvideos[].videoUrl
The script auto-polls by default. Use --no-poll to submit only.
Notes
- QPS limit: 1 request/second for task submission
- Max concurrent tasks: 5
- Image URLs in results expire after 7 days
- For kling-v2-5-turbo and kling-v2-6, mode must be "pro" (default)
- Sound generation only supported on kling-v2-6+
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.