Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

GeneratedImage.md

46 lines854 Bytes

1---
2id: GeneratedImage
3title: GeneratedImage
4---
5​
6# Interface: GeneratedImage
7​
8Defined in: [types.ts:789](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L789)
9​
10A single generated image
11​
12## Properties
13​
14### b64Json?
15​
16```ts
17optional b64Json: string;
18```
19​
20Defined in: [types.ts:791](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L791)
21​
22Base64-encoded image data
23​
24***
25​
26### revisedPrompt?
27​
28```ts
29optional revisedPrompt: string;
30```
31​
32Defined in: [types.ts:795](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L795)
33​
34Revised prompt used by the model (if applicable)
35​
36***
37​
38### url?
39​
40```ts
41optional url: string;
42```
43​
44Defined in: [types.ts:793](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L793)
45​
46URL to the generated image (may be temporary)