liblib-ai-gen
بواسطة xtaq
Coding Agents & IDEsموجز
Generate images with Seedream4.5 and videos with Kling via LiblibAI API.
الوصف
ما الذي تفعله هذه المهارة
Generates images using Seedream4.5 and videos using Kling models through LiblibAI's API. Supports text-to-image, text-to-video, and image-to-video workflows via a CLI script. Tasks run asynchronously with automatic polling until results are ready.
Combines image and video generation in a single CLI with automatic async polling, eliminating the need to manually check task status or use separate tools for each modality.
متى تستخدمها
- Generating concept art from a text description
- Animating a static photo into a short video clip
- Creating illustrations for a blog post or slide deck
- Producing a promotional video clip from a written prompt
- Batch generating multiple image variations for a design review
مثال على سير العمل
User asks: generate a 5-second video of a rocket launching into space
- 1
Run the text2video command with the prompt and --duration 5 flag
- 2
Receive a generateUuid from the API submission response
- 3
Poll /api/generate/status automatically until the task completes
- 4
Extract the videoUrl from the completed task result
A URL to the generated 5-second video file, valid for 7 days
المتطلبات
- LiblibAI account signup
- LIB_ACCESS_KEY environment variable (from LiblibAI dashboard)
- LIB_SECRET_KEY environment variable (from LiblibAI dashboard)
التثبيت
clawhub install xtaq/liblib-ai-genشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.