Generate social media images from a caption
POST/:workspaceUuid/ai/image-generate
Generates one or more images and saves them immediately to the workspace media library.
Standard mode (recommended): provide caption + platform. PostBoost
builds a professional image prompt internally using platform-specific
templates. No prompt engineering required.
Developer mode: provide prompt directly to bypass prompt building.
If both caption and prompt are sent, standard mode runs.
Credits: count x credit_weight (default: 5 per image).
Request
Responses
- 200
- 401
- 422
- 429
Images generated and saved to media library
Missing or invalid API token.
Validation failed.
AI credits exhausted for this billing period