JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q48061F
  • License MIT

AI image and video generation plugin for OpenClaw — text-to-image, img2img, style transfer, upscale, video, TTS

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (perstudio-openclaw) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Perstudio — OpenClaw Plugin

    AI image and video generation for OpenClaw via perstudio.ai.

    Generate images, product shots, portraits, stickers, videos, and more — all from natural language descriptions through your OpenClaw agent.

    Prerequisites

    Getting Your API Key

    1. Sign up at perstudio.ai
    2. Go to DashboardAPI Keys
    3. Click Create Key and copy the key

    Installation

    npm install -g perstudio-openclaw

    Then set your API key:

    openclaw config set plugins.entries.perstudio.config.apiKey '"ps_your_api_key_here"'

    Manual Installation

    1. Copy the openclaw-plugin/ directory to your OpenClaw extensions folder:
    cp -r openclaw-plugin ~/.openclaw/extensions/perstudio
    1. Add the plugin to your openclaw.json:
    {
      "plugins": {
        "entries": {
          "perstudio": {
            "enabled": true,
            "path": "extensions/perstudio"
          }
        }
      }
    }
    1. Set your API key as an environment variable:
    export PERSTUDIO_API_KEY="ps_your_api_key_here"
    1. OpenClaw hot-reloads config — the plugin should load automatically.

    Usage

    Once installed, your OpenClaw agent has access to the perstudio tool. Just ask it to generate images:

    "Generate a photo of a golden retriever in a field of sunflowers"

    "Create a product shot of a coffee mug on a marble countertop"

    "Make a sticker of a cartoon cat"

    "Generate a short video of ocean waves at sunset"

    Direct Tool Usage

    perstudio({ action: "generate_sync", intent: "a cyberpunk cityscape at night" })

    Image-to-Image

    perstudio({ action: "upload_asset", file_path: "/path/to/photo.jpg" })
    perstudio({ action: "generate_sync", intent: "transform into oil painting", input_image_asset_id: "..." })

    Check Balance

    perstudio({ action: "balance" })

    Configuration

    The plugin reads configuration from environment variables:

    Variable Required Description
    PERSTUDIO_API_KEY Yes Your perstudio.ai API key
    PERSTUDIO_BASE_URL No API base URL (default: https://api.perstudio.ai)

    Token Pricing

    Generation costs tokens. Purchase token packs at perstudio.ai/pricing.

    Category Credits
    Text to Image 250
    Image to Image 250
    Sticker / Inpainting 250
    Upscale 120
    Product / Portrait 370
    ControlNet / Style Transfer 370
    Audio / TTS 490
    Video 2,200