image-generation

Generate Image

Generate an image using OpenAI's image generation API.

This endpoint accepts an image upload and various parameters to transform the image according to the provided prompt and style settings.

post/api/generate-image

Request

Headers

x-user-idstring nullable

Request body multipart/form-data

imagestring binary required
promptstring required
stylestring nullable
scenestring nullable
input_fidelitystring nullable
backgroundstring nullable
output_formatstring nullable
qualitystring nullable
sizestring nullable
ninteger nullable

Response

Successful Response

successboolean required

Whether the generation was successful

errorstring nullable

Error message if generation failed

Changes

No recorded changes to this operation across all 23 revisions of this API.