Skip to main content
POST

Authorizations

x-api-key
string
header
required

Body

application/json
prompt
string
required

Text description of the desired image

articleId
string

Article whose content is used to build the prompt

Example:

"{{objectId}}"

size
enum<string>
default:1024x1024

Output dimensions

Available options:
1024x1024,
1024x1536,
1536x1024,
auto
quality
enum<string>

Rendering quality

Available options:
low,
medium,
high,
auto
style
enum<string>

Art direction

Available options:
vivid,
natural
setAsThumbnail
boolean

If true, sets the article thumbnail to the generated image (requires articleId)

Response

OK (image generated)