OpenAIPictureAltSettings
Settings for OpenAIPictureAlt. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
using Nutrient;The SDK creates this class through factory methods or other SDK objects.
Properties
ApiEndpoint
public string ApiEndpoint { get; set; }Gets or sets the value of ApiEndpoint. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
ApiKey
public string ApiKey { get; set; }Gets or sets the value of ApiKey. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
Detail
public string Detail { get; set; }Gets or sets the value of Detail. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
MaxTokens
public int MaxTokens { get; set; }Gets or sets the value of MaxTokens. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
Model
public string Model { get; set; }Gets or sets the value of Model. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
Temperature
public double Temperature { get; set; }Gets or sets the value of Temperature. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: double
Resource management
public void Dispose()OpenAIPictureAltSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.