Skip to content
This repository was archived by the owner on Mar 21, 2026. It is now read-only.

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mystic

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Mystic OpenAPI specification using 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

using Mystic;

using var api = new MysticApi(apiKey);

var result = await api.Runs.SubmitRunAsync(
    pipeline: "black-forest-labs/flux-pro:v1",
    inputs: new List<RunInput>
    {
        new()
        {
            Type = RunIOType.Dictionary,
            Value = new RunInputValue
            {
                AdditionalProperties = new Dictionary<string, object>
                {
                    ["prompt"] = "a female, european, young adult, fit body, wavy acid orange hair, wearing open swimsuit, sea in the background.",
                    ["width"] = 1024,
                    ["height"] = 1024,
                    ["variant"] = "flux.1-pro",
                    ["steps"] = 25,
                    ["prompt_upsampling"] = false,
                    ["seed"] = Random.Shared.Next(0, 1000000),
                    ["guidance"] = 3.5,
                    ["safety_tolerance"] = 5,
                    ["interval"] = 3,
                }
            },
        },
    }
);

Console.WriteLine($"Output: {new Uri(result.Outputs![0].File!.Url!)}");

Support

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

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

CodeRabbit logo

This project is supported by CodeRabbit through the Open Source Support Program.

About

Generated C# SDK based on official Mystic OpenAPI specification

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages

Generated from tryAGI/SdkTemplate