MessageContentRequest.CreateImageFileContent
MessageContentRequest.CreateImageFileContent method
Creates an image file content for a message.
public static MessageContentRequest CreateImageFileContent(string fileId, string detail = "auto")
Parameter | Type | Description |
---|---|---|
fileId | String | The ID of the image file. |
detail | String | The detail of the image file. Specifies the detail level of the image if specified by the user. “low” uses fewer tokens, you can opt in to high resolution using “high”. Default is “auto”. |
Return Value
A new instance of MessageContentRequest with ImageFile content.
See Also
- class MessageContentRequest
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF