OPENAPI / COMPONENTS / SCHEMAS

Create Image Request data structure

CreateImageRequest

Structural definition for Create Image Request in the OpenAI API contract.

object14properties
backgroundstring

background value in the OpenAI API contract.

modelstring

model value in the OpenAI API contract.

moderationstring

moderation value in the OpenAI API contract.

ninteger

n value in the OpenAI API contract.

output_compressioninteger

output compression value in the OpenAI API contract.

output_formatstring

output format value in the OpenAI API contract.

partial_imagesPartialImages

partial images value in the OpenAI API contract.

promptstringrequired

prompt value in the OpenAI API contract.

qualitystring

quality value in the OpenAI API contract.

response_formatstring

response format value in the OpenAI API contract.

sizestring

size value in the OpenAI API contract.

streamboolean

stream value in the OpenAI API contract.

stylestring

style value in the OpenAI API contract.

userstring

user value in the OpenAI API contract.