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

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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