OpenAIConfig

org.llm4s.imagegeneration.OpenAIConfig
case class OpenAIConfig(apiKey: String, model: String, timeout: Int) extends ImageGenerationConfig

Configuration for OpenAI DALL-E API.

Value parameters

apiKey

Your OpenAI API key. This is required for authentication.

model

The DALL-E model version to use (dall-e-2 or dall-e-3).

timeout

Request timeout in milliseconds.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product