Class CohereImageUrlV2
Provide a base64 encoded image or an image uri if it's supported.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class CohereImageUrlV2
Properties
Detail
Declaration
[JsonProperty(PropertyName = "detail")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CohereImageUrlV2.DetailEnum? Detail { get; set; }
Property Value
| Type | Description |
|---|---|
| CohereImageUrlV2.DetailEnum? | Controls the level of detail in image processing. "auto" is the default and lets the system choose, "low" is faster but less detailed, and "high" preserves maximum detail. You can save tokens and speed up responses by using detail "low". |
Url
Declaration
[Required(ErrorMessage = "Url is required.")]
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string | URL of an image. Can be either a base64 data URI or a web URL (type can be either image_url or text). |
Remarks
Required