Generate Social Post
POST /social/posts/generate
POST
/social/posts/generate
Draft up to three variants with AI. SPENDS CREDITS (credits_used); saves nothing.
Authorizations
Parameters
Header Parameters
Request Body required
Ask the AI studio for draft variants. SPENDS CREDITS; saves nothing.
The variants come back in the response - create a post from the one you
want with POST /social/posts.
object
hashtags_max
integer
refine
Any of:
Rewrite an existing draft instead of generating from scratch.
object
body
required
string
instruction
required
string
null
sources
Any of:
Array<string>
null
variants
integer
Responses
200
Successful Response
object
data
required
Generated drafts. Nothing has been saved.
object
credits_used
required
integer
provenance
required
Array<string>
variants
required
Array<object>
One generated draft.
object
body
required
string
frame
required
string
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string