Skip to content

novelai-sdk-unofficial / ImageInput

Type Alias: ImageInput

ImageInput = string | Buffer | ArrayBuffer

Defined in: src/types/user/image.ts:26

Type alias for image inputs

  • string: file path or base64 string
  • Buffer: Node.js Buffer
  • ArrayBuffer: Binary data

基于 MIT 许可证发布