Icon

Basics - Connect to OpenAI models

A simple workflow to connect, access, and query the models by OpenAI.

Request API key at: https://openai.com/api/

Connect and consume the models by OpenAIA simple workflow to connect, access, and query the models by OpenAI. Request API key at: https://openai.com/api/ List all available modelshttps://api.openai.com/v1/models Completionshttps://api.openai.com/v1/completions CompletionsGiven a prompt, themodel will returnone or morepredictedcompletions, andcan also return theprobabilities ofalternative tokens ateach position. ChatGiven a list ofmessagescomprising aconversation, themodel will return aresponse. Chathttps://api.openai.com/v1/chat/completions Input API keys Editshttps://api.openai.com/v1/edits EditsGiven a prompt andan instruction, themodel will return anedited version of theprompt. ImagesGiven a prompt and/or an input image,the model willgenerate a newimage. Imageshttps://api.openai.com/v1/images/generations Audiohttps://api.openai.com/v1/audio/transcriptions AudioLearn how to turnaudio into text. Modelstext-davinci-edit-001babbage-code-search-codetext-davinci-001adababbage-code-search-textbabbage-similaritycode-search-babbage-text-001text-curie-001... Input API keyAdd Bearer token(= authentication token)List availblemodelsParse JSONConsumemodelModel: text-davinci-003Max tokens: 10Return prob: 3Parse JSONModel: gpt-3.5-turboMax tokens: 100Role: userConsumemodelParse JSONModel: text-davinci-edit-001Input, InstructionConsumemodelParse JSONNum images: 1Size: 512x512Resp. format: URLConsumemodelParse JSONopeaipackage String Widget String Manipulation(Variable) GET Request JSON Path Ungroup POST Request ContainerInput (JSON) JSON Path ContainerInput (JSON) POST Request JSON Path ContainerInput (JSON) POST Request JSON Path ContainerInput (JSON) POST Request JSON Path Read Images List Audio Files Audio Viewer Python Script Conda EnvironmentPropagation Merge Variables Connect and consume the models by OpenAIA simple workflow to connect, access, and query the models by OpenAI. Request API key at: https://openai.com/api/ List all available modelshttps://api.openai.com/v1/models Completionshttps://api.openai.com/v1/completions CompletionsGiven a prompt, themodel will returnone or morepredictedcompletions, andcan also return theprobabilities ofalternative tokens ateach position. ChatGiven a list ofmessagescomprising aconversation, themodel will return aresponse. Chathttps://api.openai.com/v1/chat/completions Input API keys Editshttps://api.openai.com/v1/edits EditsGiven a prompt andan instruction, themodel will return anedited version of theprompt. ImagesGiven a prompt and/or an input image,the model willgenerate a newimage. Imageshttps://api.openai.com/v1/images/generations Audiohttps://api.openai.com/v1/audio/transcriptions AudioLearn how to turnaudio into text. Modelstext-davinci-edit-001babbage-code-search-codetext-davinci-001adababbage-code-search-textbabbage-similaritycode-search-babbage-text-001text-curie-001... Input API keyAdd Bearer token(= authentication token)List availblemodelsParse JSONConsumemodelModel: text-davinci-003Max tokens: 10Return prob: 3Parse JSONModel: gpt-3.5-turboMax tokens: 100Role: userConsumemodelParse JSONModel: text-davinci-edit-001Input, InstructionConsumemodelParse JSONNum images: 1Size: 512x512Resp. format: URLConsumemodelParse JSONopeaipackage String Widget String Manipulation(Variable) GET Request JSON Path Ungroup POST Request ContainerInput (JSON) JSON Path ContainerInput (JSON) POST Request JSON Path ContainerInput (JSON) POST Request JSON Path ContainerInput (JSON) POST Request JSON Path Read Images List Audio Files Audio Viewer Python Script Conda EnvironmentPropagation Merge Variables

Nodes

Extensions

Links