Start OpenAI brochure generation

Browser-session admin workflow for brochure image generation. Send mode=async to start a background job; the response is HTTP 202 with a Location header that clients can poll through openai-status.

post/api/listings/{id}/brochure/openai-generate

Request

  • Base URL: https://gstcranes.com
  • URL: https://gstcranes.com/api/listings/{id}/brochure/openai-generate
  • Auth: API key in cookie auth_session

Path parameters

idstring required

Listing id.

Headers

GST-API-Versionstring
Example:2026-07-06

Optional version pin. Omit for the current public API contract, or send 2026-07-06 for explicit agent integrations.

Idempotency-Keystring

Optional replay-safety key for agent clients. Public read endpoints have no side effects; write endpoints that spend credits or publish content remain browser-session workflows.

Request body

mode'sync' | 'async'

Use async to start a background generation job and poll status later.

style'A' | 'B' | 'C' | 'all'
quality'low' | 'medium' | 'high'
size'1024x1024' | '1536x1024' | '1024x1536'
callerstring

Response

Synchronous brochure generation result.

listing_idstring required
stylesstring[] required
total_cost_estimate_usdnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.