# 将 Apiframe 接入 Open Flow

Source: https://openflow.run/zh-cn/integrations/apiframe/

[全部集成](https://openflow.run/zh-cn/integrations/)

说明主体、风格和约束，AI 可以选择可用模型、准备支持的请求，并在任务完成后获取结果。

*   [6 个工具](https://openflow.run/zh-cn/integrations/apiframe/#integration-actions)
*   API 密钥
*   AI
*   设计与媒体

[连接 Apiframe](https://console.openflow.run/connections/apiframe)

每月 20,000 次免费应用调用（付费服务另计）

## 可以做什么

Apiframe 媒体生成以任务运行，包含标识、进度、结果和错误。查询模型和读取任务将请求准备与完成的媒体区分开来。

### 提交媒体生成任务

查询模型，并提交图片、视频或音乐任务。

### 读取任务状态与结果

获取任务进度、结果或错误，列出历史任务。

## 所有工具

6 个工具

### List Models

列出 Apiframe 模型及其当前生成参数。

`apiframe.list_models`

### Generate Image

提交 Apiframe 图片生成任务并返回任务 ID。

`apiframe.generate_image`

### Generate Video

提交 Apiframe 视频生成任务并返回任务 ID。

`apiframe.generate_video`

### Generate Music

提交 Apiframe 音乐生成任务并返回任务 ID。

`apiframe.generate_music`

### Get Job

获取一个 Apiframe 任务的当前状态和模型专用结果。

`apiframe.get_job`

### List Jobs

使用游标分页以及可选状态或模型筛选条件列出 Apiframe 任务。

`apiframe.list_jobs`

没有符合搜索条件的工具。

## 将 Apiframe 接入 Open Flow

[连接 Apiframe](https://console.openflow.run/connections/apiframe)

每月 20,000 次免费应用调用（付费服务另计）
