{"id":38212917,"url":"https://github.com/tsjdev-apps/openai-imagegeneration","last_synced_at":"2026-01-17T00:45:00.081Z","repository":{"id":237339809,"uuid":"793124350","full_name":"tsjdev-apps/openai-imagegeneration","owner":"tsjdev-apps","description":"Simple .NET console application to demonstrate the image generation process using OpenAI and/or Azure OpenAI.","archived":false,"fork":false,"pushed_at":"2024-05-06T16:10:42.000Z","size":2046,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-06T19:38:00.921Z","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-04-28T13:52:24.000Z","updated_at":"2024-05-06T16:10:45.000Z","dependencies_parsed_at":"2024-05-05T19:48:31.481Z","dependency_job_id":null,"html_url":"https://github.com/tsjdev-apps/openai-imagegeneration","commit_stats":null,"previous_names":["tsjdev-apps/openai-imagegeneration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsjdev-apps/openai-imagegeneration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagegeneration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagegeneration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagegeneration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagegeneration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsjdev-apps","download_url":"https://codeload.github.com/tsjdev-apps/openai-imagegeneration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-imagegeneration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490523,"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:44:59.408Z","updated_at":"2026-01-17T00:45:00.053Z","avatar_url":"https://github.com/tsjdev-apps.png","language":"C#","funding_links":["https://github.com/sponsors/tsjdev-apps","https://www.buymeacoffee.com/tsjdevapps"],"categories":[],"sub_categories":[],"readme":"# Create stunning images with DALL·E 3 with (Azure) OpenAI\n\n![Header](./docs/header.webp)\n\nThis repository contains a simple console application written in .NET 8 to demonstrate how to create stunning images with [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\nHEre you can se the console application in action.\n\nFirst you need to select the host.\n\n![App](./docs/sample-01.png)\n\nYou need to enter the needed properties, like endpoints or API keys. Finally you can insert your prompt to describe the desired image.\n\n![App](./docs/sample-02.png)\n\nYou will be presented with a link to the generated image and also an extended version of the prompt.\n\n![App](./docs/sample-03.png)\n\nThe following image is the generated image for the prompt `A small cat sitting in front of the Sydney Opera House.`\n\n![App](./docs/generated-image.png)\n\n\n## Blog Posts / YouTube Video\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- [Use OpenAI’s DALL-E 3 to generate stunning images](https://medium.com/medialesson/use-openais-dall-e-3-to-generate-stunning-images-ef1a301bc046)\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/)\n\nYou can also watch the following video on my [YouTube channel](https://www.youtube.com/@tsjdevapps):\n- [Bild-Generierung mit (Azure) OpenAI und DALL-E 3](https://www.youtube.com/watch?v=G6cyQuQMo6Q)\n\n\n## Buy Me A Coffee\n\nI appreciate any form of support to keep my _Open Source_ activities going.\n\nWhatever you decide, be it reading and sharing my blog posts, using my NuGet packages or buying me a coffee/book, thank you ❤️.\n\n\u003ca href=\"https://www.buymeacoffee.com/tsjdevapps\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-yellow.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fopenai-imagegeneration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsjdev-apps%2Fopenai-imagegeneration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fopenai-imagegeneration/lists"}