Modern .NET SDK for Pruna generated from the provider's OpenAPI definition with AutoSDK.
Built from Pruna's OpenAPI definition so the SDK stays close to the upstream API surface.
Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.
Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.
using Pruna;
using var client = new PrunaClient(apiKey);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,
},
});Open an issue in tryAGI/Pruna.
Use GitHub Discussions for design questions and usage help.
Join the tryAGI Discord for broader discussion across SDKs.
This project is supported by JetBrains through the Open Source Support Program.
