openclaw-media-gen

Verified·Scanned 2/17/2026

This skill is a Python CLI client for AIsa image/video generation that posts to https://api.aisa.one and saves outputs locally. It reads the AISA_API_KEY env var and provides shell examples (python3, curl) that perform network calls.

from clawhub.ai·v6ff6517·16.9 KB·0 installs
Scanned from 1.0.0 at 6ff6517 · Transparency log ↗
$ vett add clawhub.ai/0xjordansg-yolo/openclaw-media-gen

OpenClaw Media Gen

使用 AIsa API 生成图片与视频:

  • Gemini 图片gemini-3-pro-image-preview/v1/models/{model}:generateContent
  • Wan 2.6 视频wan2.6-t2v/apis/v1/services/aigc/... 异步任务 + 轮询)

相关 API 文档索引:https://aisa.mintlify.app/api-reference/introduction

快速开始

export AISA_API_KEY="your-key"

生成图片

python scripts/media_gen_client.py image \
  --prompt "A cute red panda, cinematic lighting" \
  --out out.png

生成视频(创建任务 + 轮询)

python scripts/media_gen_client.py video-create \
  --prompt "cinematic close-up, slow push-in" \
  --img-url "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/320px-Cat03.jpg" \
  --duration 5

python scripts/media_gen_client.py video-wait \
  --task-id <task_id> \
  --poll 10 \
  --timeout 600

自动下载生成的视频(mp4)

python scripts/media_gen_client.py video-wait \
  --task-id <task_id> \
  --download \
  --out out.mp4