v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.9
LangChain.js
langchain-openai
DallEAPIWrapper
Class DallEAPIWrapper
A tool for generating images with Open AIs Dall-E 2 or 3 API.
Hierarchy (
view full
)
Toolkit
DallEAPIWrapper
Index
Constructors
constructor
Properties
description
name
tool
Name
client
Constructors
constructor
new
DallEAPIWrapper
(
fields
?
)
:
DallEAPIWrapper
Parameters
Optional
fields
:
DallEAPIWrapperParams
Returns
DallEAPIWrapper
Properties
description
description
:
string
= "A wrapper around OpenAI DALL-E API. Useful for when you need to generate images from a text description. Input should be an image description."
name
name
:
string
= "dalle_api_wrapper"
Static
Readonly
tool
Name
tool
Name
:
"dalle_api_wrapper"
= "dalle_api_wrapper"
Protected
client
client
:
OpenAI
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
description
name
tool
Name
client
LangChain.js - v0.2.9
Loading...
A tool for generating images with Open AIs Dall-E 2 or 3 API.