AI Image Generator - Protected

Generate Single Image

Start an AI image generation job. Returns {job_id} immediately; client polls GET /websites/{website_id}/generate-image/{job_id} for the result.

Body: {"prompt": "...", "use_context": true, "page_slug": "...", "block_type": "...", "block_props": {...}, "aspect_ratio": "16:9", # optional — one of 1:1,2:3,3:2,3:4,4:3,9:16,16:9,21:9 "image_size": "2K"} # optional — 1K | 2K | 4K (default 2K)

post/api/websites/{website_id}/generate-single-image

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/websites/{website_id}/generate-single-image
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

website_idinteger required

Headers

x-api-tokenstring nullable

Request body

object required

Response

Successful Response

unknown required

Changes

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