Perstudio Image and Video Generation

v3.2.1

Studio-grade AI image and video generation — photorealistic portraits, product shots, stickers, animations, and more. Just describe what you want.

2· 490· 5 versions· 0 current· 0 all-time· Updated 2mo ago· MIT-0

Perstudio — AI Image & Video Generation

Generate 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.

Quick Start

perstudio({ action: "generate_sync", intent: "a golden retriever puppy in a field of sunflowers, studio lighting" })

Takes 15-90 seconds.

What You Can Do

CapabilityInput RequiredToken Cost
Text to ImageNone250
Image to ImageImage250
Product PhotographyNone370
Portrait / AvatarNone370
Upscale (4x)Image120
InpaintingImage + Mask250
Style TransferReference Image370
Sticker / IconReference Image250
VideoVaries2200
Text to SpeechVoice Reference490

Examples

Generate an image

perstudio({ action: "generate_sync", intent: "a cyberpunk cityscape at sunset, neon lights reflecting on wet streets" })

Transform an existing image

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_asset only accepts files from allowed directories: ~/Pictures, ~/Downloads, ~/Desktop, ~/.openclaw/workspace, and the system temp directory. Paths outside these directories are rejected.

Generate video

perstudio({ action: "generate_sync", intent: "a cat playing piano, cinematic lighting" })

Animate a still image

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" })

Check balance

perstudio({ action: "balance" })

Tips

  • Just describe what you want — the system picks the best approach automatically.
  • Be specific — include style, lighting, and composition details for better results.
  • Auto-upscale — pass auto_upscale: true to automatically enhance resolution.

Security

  • File access is restricted. The 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.
  • API key required. All generation requests require a valid PERSTUDIO_API_KEY. No data is sent to perstudio.ai without authentication.
  • Open source. The plugin source code is available at github.com/montenegronyc/perstudio-openclaw for full review.

Setup

  1. Sign up at perstudio.ai
  2. Create an API key in your dashboard
  3. Install: npm install -g perstudio-openclaw
  4. Configure your API key:
    openclaw config set plugins.entries.perstudio.config.apiKey '"your-api-key"'
    
  5. Start generating!

Version tags

latestvk97dmkk8qka6bykf53k9scxex581tdt3

Runtime requirements

🎨 Clawdis
EnvPERSTUDIO_API_KEY
Configplugins.entries.perstudio.config.apiKey
Primary envPERSTUDIO_API_KEY

Install

Install perstudio-openclawnpm i -g perstudio-openclaw