Parameters
JSON body
Request body
application/jsonidstringRequiredPost external ID.
Example
a1b2c3d4-e5f6-7890Generates a new thumbnail image for the given post using OpenAI gpt-image-1. Inputs to the model: (a) one active reference image from the organisation library, (b) the post title and a short body excerpt in the org primary locale, (c) the organisation name, (d) the optional mood prompt. The generated image is stored in blob storage, linked to the post gallery, and becomes the main image if the post does not have one yet. Token spend is logged against the organisation monthly counter. Synchronous, ~10-30s. Returns 409 when no active reference image exists.
JSON body
idstringRequiredPost external ID.
a1b2c3d4-e5f6-78901 status code documented
This response returns no JSON body.
{
"success": true
}POST /bff/post/generate-thumbnail
curl -X POST "https://api.bizkithub.com/bff/post/generate-thumbnail" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"id": "a1b2c3d4-e5f6-7890"
}'All BizKitHub public API endpoints require authentication via API key.