Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tryagi/ideogram

Generated C# SDK based on official Ideogram OpenAPI specification
https://github.com/tryagi/ideogram

ai csharp dotnet generated ideogram image-generation langchain langchain-dotnet net8 netstandard sdk

Last synced: about 1 month ago
JSON representation

Generated C# SDK based on official Ideogram OpenAPI specification

Awesome Lists containing this project

README

        

# Ideogram

[![Nuget package](https://img.shields.io/nuget/vpre/Ideogram)](https://www.nuget.org/packages/Ideogram/)
[![dotnet](https://github.com/tryAGI/Ideogram/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/tryAGI/Ideogram/actions/workflows/dotnet.yml)
[![License: MIT](https://img.shields.io/github/license/tryAGI/Ideogram)](https://github.com/tryAGI/Ideogram/blob/main/LICENSE.txt)
[![Discord](https://img.shields.io/discord/1115206893015662663?label=Discord&logo=discord&logoColor=white&color=d82679)](https://discord.gg/Ca2xhfBf3v)

## Features 🔥
- Fully generated C# SDK based on [official Ideogram OpenAPI specification](https://raw.githubusercontent.com/Ideogram/assemblyai-api-spec/main/openapi.yml) using [AutoSDK](https://github.com/HavenDV/AutoSDK)
- Same day update to support new features
- Updated and supported automatically if there are no breaking changes
- All modern .NET features - nullability, trimming, NativeAOT, etc.
- Support .Net Framework/.Net Standard 2.0

### Usage
```csharp
using Ideogram;

using var api = new IdeogramApi(apiKey);
GenerateImageResponse image = await api.Generate.PostGenerateImageAsync(new ImageRequest
{
Prompt = "A beautiful sunset",
AspectRatio = AspectRatio.ASPECT169,
Seed = Random.Shared.Next(),
StyleType = StyleType.REALISTIC,
Resolution = Resolution.x1024768,
});

Console.WriteLine($"Generated image: {image.Data[0].Url}");

image.Data[0].Url.Should().NotBeNullOrEmpty();
```

## Support

Priority place for bugs: https://github.com/tryAGI/Ideogram/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Ideogram/discussions
Discord: https://discord.gg/Ca2xhfBf3v

## Acknowledgments

![JetBrains logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png)

This project is supported by JetBrains through the [Open Source Support Program](https://jb.gg/OpenSourceSupport).

![CodeRabbit logo](https://opengraph.githubassets.com/1c51002d7d0bbe0c4fd72ff8f2e58192702f73a7037102f77e4dbb98ac00ea8f/marketplace/coderabbitai)

This project is supported by CodeRabbit through the [Open Source Support Program](https://github.com/marketplace/coderabbitai).