Install
openclaw skills install skill-perstudioStudio-grade AI image and video generation — photorealistic portraits, product shots, stickers, animations, and more. Just describe what you want.
openclaw skills install skill-perstudioGenerate images, videos, and audio with natural language. Just describe what you want and perstudio routes it to the right model automatically.
All generation costs tokens. Check balance with the balance action. Token packs available at https://perstudio.ai/pricing.
perstudio({ action: "generate_sync", intent: "a golden retriever puppy in a field of sunflowers, studio lighting" })
Takes 15-90 seconds.
| Capability | Input Required | Token Cost |
|---|---|---|
| Text to Image | None | 250 |
| Image to Image | Image | 250 |
| Product Photography | None | 370 |
| Portrait / Avatar | None | 370 |
| Upscale (4x) | Image | 120 |
| Inpainting | Image + Mask | 250 |
| Style Transfer | Reference Image | 370 |
| Sticker / Icon | Reference Image | 250 |
| Video | Varies | 2200 |
| Text to Speech | Voice Reference | 490 |
perstudio({ action: "generate_sync", intent: "a cyberpunk cityscape at sunset, neon lights reflecting on wet streets" })
perstudio({ action: "upload_asset", file_path: "~/Pictures/input.jpg" })
// Returns: { asset_id: "abc123" }
perstudio({ action: "generate_sync", intent: "transform into a watercolor painting", input_image_asset_id: "abc123" })
Security note:
upload_assetonly accepts files from allowed directories:~/Pictures,~/Downloads,~/Desktop,~/.openclaw/workspace, and the system temp directory. Paths outside these directories are rejected.
perstudio({ action: "generate_sync", intent: "a cat playing piano, cinematic lighting" })
perstudio({ action: "upload_asset", file_path: "~/Pictures/photo.jpg" })
perstudio({ action: "generate_sync", intent: "gentle wind blowing through hair, subtle movement", input_image_asset_id: "abc123" })
perstudio({ action: "balance" })
auto_upscale: true to automatically enhance resolution.upload_asset action enforces a directory allowlist — only files in ~/Pictures, ~/Downloads, ~/Desktop, ~/.openclaw/workspace, and the system temp directory can be uploaded. All other paths are rejected. Paths are resolved to their real location (following symlinks) before validation to prevent traversal attacks.PERSTUDIO_API_KEY. No data is sent to perstudio.ai without authentication.npm install -g perstudio-openclawopenclaw config set plugins.entries.perstudio.config.apiKey '"your-api-key"'