APIv1.GenerationResource interface
A Generation Resource
This interface was referenced by V1's JSON-Schema via the definition "GenerationResource".
Signature:
export interface GenerationResource
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Date |
when the generation was created | ||
|
DesignGenerationData | ImageGenerationData | LifestyleGenerationData | |||
|
string |
the generation id | ||
|
{ default: { fullsize: { url: string | null; }; }; } | |||
|
{ generationId: string; platform: "leonardo"; } | {} |
metadata accumulated during processing | ||
|
GenerationResult | null | |||
|
"canceled" | "error" | "ok" | "pending" | "running" | "waiting" |
the job status | ||
|
("design" | "image" | "lifestyle") & string |
the type of generation | ||
|
string |
the generation uri |