tryAGI.Replicate 1.0.7-dev.111

Prefix Reserved
This is a prerelease version of tryAGI.Replicate.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package tryAGI.Replicate --version 1.0.7-dev.111
                    
NuGet\Install-Package tryAGI.Replicate -Version 1.0.7-dev.111
                    
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.111" />
                    
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.111" />
                    
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.111
                    
#r "nuget: tryAGI.Replicate, 1.0.7-dev.111"
                    
#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.111
                    
#: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.111&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=tryAGI.Replicate&version=1.0.7-dev.111&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.117 44 4/1/2026
1.0.7-dev.116 43 3/29/2026
1.0.7-dev.111 142 3/28/2026
1.0.7-dev.110 41 3/28/2026
1.0.7-dev.108 41 3/28/2026
1.0.7-dev.107 45 3/28/2026
1.0.7-dev.105 42 3/27/2026
1.0.7-dev.99 37 3/20/2026
1.0.7-dev.97 42 3/20/2026
1.0.7-dev.96 37 3/20/2026
1.0.7-dev.93 35 3/19/2026
1.0.7-dev.92 37 3/19/2026
1.0.7-dev.91 36 3/19/2026
1.0.7-dev.90 40 3/19/2026
1.0.7-dev.87 35 3/19/2026
1.0.7-dev.86 33 3/19/2026
1.0.7-dev.85 35 3/19/2026
1.0.7-dev.84 38 3/19/2026
1.0.7-dev.83 36 3/18/2026
1.0.6 381 4/20/2025
Loading failed