sogni-gen
بواسطة krunkosaurus
Coding Agents & IDEsموجز
Generate images **and videos** using Sogni AI's decentralized network, with local credential/config files.
الوصف
ما الذي تفعله هذه المهارة
Connects to Sogni AI's decentralized GPU network to generate images and videos from text prompts or reference files. Supports editing existing images, face transfer via photobooth mode, 360-degree turntable sweeps, and multiple video workflows including text-to-video, image-to-video, audio-driven, and video-to-video with ControlNet.
Uses a decentralized GPU network instead of a central API endpoint, which can reduce queuing and avoids single-provider lock-in for compute.
متى تستخدمها
- Generate a stylized portrait from a face photo for a LinkedIn headshot
- Animate a product image into a short looping video
- Restore a damaged vintage photo by editing it with a text prompt
- Create a 360-degree turntable video from a single product image
- Generate a lip-synced talking head from a face image and audio file
مثال على سير العمل
User asks: generate a short video of ocean waves at sunset
- 1
Selects text-to-video workflow with default WAN model
- 2
Rewrites the prompt into a continuous cinematic prose paragraph
- 3
Runs sogni-gen.mjs with --video flag and -o flag to save locally
- 4
Receives JSON output with success status and local file path
An mp4 file saved to the specified output path, e.g. /tmp/video.mp4
المتطلبات
- Sogni AI account at https://app.sogni.ai/ (free tier available with daily Spark points)
- SOGNI_API_KEY environment variable or SOGNI_USERNAME and SOGNI_PASSWORD credentials
- ffmpeg installed (required for 360-degree video assembly and video concatenation)
التثبيت
clawhub install krunkosaurus/sogni-genشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.