APIv1.ImageGenerationData interface
Data for image generations.
This interface was referenced by V1's JSON-Schema via the definition "ImageGenerationData".
Signature:
export interface ImageGenerationData
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string[] |
(Optional) a list of valid CSS color strings | ||
|
number |
(Optional) | ||
|
string |
(Optional) | ||
|
boolean |
(Optional) Prompt moderation will cause image generation requests to synchronously fail (i.e. return a 422 status code) if it detects content that our underlying models may reject. Setting | ||
|
string |
the generation style id | ||
|
boolean |
(Optional) setting to | ||
|
"graphic" | "pattern" | "scene" |