OpenAI Automation by composiohq/awesome-claude-skills
npx skills add https://github.com/composiohq/awesome-claude-skills --skill 'OpenAI Automation'自动化您的 OpenAI API 工作流 —— 使用 Responses API 生成文本(包括多模态图像+文本输入和结构化 JSON 输出),为搜索和聚类创建嵌入,使用 DALL-E 和 GPT Image 模型生成图像,并列出可用模型。
工具包文档: composio.dev/toolkits/openai
https://rube.app/mcp使用 OPENAI_CREATE_RESPONSE 获取单次模型响应,包括文本、图像分析、OCR 和结构化 JSON 输出。
Tool: OPENAI_CREATE_RESPONSE
Inputs:
- model: string (required) -- e.g., "gpt-5", "gpt-4o", "o3-mini"
- input: string | array (required)
Simple: "Explain quantum computing"
Multimodal: [
{ role: "user", content: [
{ type: "input_text", text: "What is in this image?" },
{ type: "input_image", image_url: { url: "https://..." } }
]}
]
- temperature: number (0-2, optional -- not supported with reasoning models)
- max_output_tokens: integer (optional)
- reasoning: { effort: "none" | "minimal" | "low" | "medium" | "high" }
- text: object (structured output config)
- format: { type: "json_schema", name: "...", schema: {...}, strict: true }
- tools: array (function, code_interpreter, file_search, web_search)
- tool_choice: "auto" | "none" | "required" | { type: "function", function: { name: "..." } }
- store: boolean (false to opt out of model distillation)
- stream: boolean
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
结构化输出示例: 将 text.format 设置为 { type: "json_schema", name: "person", schema: { type: "object", properties: { name: { type: "string" }, age: { type: "integer" } }, required: ["name", "age"], additionalProperties: false }, strict: true }。
使用 OPENAI_CREATE_EMBEDDINGS 进行向量搜索、聚类、推荐和 RAG 管道。
Tool: OPENAI_CREATE_EMBEDDINGS
Inputs:
- input: string | string[] | int[] | int[][] (required) -- max 8192 tokens, max 2048 items
- model: string (required) -- "text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"
- dimensions: integer (optional, only for text-embedding-3 and later)
- encoding_format: "float" | "base64" (default "float")
- user: string (optional, end-user ID for abuse monitoring)
使用 OPENAI_CREATE_IMAGE,通过 GPT Image 或 DALL-E 模型根据文本提示创建图像。
Tool: OPENAI_CREATE_IMAGE
Inputs:
- model: string (required) -- "gpt-image-1", "gpt-image-1.5", "dall-e-3", "dall-e-2"
- prompt: string (required) -- max 32000 chars (GPT Image), 4000 (DALL-E 3), 1000 (DALL-E 2)
- size: "1024x1024" | "1536x1024" | "1024x1536" | "auto" | "256x256" | "512x512" | "1792x1024" | "1024x1792"
- quality: "standard" | "hd" | "auto" | "high" | "medium" | "low"
- n: integer (1-10; DALL-E 3 supports n=1 only)
- background: "transparent" | "opaque" | "auto" (GPT Image models only)
- style: "vivid" | "natural" (DALL-E 3 only)
- user: string (optional)
使用 OPENAI_LIST_MODELS 发现您的 API 密钥可以访问哪些模型。
Tool: OPENAI_LIST_MODELS
Inputs: (none)
| 问题 | 详情 |
|---|---|
| DALL-E 弃用 | DALL-E 2 和 DALL-E 3 已弃用,将于 2026年5月12日停止支持。建议使用 GPT Image 模型。 |
| DALL-E 3 仅支持单张图像 | 使用 DALL-E 3 的 OPENAI_CREATE_IMAGE 仅支持 n=1。如需生成多张图像,请使用 GPT Image 模型或 DALL-E 2。 |
| 嵌入模型的令牌限制 | 对于嵌入模型,每个项目的输入不得超过 8192 个令牌,每批次不得超过 2048 个项目。 |
| 推理模型限制 | 推理模型(o3-mini 等)不支持 temperature 和 top_p。请改用 reasoning.effort。 |
| 结构化输出严格模式 | 当 json_schema 格式中 strict: true 时,required 数组中必须列出 ALL 模式属性。 |
| 提示长度因模型而异 | 图像提示的最大长度不同:32000(GPT Image)、4000(DALL-E 3)、1000(DALL-E 2)。 |
| 工具标识 | 描述 |
|---|---|
OPENAI_CREATE_RESPONSE | 生成文本/多模态响应,支持结构化输出 |
OPENAI_CREATE_EMBEDDINGS | 为搜索、聚类和 RAG 创建文本嵌入 |
OPENAI_CREATE_IMAGE | 根据文本提示生成图像 |
OPENAI_LIST_MODELS | 列出您的 API 密钥可用的所有模型 |
由 Composio 提供支持
每周安装
0
代码库
GitHub 星标
42.3K
首次出现
1970年1月1日
安全审计
Automate your OpenAI API workflows -- generate text with the Responses API (including multimodal image+text inputs and structured JSON outputs), create embeddings for search and clustering, generate images with DALL-E and GPT Image models, and list available models.
Toolkit docs: composio.dev/toolkits/openai
https://rube.app/mcpUse OPENAI_CREATE_RESPONSE for one-shot model responses including text, image analysis, OCR, and structured JSON outputs.
Tool: OPENAI_CREATE_RESPONSE
Inputs:
- model: string (required) -- e.g., "gpt-5", "gpt-4o", "o3-mini"
- input: string | array (required)
Simple: "Explain quantum computing"
Multimodal: [
{ role: "user", content: [
{ type: "input_text", text: "What is in this image?" },
{ type: "input_image", image_url: { url: "https://..." } }
]}
]
- temperature: number (0-2, optional -- not supported with reasoning models)
- max_output_tokens: integer (optional)
- reasoning: { effort: "none" | "minimal" | "low" | "medium" | "high" }
- text: object (structured output config)
- format: { type: "json_schema", name: "...", schema: {...}, strict: true }
- tools: array (function, code_interpreter, file_search, web_search)
- tool_choice: "auto" | "none" | "required" | { type: "function", function: { name: "..." } }
- store: boolean (false to opt out of model distillation)
- stream: boolean
Structured output example: Set text.format to { type: "json_schema", name: "person", schema: { type: "object", properties: { name: { type: "string" }, age: { type: "integer" } }, required: ["name", "age"], additionalProperties: false }, strict: true }.
Use OPENAI_CREATE_EMBEDDINGS for vector search, clustering, recommendations, and RAG pipelines.
Tool: OPENAI_CREATE_EMBEDDINGS
Inputs:
- input: string | string[] | int[] | int[][] (required) -- max 8192 tokens, max 2048 items
- model: string (required) -- "text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"
- dimensions: integer (optional, only for text-embedding-3 and later)
- encoding_format: "float" | "base64" (default "float")
- user: string (optional, end-user ID for abuse monitoring)
Use OPENAI_CREATE_IMAGE to create images from text prompts using GPT Image or DALL-E models.
Tool: OPENAI_CREATE_IMAGE
Inputs:
- model: string (required) -- "gpt-image-1", "gpt-image-1.5", "dall-e-3", "dall-e-2"
- prompt: string (required) -- max 32000 chars (GPT Image), 4000 (DALL-E 3), 1000 (DALL-E 2)
- size: "1024x1024" | "1536x1024" | "1024x1536" | "auto" | "256x256" | "512x512" | "1792x1024" | "1024x1792"
- quality: "standard" | "hd" | "auto" | "high" | "medium" | "low"
- n: integer (1-10; DALL-E 3 supports n=1 only)
- background: "transparent" | "opaque" | "auto" (GPT Image models only)
- style: "vivid" | "natural" (DALL-E 3 only)
- user: string (optional)
Use OPENAI_LIST_MODELS to discover which models are accessible with your API key.
Tool: OPENAI_LIST_MODELS
Inputs: (none)
| Pitfall | Detail |
|---|---|
| DALL-E deprecation | DALL-E 2 and DALL-E 3 are deprecated and will stop being supported on 05/12/2026. Prefer GPT Image models. |
| DALL-E 3 single image only | OPENAI_CREATE_IMAGE with DALL-E 3 only supports n=1. Use GPT Image models or DALL-E 2 for multiple images. |
| Token limits for embeddings | Input must not exceed 8192 tokens per item and 2048 items per batch for embedding models. |
| Reasoning model restrictions | temperature and top_p are not supported with reasoning models (o3-mini, etc.). Use reasoning.effort instead. |
| Structured output strict mode | When strict: true in json_schema format, ALL schema properties must be listed in the array. |
| Tool Slug | Description |
|---|---|
OPENAI_CREATE_RESPONSE | Generate text/multimodal responses with structured output support |
OPENAI_CREATE_EMBEDDINGS | Create text embeddings for search, clustering, and RAG |
OPENAI_CREATE_IMAGE | Generate images from text prompts |
OPENAI_LIST_MODELS | List all models available to your API key |
Powered byComposio
Weekly Installs
0
Repository
GitHub Stars
42.3K
First Seen
Jan 1, 1970
Security Audits
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
56,200 周安装
required| Prompt length varies by model | Image prompt max lengths differ: 32000 (GPT Image), 4000 (DALL-E 3), 1000 (DALL-E 2). |