Skip to content

ListPresetAvatars

This example assumes using Runway; is in scope and apiKey contains your Runway API key.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
var avatars = Enum.GetValues<CreateAvatarVideosRequestAvatarRunwayPresetAvatarPresetId>();

foreach (var avatar in avatars)
{
    Console.WriteLine(avatar.ToValueString());
}

var voices = Enum.GetValues<CreateAvatarsRequestVoiceRunwayLivePresetVoicePresetId>();

foreach (var voice in voices)
{
    Console.WriteLine(voice.ToValueString());
}