Huggingface.js documentation

Interface: HeaderParams

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: HeaderParams

Properties

accessToken

Optional accessToken: string

Defined in

inference/src/types.ts:105


authMethod

authMethod: "none" | "hf-token" | "credentials-include" | "provider-key"

Defined in

inference/src/types.ts:106

< > Update on GitHub