Show / Hide Table of Contents

Class CohereImageUrlV2

Provide a base64 encoded image or an image uri if it's supported.

Inheritance
object
CohereImageUrlV2
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top