RepurposeInput
Possible values: [url, youtube, pdf, text]
Article URL (url) or YouTube video URL (youtube). For text, an optional link to mention.
Possible values: <= 2000 characters
Public URL of a PDF (pdf), at most 20 MB.
Possible values: <= 2000 characters
Required for text. For youtube, overrides the video title.
Possible values: <= 500 characters
Required for text. Long sources are cut to about 12,000 characters.
Possible values: >= 100 characters and <= 100000 characters
Video transcript for youtube.
Possible values: <= 100000 characters
Limit to connected accounts of these networks. Ignored when account_ids is set.
Target accounts. Default is every connected account.
Possible values: [neutral, friendly, formal, edgy, engaging, casual, professional, humorous, inspirational, conversational]
engagingPossible values: [short, medium, long]
mediumPossible values: [none, few, some, many]
fewPossible values: [none, question, link, subscribe, follow, share, learn_more, signup, buy, download]
nonePossible values: <= 10 characters
autoPossible values: <= 500 characters
Render carousel slides (one extra AI credit for the outline).
trueTotal slides including the hook and call-to-action slides.
Possible values: >= 3 and <= 8
7theme object
Slide colours as #RRGGBB.
Possible values: Value must match regular expression ^#?[0-9a-fA-F]{6}$
Possible values: Value must match regular expression ^#?[0-9a-fA-F]{6}$
Possible values: Value must match regular expression ^#?[0-9a-fA-F]{6}$
Create the draft post. false returns captions and slides only.
truetrueAnswer 202 with a run id right away instead of waiting up to 20 seconds for the result.
false{
"source_type": "url",
"url": "string",
"pdf_url": "string",
"title": "string",
"text": "string",
"transcript": "string",
"platforms": [
"string"
],
"account_ids": [
0
],
"tone": "engaging",
"content_length": "medium",
"hashtags": "few",
"cta": "none",
"language": "auto",
"custom_instructions": "string",
"carousel": true,
"slide_count": 7,
"theme": {
"background": "string",
"foreground": "string",
"accent": "string"
},
"create_post": true,
"use_brand_voice": true,
"async": false
}