Authentication
Set theN1N_API_KEY environment variable:
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
id | str | "gpt-4o" | The ID of the model to use |
name | str | "N1N" | The name of the model |
provider | str | "N1N" | The provider of the model |
api_key | Optional[str] | None | The API key (defaults to N1N_API_KEY env var) |
base_url | str | "https://api.n1n.ai/v1" | The base URL for the N1N API |