Skip to content

An async .NET wrapper over the DallE-Mini image generation service

License

Notifications You must be signed in to change notification settings

ssaini456123/DallE.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4c5939d · Mar 2, 2025

History

32 Commits
Mar 2, 2025
Mar 2, 2025
Sep 17, 2022
Sep 17, 2022
Mar 1, 2025
Sep 17, 2022
Mar 1, 2025
Mar 1, 2025

Repository files navigation

DallE.Net

DallE.Net (Formerly Craiyon.NET) is a library that allows you to interact with Craiyon. An AI Image generation service powered by DALL-E.

Usage

Bulk gallery downloads can be done as such:

using DallE.Net;

namespace Craiyon.Net.Tests
{
    public class GalleryDl
    {
        public static async Task Main(string[] args)
        {

            Console.WriteLine("Give me a prompt to generate:");
            string prompt = Console.ReadLine();

            var dallEService = new DallEService(); // Gallery index isn't needed if you are downloading the entire gallery.

            try
            {
                await dallEService.DownloadGalleryAsync(prompt, "testFolder");
            }
            catch (Exception e)
            {
                Console.WriteLine(e.ToString());
            }
        }
    }
}

About

An async .NET wrapper over the DallE-Mini image generation service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages