varclient=newXaiClient(apiKey);// Send both text and an image URL as a multi-part content message.varresponse=awaitclient.Chat.CreateChatCompletionAsync(model:"grok-2-vision",messages:[newChatCompletionMessage{Role=ChatCompletionMessageRole.User,Content=newOneOf<string,IList<ChatCompletionContentPart>>(newList<ChatCompletionContentPart>{newChatCompletionContentPart{Type=ChatCompletionContentPartType.Text,Text="Describe this image in one sentence.",},newChatCompletionContentPart{Type=ChatCompletionContentPartType.ImageUrl,ImageUrl=newChatCompletionContentPartImageUrl{Url="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/NewTux.svg/150px-NewTux.svg.png",},},}),},]);Console.WriteLine(response.Choices![0].Message?.Content);