# Interface: GenerateOptions (/pixi-vn-ai/index/interfaces/GenerateOptions)



Defined in: [src/types/GenerateOptions.ts:8](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/GenerateOptions.ts#L8)

Options shared by [ai.text.generateDialog](/pixi-vn-ai/index/namespaces/ai/namespaces/text/functions/generateDialog), [ai.image.generateBackground](/pixi-vn-ai/index/namespaces/ai/namespaces/image/functions/generateBackground) and
[ai.image.generateElement](/pixi-vn-ai/index/namespaces/ai/namespaces/image/functions/generateElement).

These options describe *what* should be included in the generated prompt.
The actual prompt text is always assembled internally by the PromptBuilder.

## Extended by [#extended-by]

* [`DialogGenerateOptions`](/pixi-vn-ai/index/interfaces/DialogGenerateOptions)
* [`ImageGenerateOptions`](/pixi-vn-ai/index/interfaces/ImageGenerateOptions)

## Properties [#properties]

### context? [#context]

\> `optional` **context?**: `string`

Defined in: [src/types/GenerateOptions.ts:19](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/GenerateOptions.ts#L19)

Additional developer context, injected verbatim into the prompt.

***

### history? [#history]

\> `optional` **history?**: `boolean`

Defined in: [src/types/GenerateOptions.ts:15](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/GenerateOptions.ts#L15)

Include the Pixi'VN narrative history.

When not false, the history is retrieved directly from Pixi'VN and serialized into JSON.

#### Default [#default]

```ts
true
```

***

### scene? [#scene]

\> `optional` **scene?**: `string`

Defined in: [src/types/GenerateOptions.ts:23](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/GenerateOptions.ts#L23)

Scene description.

***

### style? [#style]

\> `optional` **style?**: `string`

Defined in: [src/types/GenerateOptions.ts:27](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/GenerateOptions.ts#L27)

Desired style (tone of voice, art style, etc).
