开发者工具

IOUXI SDK
为开发者而生

CLI 脚手架、多框架 SDK、20+ 项目模板,一键初始化到全参数定制,接入悠希数码全线产品能力只需几行代码。

申请开发者资格 查看文档
Terminal
# 安装 IOUXI CLI
$ npm install -g @iouxi/cli
✓ @iouxi/cli@1.0.0 installed
# 一键创建 FEAIA 集成项目
$ iouxi create my-app --template feaia-electron
✓ Scaffolding my-app...
✓ Installing dependencies...
✓ Done! Run cd my-app && npm run dev
# 或完全参数化配置
$ iouxi create my-app --interactive
多框架 SDK

您熟悉的语言,熟悉的方式

feaia-client.ts
import { FeaiaClient } from '@iouxi/feaia-sdk'

const feaia = new FeaiaClient({
  apiKey: process.env.IOUXI_API_KEY,
  model: 'gpt-4o',       // or 'claude-3-5' | 'local'
  persona: 'feiya-default', // 飞爱娅标准人格
  localMode: false
})

// 发送消息,获取情感感知回复
const reply = await feaia.chat({
  message: '今天工作好累…',
  context: { mood: 'tired', hour: new Date().getHours() }
})

console.log(reply.text)    // "辛苦啦~要不要听首歌放松一下?"
console.log(reply.emotion) // "caring"
console.log(reply.expression) // "smile_gentle" → Live2D 表情ID
feaia_client.py
from iouxi import FeaiaClient

feaia = FeaiaClient(
    api_key=os.environ["IOUXI_API_KEY"],
    model="local",          # 本地模型模式
    local_model="qwen2.5",   # Ollama 中运行的模型
)

reply = feaia.chat(message="帮我总结一下这份文档", file="report.pdf")
print(reply.text)
print(reply.points)  # 自动提取的要点列表
FeaiaIntegration.cs
using IOUXI.Feaia;

public class FeaiaController : MonoBehaviour
{
    private FeaiaClient _feaia;

    async void Start(){
        _feaia = new FeaiaClient(apiKey: IOUXIConfig.ApiKey);
        await _feaia.InitAsync(persona: "feiya-default");
    }

    public async void OnPlayerInput(string input){
        var reply = await _feaia.ChatAsync(input);
        live2DController.SetExpression(reply.Expression);
        ttsPlayer.Speak(reply.Text);
    }
}
模板市场

20+ 即用模板,一键启动

🤖
FEAIA Electron 桌面伴侣
iouxi create --template feaia-electron
ElectronReactPython
🎮
微信小游戏·消除模板
iouxi create --template wx-match3
CocosTypeScript
🌐
AI SaaS 全栈模板
iouxi create --template ai-saas-next
Next.jsPrismaStripe
📱
React Native AI App
iouxi create --template rn-ai-app
RNExpo
🔌
FEAIA 插件脚手架
iouxi create --template feaia-plugin
PluginSDK
🏢
企业知识库 RAG
iouxi create --template enterprise-rag
LangChainFastAPI

申请开发者资格

当前处于邀请制内测阶段,申请后 3 个工作日内审核

申请 API Key
FAQ

常见问题

关于 IOUXI 开发者工具、CLI 与 API Key 的高频疑问

IOUXI 开发者工具支持哪些语言/框架?

IOUXI 开发者工具套件提供 CLI 脚手架、多框架 SDK 与可视化配置面板,SDK 覆盖 TypeScript、Python 与 Unity C#,模板市场提供 20+ 即用模板(FEAIA Electron、微信小游戏、AI SaaS、React Native 等)。

如何使用 iouxi CLI 快速创建项目?

全局安装后执行 iouxi create my-app --template feaia-electron 即可一键初始化;也支持 iouxi create my-app --interactive 全参数化交互式配置,自动安装依赖并生成项目骨架。

如何申请开发者资格和 API Key?

当前 IOUXI SDK 处于邀请制内测阶段,在开发者工具页申请开发者资格,审核通过后 3 个工作日内发放 API Key,即可通过 @iouxi/feaia-sdk 或 iouxi-feaia Python 包接入。