Repurpose long-form content into a draft post set with a carousel
POST/:workspaceUuid/ai/repurpose
Turns an article URL, a YouTube video, a PDF or pasted text into one draft post with a caption for every target account, plus a carousel of rendered slide images (hook, 1 to 6 idea slides, call to action; 1080×1350 PNG). Nothing is published or scheduled.
Sources (source_type):
url: the article is fetched and its main text extracted.youtube: title, description and chapters come from YouTube; send the transcript intranscriptfor better results (required when the description is short).pdf:pdf_urlmust be a public PDF of at most 20 MB; the first 30 pages are read.text: sendtitleandtext.
Carousel per network: Instagram, Facebook, Threads up to 10 slides; LinkedIn up to 9;
X and Bluesky up to 4; other networks get the cover slide; YouTube and TikTok get none
(listed in warnings). Without a carousel, the source image (article image or video
thumbnail) is attached when available.
AI credits: one per target account plus one for the carousel outline. Slides are drawn
without AI and cost nothing. The workspace brand voice applies unless use_brand_voice is
false. Send an Idempotency-Key so a retried call does not create a second draft.
Limited to 10 calls per minute.
Request
Responses
- 200
- 401
- 403
- 422
- 429
Draft post set created
Missing or invalid API token.
Access denied. Returned when the caller is not a member of the workspace, lacks the role
the endpoint needs, or the workspace's plan does not include API access (capability api).
Validation failed.
AI credits exhausted for this billing period.