{"id":38213332,"url":"https://github.com/tsjdev-apps/openai-imagedescription-comparison","last_synced_at":"2026-01-17T00:45:21.527Z","repository":{"id":240299230,"uuid":"802207482","full_name":"tsjdev-apps/openai-imagedescription-comparison","owner":"tsjdev-apps","description":"Simple .NET console application to compare the vision functionality to get an image description.","archived":false,"fork":false,"pushed_at":"2024-05-19T08:00:20.000Z","size":7104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-19T09:21:25.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsjdev-apps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tsjdev-apps"}},"created_at":"2024-05-17T18:22:24.000Z","updated_at":"2024-05-19T08:00:21.000Z","dependencies_parsed_at":"2024-05-17T21:41:34.048Z","dependency_job_id":"b9d0056d-35a6-48c6-b2e8-ff3f8a44225c","html_url":"https://github.com/tsjdev-apps/openai-imagedescription-comparison","commit_stats":null,"previous_names":["tsjdev-apps/openai-imagedescription-comparison"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsjdev-apps/openai-imagedescription-comparison","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagedescription-comparison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagedescription-comparison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagedescription-comparison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagedescription-comparison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsjdev-apps","download_url":"https://codeload.github.com/tsjdev-apps/openai-imagedescription-comparison/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagedescription-comparison/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T23:55:29.509Z","status":"ssl_error","status_checked_at":"2026-01-16T23:55:29.108Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T00:45:21.427Z","updated_at":"2026-01-17T00:45:21.509Z","avatar_url":"https://github.com/tsjdev-apps.png","language":"C#","funding_links":["https://github.com/sponsors/tsjdev-apps"],"categories":[],"sub_categories":[],"readme":"# Getting an image description using OpenAI Large Language Models\n\n![Header](./docs/header.png)\n\nThis repository contains a simple console application written in .NET 8 to demonstrate how to get an image description by using Large Language Models from [OpenAI](https://openai.com) and/or [Azure OpenAI](https://azure.microsoft.com/en-us/products/ai-services/openai-service) using the [Azure.AI.OpenAI](https://www.nuget.org/packages/Azure.AI.OpenAI/) NuGet package.\n\n\n## Usage\n\nYou need to create an OpenAI account on this [website](https://platform.openai.com/docs/overview). You have to pay to use the API so make sure that you add your payment information. After that, you can create an API Key [here](https://platform.openai.com/api-keys) for further use. If you have access to an Azure OpenAI instance you can also use this instance for the demo application.\n\nJust run the app and follow the steps displayed on the screen.\n\n\n## Screenshots\n\n\nHere you can see the console application in action:\n\nFirst you need to select the host.\n\n![Console1](./docs/sample-01.png)\n\nIf you select *OpenAI* you need to select the used Large Language Model.\n\n![Console2](./docs/sample-02.png)\n\nAfter providing a path to the picture file, you will get the image description and also the used tokens. Here is the sample using **GPT-4 Turbo**.\n\n![Console3](./docs/sample-03.png)\n\nHere is the sample using **GPT-4o**.\n\n![Console3](./docs/sample-04.png)\n\n## Blog Post\n\nIf you are more interested into details, please see the following posts on [medium.com](https://www.medium.com) or in my [personal blog](https://www.tsjdev-apps.de):\n\n- [Getting an image description using GPT-4o or GPT-4 Turbo](https://medium.com/medialesson/getting-an-image-description-using-gpt-4o-or-gpt-4-turbo-e771e1b3f262)\n- [Einrichtung von OpenAI](https://www.tsjdev-apps.de/einrichtung-von-openai/)\n- [Einrichtung von Azure OpenAI](https://www.tsjdev-apps.de/einrichtung-von-azure-openai/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fopenai-imagedescription-comparison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsjdev-apps%2Fopenai-imagedescription-comparison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fopenai-imagedescription-comparison/lists"}