Documentation
¶
Index ¶
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.runway" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.runway" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunwayAvatar ¶
type RunwayAvatar struct {
// contains filtered or unexported fields
}
func NewRunwayAvatar ¶
func NewRunwayAvatar(apiKey string, opts ...RunwayAvatarOption) (*RunwayAvatar, error)
func (*RunwayAvatar) AvatarIdentity ¶
func (a *RunwayAvatar) AvatarIdentity() string
func (*RunwayAvatar) Provider ¶
func (a *RunwayAvatar) Provider() string
func (*RunwayAvatar) UpdateState ¶
func (a *RunwayAvatar) UpdateState(state agent.AvatarState) error
type RunwayAvatarOption ¶
type RunwayAvatarOption func(*RunwayAvatar)
func WithRunwayAPIURL ¶
func WithRunwayAPIURL(apiURL string) RunwayAvatarOption
func WithRunwayAvatarID ¶
func WithRunwayAvatarID(avatarID string) RunwayAvatarOption
func WithRunwayMaxDuration ¶
func WithRunwayMaxDuration(maxDuration int) RunwayAvatarOption
func WithRunwayPresetID ¶
func WithRunwayPresetID(presetID string) RunwayAvatarOption
Click to show internal directories.
Click to hide internal directories.