返回 Skills 列表
🦞

IMA Studio All-in-One

Unified entry for image, video, music & TTS — smart model routing and workflow orchestration.

官方推荐
支持模型: SeeDream · Midjourney · Nano Banana · Wan · Kling · Veo · Sora · Suno · DouBao · TTS

📦安装

在终端中运行以下命令安装此 Skill:

clawhub install ima-all-ai

✨ 主要特性

  • 集成所有官方 Skills
  • 统一的开发体验和 API
  • 一键安装配置
  • 统一管理界面
  • 自动更新和版本管理
  • 跨平台支持

📖 使用指南

基础使用

导入并初始化所有技能包

import { ImaAllInOne } from "@ima-claw/all-in-one"

const ima = new ImaAllInOne()
await ima.initialize()

使用特定功能

访问各个子模块的功能

// 使用图片生成
const image = await ima.image.generate({
  prompt: "A cute Claw"
})

// 使用视频生成
const video = await ima.video.create({
  script: "A story about AI"
})

💡 示例代码

创建图片

使用集成的图片生成功能

const result = await ima.image.generate({
  prompt: "A cute Claw",
  style: "photorealistic",
  size: "1024x1024"
})

批量创作

同时使用多个创作工具

const [image, music, text] = await Promise.all([
  ima.image.generate({ prompt: "Sunset" }),
  ima.music.create({ genre: "ambient" }),
  ima.text.write({ topic: "Nature" })
])

🔧 故障排除

  • 确保已安装 Node.js 18+
  • 检查 API Key 配置是否正确
  • 确认网络连接正常
  • 查看 .env 文件中的环境变量设置