StabilityAIConfig

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

Configuration for Stability AI API.

Value parameters

apiKey

Your Stability AI API key. This is required for authentication.

baseUrl

Base URL for Stability AI API (default: https://api.stability.ai).

model

The engine/model ID to use (e.g., "stable-diffusion-xl-1024-v1-0", "stable-diffusion-v1-6").

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

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product