Open History to see the last commit
1---
2id: ImageGenerationResult
3title: ImageGenerationResult
4---
5
6# Interface: ImageGenerationResult
7
8Defined in: [packages/ai/src/types.ts:1863](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1863)
9
10Result of image generation
11
12## Properties
13
14### id
15
16```ts
17id: string;
18```
19
20Defined in: [packages/ai/src/types.ts:1865](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1865)
21
22Unique identifier for the generation
23
24***
25
26### images
27
28```ts
29images: GeneratedImage[];
30```
31
32Defined in: [packages/ai/src/types.ts:1869](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1869)
33
34Array of generated images
35
36***
37
38### model
39
40```ts
41model: string;
42```
43
44Defined in: [packages/ai/src/types.ts:1867](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1867)
45
46Model used for generation
47
48***
49
50### usage?
51
52```ts
53optional usage: TokenUsage<ProviderUsageDetails>;
54```
55
56Defined in: [packages/ai/src/types.ts:1871](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1871)
57
58Token usage information (if available)