usingReplicate;usingvarapi=newReplicateClient(apiKey);varresponse=awaitapi.ModelsPredictionsCreateAsync(input:newPredictionRequestInput{AdditionalProperties=newDictionary<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");varendResponse=awaitresponse.WaitUntilSuccessfulAsync(api,pollingInterval:TimeSpan.FromSeconds(2),progress:newProgress<SchemasPredictionResponse>(p=>Console.WriteLine($"Status: {p.Status}")));Console.WriteLine($@"Seed: {endResponse.Input?.Seed}.Image available at:\n{endResponse.Output}");