AI
Start an image generation
Queues an image and returns a jobId right away. Poll GET /ai/images/{jobId} until status is completed or failed; a completed job carries the imageUrl. Images take roughly 10 to 40 seconds. Credits are charged when generation starts and refunded if it fails.. Requires the ai.generate permission.
post/ai/images
Request
- Base URL: https://post.adaptlypost.com/post/api/v1
- URL: https://post.adaptlypost.com/post/api/v1/ai/images
- Auth: HTTP bearer
Headers
X-Workspace-Idstring
The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from GET /workspaces. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with code: workspace_access_denied. An API key belongs to one workspace: send its own id or leave the header out
Request body
Response
Image generation queued
Changes
No recorded changes to this operation across all 2 revisions of this API.