# 将 OpenAI 接入 Open Flow

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

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

提供源材料和输出要求，使用 API 账号可访问的模型处理。

*   [15 个工具](https://openflow.run/zh-cn/integrations/openai/#integration-actions)
*   API 密钥
*   AI
*   开发工具

[连接 OpenAI](https://console.openflow.run/connections/openai)

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

## 可以做什么

使用可用模型，根据输入生成文本回复、图片和语音。此连接还支持嵌入向量、内容审核、音频转写和已有批处理任务的操作。

### 生成回答

使用指定模型处理你提供的输入。

### 生成语音

使用指定语音模型和声音合成提供的文稿。

## 使用 OpenAI 的模板

![Reply to Company Inquiries with Knowledge 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/reply-company-inquiries-with-knowledge/light-cover.webp)

效率

### [Reply to Company Inquiries with Knowledge](https://openflow.run/zh-cn/templates/reply-company-inquiries-with-knowledge/)

Summarize company inquiries and send knowledge-grounded replies through IMAP and SMTP.

![Index MITRE ATT&CK in Qdrant 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/index-mitre-attack-in-qdrant/light-cover.webp)

Security

### [Index MITRE ATT&CK in Qdrant](https://openflow.run/zh-cn/templates/index-mitre-attack-in-qdrant/)

Load MITRE ATT&CK descriptions from a Drive JSON file into a Qdrant collection.

![Enrich Zendesk Tickets with MITRE Context 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/enrich-zendesk-tickets-with-mitre-context/light-cover.webp)

Security

### [Enrich Zendesk Tickets with MITRE Context](https://openflow.run/zh-cn/templates/enrich-zendesk-tickets-with-mitre-context/)

Retrieve MITRE ATT&CK context and add a private summary and technique fields to Zendesk tickets.

![Index Policy PDF Vectors 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/index-policy-pdf-vectors/light-cover.webp)

AI

### [Index Policy PDF Vectors](https://openflow.run/zh-cn/templates/index-policy-pdf-vectors/)

Extract a policy PDF and index its text chunks in a vector table.

![Index Notion Pages in Supabase 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/index-notion-pages-in-supabase/light-cover.webp)

AI

### [Index Notion Pages in Supabase](https://openflow.run/zh-cn/templates/index-notion-pages-in-supabase/)

Embed newly added Notion page text and store chunks in a Supabase vector table.

![Enrich Property Inventory from Images 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/enrich-property-inventory-from-images/light-cover.webp)

AI

### [Enrich Property Inventory from Images](https://openflow.run/zh-cn/templates/enrich-property-inventory-from-images/)

Analyze inventory photos and enrich Airtable records with product attributes.

更多模板（14）

![Classify Website Domains in Google Sheets 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/classify-website-domains-in-google-sheets/light-cover.webp)

研究

### [Classify Website Domains in Google Sheets](https://openflow.run/zh-cn/templates/classify-website-domains-in-google-sheets/)

Read website domains from a sheet, classify each site and update the matching row.

![Generate and Post a Stoic Tweet 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/generate-and-post-a-stoic-tweet/light-cover.webp)

营销

### [Generate and Post a Stoic Tweet](https://openflow.run/zh-cn/templates/generate-and-post-a-stoic-tweet/)

Generate a tweet using an influencer profile and post it manually or every six hours.

![Create Instagram Captions for New Airtable Records 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/airtable-new-record-instagram-caption/light-cover.webp)

营销

### [Create Instagram Captions for New Airtable Records](https://openflow.run/zh-cn/templates/airtable-new-record-instagram-caption/)

Create Instagram captions for new Airtable editorial records using audience background.

![Create Airtable Instagram Captions 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/create-airtable-instagram-captions/light-cover.webp)

营销

### [Create Airtable Instagram Captions](https://openflow.run/zh-cn/templates/create-airtable-instagram-captions/)

Create Instagram captions for new Airtable editorial records using audience background.

![Research Global Keyword Metrics 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/global-keyword-metrics-with-dataforseo/light-cover.webp)

营销

### [Research Global Keyword Metrics](https://openflow.run/zh-cn/templates/global-keyword-metrics-with-dataforseo/)

Research global search volume, competition and bid metrics for a keyword and related terms.

![Enrich Airtable Inventory with Image Research 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/enrich-airtable-inventory-with-image-research/light-cover.webp)

效率

### [Enrich Airtable Inventory with Image Research](https://openflow.run/zh-cn/templates/enrich-airtable-inventory-with-image-research/)

Research inventory images and update Airtable records with product attributes.

![Translate French Speech to English Audio 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/translate-french-speech-to-english-audio/light-cover.webp)

内容

### [Translate French Speech to English Audio](https://openflow.run/zh-cn/templates/translate-french-speech-to-english-audio/)

Generate French speech from text, transcribe it, translate the transcript into English and generate English speech in the same voice.

![Generate an OpenAI Speech MP3 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/generate-an-openai-speech-mp3/light-cover.webp)

内容

### [Generate an OpenAI Speech MP3](https://openflow.run/zh-cn/templates/generate-an-openai-speech-mp3/)

Convert text into an MP3 using OpenAI speech synthesis.

![Create Todoist Tasks from Telegram Messages 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/create-todoist-tasks-from-telegram-messages/light-cover.webp)

效率

### [Create Todoist Tasks from Telegram Messages](https://openflow.run/zh-cn/templates/create-todoist-tasks-from-telegram-messages/)

Turn a Telegram text or voice project description into Todoist tasks and send confirmations.

![Describe a Website Screenshot 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/describe-a-website-screenshot/light-cover.webp)

效率

### [Describe a Website Screenshot](https://openflow.run/zh-cn/templates/describe-a-website-screenshot/)

Capture a public webpage and describe the screenshot in one sentence.

![Analyze Telegram Images with AI 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/analyze-telegram-images-with-ai/light-cover.webp)

效率

### [Analyze Telegram Images with AI](https://openflow.run/zh-cn/templates/analyze-telegram-images-with-ai/)

Describe photos sent to a Telegram bot and reply in the same chat.

![Telegram Voice Language Translator 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/telegram-voice-language-translator/light-cover.webp)

沟通

### [Telegram Voice Language Translator](https://openflow.run/zh-cn/templates/telegram-voice-language-translator/)

Transcribe a Telegram voice message, translate between two configured languages and reply to the same chat with both text and complete synthesized audio.

![French to English Audio 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/french-to-english-audio/light-cover.webp)

内容

### [French to English Audio](https://openflow.run/zh-cn/templates/french-to-english-audio/)

Generate French speech from text, transcribe it, translate the transcript into English and generate English speech in the same voice.

![OpenAI Text to Speech 在 Open Flow 中的工作流截图](https://openflow.run/template-previews/openai-text-to-speech/light-cover.webp)

内容

### [OpenAI Text to Speech](https://openflow.run/zh-cn/templates/openai-text-to-speech/)

Convert supplied text into an MP3 with OpenAI tts-1 and return a downloadable audio file.

## 所有工具

15 个工具

### List Models

列出当前 API 密钥可用的 OpenAI 模型。

`openai.list_models`

### Get Model

按 ID 检索单个 OpenAI 模型的元数据。

`openai.get_model`

### Create Response

通过 Responses API 创建非流式 OpenAI 响应。

`openai.create_response`

### Get Response

按其标识符检索一个存储的 OpenAI 响应。

`openai.get_response`

### List Input Items

列出一个 OpenAI 响应的存储输入项。

`openai.list_input_items`

### Get Input Token Counts

计算 Responses 风格的 OpenAI 请求将消耗的输入令牌数量。

`openai.get_input_token_counts`

### Create Embeddings

使用 OpenAI 嵌入模型创建嵌入。

`openai.create_embeddings`

### Create Moderation

使用 OpenAI Moderations API 对文本或图像输入进行分类。

`openai.create_moderation`

### Create Image

使用 OpenAI 图像生成 API 生成图像。

`openai.create_image`

### Create Speech

使用 OpenAI 音频语音 API 从文本合成语音音频。

`openai.create_speech`

### Create Audio Transcription

使用 OpenAI 音频转录 API 转录一个上传的音频文件。

`openai.create_audio_transcription`

### Create Audio Translation

使用 OpenAI 音频翻译 API 将一个上传的音频文件翻译成英文。

`openai.create_audio_translation`

### Create Batch

从上传的输入文件创建 OpenAI 批处理作业。

`openai.create_batch`

### Get Batch

按其标识符获取一个 OpenAI 批处理作业。

`openai.get_batch`

### Cancel Batch

按其标识符取消一个 OpenAI 批处理作业。

`openai.cancel_batch`

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

## 将 OpenAI 接入 Open Flow

[连接 OpenAI](https://console.openflow.run/connections/openai)

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