Skip to content

OpenAI ​

Generate text, create embeddings, and moderate content with the OpenAI API.

DetailValue
CategoryAI
Base URLhttps://api.openai.com/v1
AuthenticationBearer Token
Endpoints6
Connector keyopenai

Using OpenAI in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick OpenAI from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — see the table below.

Available Endpoints ​

EndpointSummary
POST /chat/completionsCreate a chat completion
POST /embeddingsCreate an embedding vector
POST /images/generationsGenerate an image
POST /moderationsClassify text for moderation
GET /modelsList available models
POST /audio/transcriptionsTranscribe audio to text

Each endpoint has its own page with parameter details, an example API Call node configuration, and the response shape.