Interface: GhibliGenerationOptions
Defined in: src/ghibli/ghibli.ts:17
This interface defines the input options for generating a Ghibli-style image.
Properties
prompt
- Type:
string
- Defined in:
src/ghibli/ghibli.ts:18
The prompt provides the textual input that guides the generation of the image. It is essential to formulate a clear and descriptive prompt to achieve the desired artistic outcome.
style
- Type:
GhibliStyle
- Defined in:
src/ghibli/ghibli.ts:19
The style
property specifies the visual style of the generated image, adhering to the conventions established in the GhibliStyle
type alias. Selecting an appropriate style enhances the thematic relevance of the generated artwork.
Example
const options: GhibliGenerationOptions = {
prompt: "A serene landscape with mountains and a river",
style: "Studio Ghibli"
};
Last updated on