openai

package
v0.0.0-...-0b98263 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnhancePrompt

func EnhancePrompt(prompt, authorType string) (string, error)

func RequestImage

func RequestImage(imageData *ImageData) error

Types

type ImageData

type ImageData struct {
	EnhancedPrompt string `json:"enhancedPrompt"`
	TersePrompt    string `json:"tersePrompt"`
	TitlePrompt    string `json:"titlePrompt"`
	SeriesName     string `json:"seriesName"`
	Filename       string `json:"filename"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL