OpenAI
AI models for chat completion, embeddings, image generation, speech, and transcription
Actions
| Name | Description |
|---|---|
chat_completionGenerate a chat completion using OpenAI models | Generate a chat completion using OpenAI models |
create_embeddingCreate an embedding vector for the given input text | Create an embedding vector for the given input text |
generate_imageGenerate an image using DALL-E | Generate an image using DALL-E |
transcribe_audioTranscribe audio to text using Whisper | Transcribe audio to text using Whisper |
text_to_speechGenerate audio from text using OpenAI TTS | Generate audio from text using OpenAI TTS |
list_modelsList all available OpenAI models | List all available OpenAI models |
custom_api_callMake a custom API call to the OpenAI API | Make a custom API call to the OpenAI API |
Quick Start
import { WeavzClient } from '@weavz/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute({
integrationName: 'openai',
actionName: 'chat_completion',
input: { /* ... */ },
connectionId: 'conn_id',
workspaceId: 'ws_id',
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect OpenAI to my app?
Use Weavz Hosted Connect for API Key authentication. Install the SDK, create a connection through the connect portal or API, then execute actions programmatically.
What actions does OpenAI support?
OpenAI supports 7 actions including Chat Completion, Create Embedding, Generate Image, Transcribe Audio, Text to Speech, and more.
Can I use OpenAI with AI agents?
Yes. Add OpenAI to an MCP server in TOOLS mode or CODE mode. CODE mode provides 80-98% context reduction with 3 meta-tools for efficient agent access.
What authentication does OpenAI use?
OpenAI uses API Key. Weavz handles token management, refresh, and secure credential storage automatically.
How much does the OpenAI integration cost?
The OpenAI integration is included on all Weavz plans including the free tier with 1,000 actions per month. No credit card required.
Connect OpenAI in 2 minutes
Get 1,000 free actions every month. No credit card required.