AI
Generate a featured image
Either prompt or articleId must be provided. When articleId is given and prompt is omitted, the prompt is derived from the article’s title, summary, tags and a content excerpt. setAsThumbnail stores the generated image as the article thumbnail.
POST
Authorizations
Body
application/json
- Option 1
- Option 2
Text description of the desired image
Article whose content is used to build the prompt
Example:
"{{objectId}}"
Output dimensions
Available options:
1024x1024, 1024x1536, 1536x1024, auto Rendering quality
Available options:
low, medium, high, auto Art direction
Available options:
vivid, natural If true, sets the article thumbnail to the generated image (requires articleId)
Response
OK (image generated)

