Skip to content

novelai-sdk-unofficial / NovelAIOptions

Interface: NovelAIOptions

Defined in: src/client.ts:62

Options for NovelAI client initialization

Properties

apiBase?

optional apiBase: string

Defined in: src/client.ts:70

Base URL for general API (reserved for future use)


apiKey?

optional apiKey: string

Defined in: src/client.ts:64

API key for authentication. If not provided, will try NOVELAI_API_KEY env var


imageBase?

optional imageBase: string

Defined in: src/client.ts:66

Base URL for image generation API


textBase?

optional textBase: string

Defined in: src/client.ts:68

Base URL for text generation API


timeout?

optional timeout: number

Defined in: src/client.ts:72

Request timeout in milliseconds

基于 MIT 许可证发布