Skip to content

tryAGI/Pruna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pruna

Modern .NET SDK for Pruna generated from the provider's OpenAPI definition with AutoSDK.

Nuget package dotnet License: MIT Discord

Generated from the source spec

Built from Pruna's OpenAPI definition so the SDK stays close to the upstream API surface.

Auto-updated

Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.

Modern .NET

Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.

Docs from examples

Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.

Usage

using Pruna;

using var client = new PrunaClient(apiKey);

P-Video

Create a Pruna P-Video text-to-video prediction.

using var client = new PrunaClient(apiKey);

var response = await client.CreatePredictionAsync(
    model: ModelId.PVideo,
    trySync: false,
    request: new CreatePredictionRequest
    {
        Input = new PredictionInput
        {
            Prompt = "A sports car drifting through a neon-lit city at night, cinematic aerial shot.",
            Duration = 5,
            Resolution = PredictionInputResolution.x720p,
            AspectRatio = PredictionInputAspectRatio.x16_9,
        },
    });

Support

Bugs

Open an issue in tryAGI/Pruna.

Ideas and questions

Use GitHub Discussions for design questions and usage help.

Community

Join the tryAGI Discord for broader discussion across SDKs.

Acknowledgments

JetBrains logo

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

Releases

No releases published

Packages

 
 
 

Contributors