tryAGI.Replicate 1.0.7-dev.99

Prefix Reserved
This is a prerelease version of tryAGI.Replicate.
dotnet add package tryAGI.Replicate --version 1.0.7-dev.99
                    
NuGet\Install-Package tryAGI.Replicate -Version 1.0.7-dev.99
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="tryAGI.Replicate" Version="1.0.7-dev.99" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="tryAGI.Replicate" Version="1.0.7-dev.99" />
                    
Directory.Packages.props
<PackageReference Include="tryAGI.Replicate" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add tryAGI.Replicate --version 1.0.7-dev.99
                    
#r "nuget: tryAGI.Replicate, 1.0.7-dev.99"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package tryAGI.Replicate@1.0.7-dev.99
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=tryAGI.Replicate&version=1.0.7-dev.99&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=tryAGI.Replicate&version=1.0.7-dev.99&prerelease
                    
Install as a Cake Tool

Replicate

Nuget package dotnet License: MIT Discord

Features 🔥

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

Documentation

Examples and documentation can be found here: https://tryagi.github.io/Replicate/

Usage

using Replicate;

using var api = new ReplicateClient(apiKey);
var response = await api.ModelsPredictionsCreateAsync(
    input: new PredictionRequestInput
    {
        AdditionalProperties = new Dictionary<string, object>
        {
            ["seed"] = Random.Shared.Next(0, 1000000),
            ["steps"] = 25,
            ["prompt"] = "a female, european, young adult, fit body, wavy acid orange hair, wearing open swimsuit, sea in the background.",
            ["guidance"] = 3.5,
            ["interval"] = 3,
            ["aspect_ratio"] = "16:9",
            ["safety_tolerance"] = 5,
        },
    },
    prefer: "wait=60",
    modelOwner: "black-forest-labs",
    modelName: "flux-pro");
        
var endResponse = await response.WaitUntilSuccessfulAsync(
    api,
    pollingInterval: TimeSpan.FromSeconds(2),
    progress: new Progress<SchemasPredictionResponse>(p =>
        Console.WriteLine($"Status: {p.Status}")));

Console.WriteLine($@"Seed: {endResponse.Input?.Seed}.
Image available at:\n{endResponse.Output}");

output

Support

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

Acknowledgments

JetBrains logo

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

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.7-dev.99 0 3/20/2026
1.0.7-dev.97 0 3/20/2026
1.0.7-dev.96 0 3/20/2026
1.0.7-dev.93 16 3/19/2026
1.0.7-dev.92 21 3/19/2026
1.0.7-dev.91 24 3/19/2026
1.0.7-dev.90 28 3/19/2026
1.0.7-dev.87 24 3/19/2026
1.0.7-dev.86 23 3/19/2026
1.0.7-dev.85 25 3/19/2026
1.0.7-dev.84 28 3/19/2026
1.0.7-dev.83 26 3/18/2026
1.0.7-dev.82 33 3/18/2026
1.0.7-dev.81 23 3/18/2026
1.0.7-dev.80 29 3/18/2026
1.0.7-dev.79 31 3/18/2026
1.0.7-dev.78 30 3/17/2026
1.0.7-dev.77 48 3/16/2026
1.0.7-dev.75 41 3/16/2026
1.0.6 366 4/20/2025
Loading failed