usingvarclient=newRunwayClient(apiKey);// Start a generation task.varresponse=awaitclient.StartGenerating.CreateImageToVideoAsync(xRunwayVersion:"2024-11-06",request:newCreateImageToVideoRequestGen3aTurbo{PromptImage="https://example.com/photo.jpg",PromptText="A slow zoom out revealing the landscape",Model="gen3a_turbo",Duration=5,Ratio=CreateImageToVideoRequestGen3aTurboRatio.x1280_768,});Console.WriteLine($"Task ID: {response.Id}");// Cancel the task before it finishes.awaitclient.TaskManagement.DeleteTasksByIdAsync(id:response.Id,xRunwayVersion:"2024-11-06");Console.WriteLine("Task cancelled successfully.");// Verify the task is no longer running.vartaskDetail=awaitclient.TaskManagement.GetTasksByIdAsync(id:response.Id,xRunwayVersion:"2024-11-06");