Documentation
¶
Overview ¶
Package graphx 从 workflow.Graph 抽取各域(图/视频/音频)共用字段。
Index ¶
- func AudioInstructions(graph workflow.Graph) (string, bool)
- func AudioLanguageType(graph workflow.Graph) (string, bool)
- func AudioOptimizeInstructions(graph workflow.Graph) (bool, bool)
- func AudioVoice(graph workflow.Graph) (string, bool)
- func BoolOption(graph workflow.Graph, keys ...string) (bool, bool)
- func DeriveResolution(graph workflow.Graph) (string, bool)
- func ImageURLs(graph workflow.Graph) []string
- func IntOption(graph workflow.Graph, keys ...string) (int, bool)
- func MediaURLs(graph workflow.Graph) []string
- func Prompt(graph workflow.Graph) (string, error)
- func Resolution(graph workflow.Graph) (string, bool)
- func Size(graph workflow.Graph, fallback string) string
- func StringOption(graph workflow.Graph, keys ...string) (string, bool)
- func VideoEditMedia(graph workflow.Graph) []map[string]any
- func VoiceDesignFields(graph workflow.Graph) (voicePrompt, previewText, targetModel string, err error)
- func VoiceDesignLanguage(graph workflow.Graph) (string, bool)
- func VoiceDesignOmitPreview(graph workflow.Graph) bool
- func VoiceDesignPreferredName(graph workflow.Graph) (string, bool)
- func VoiceDesignResponseFormat(graph workflow.Graph) (string, bool)
- func VoiceDesignSampleRate(graph workflow.Graph) (int, bool)
- func WidthHeightSize(graph workflow.Graph) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VoiceDesignFields ¶
func VoiceDesignOmitPreview ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.