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

colors?

string[]

(Optional) a list of valid CSS color strings

count?

number

(Optional)

prompt?

string

(Optional)

skip_prompt_moderation?

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 skip_prompt_moderation to true will bypass the moderation filter and attempt to generate the image(s) anyway. Please note that the generation may still asynchronously fail due to content moderation at the model-level.

style

string

the generation style id

transparency?

boolean

(Optional) setting to true will produce a transparent background when the generation style supports transparency

type

"graphic" | "pattern" | "scene"

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2025 Core3D, Inc. All Rights Reserved.