generate_slideshow
Generate a TikTok slideshow from a Svmmon profile and a hook, then optionally deliver it to TikTok or Telegram as a draft or album.
Instructions
Generate ONE complete TikTok slideshow from a Svmmon profile and a hook, render it, and optionally deliver it to TikTok or Telegram. The profile is the source of truth for tone, preset, images, slide counts, and CTA. Use when the user asks to make/create/build a slideshow or post from a hook. CONSUMES ONE SLIDESHOW from the monthly cap and is NOT idempotent — never call it twice for the same request; if it times out, check list_slideshows before retrying (the slideshow may already exist). Takes 30-120 seconds. Check get_usage first if you may be near the monthly cap. Returns a slideshow_id and a signed ZIP download_url valid for 24 hours. Delivery failures never fail generation — a failed TikTok/Telegram send comes back as a reason, not an error. Requires a ready profile_id (call list_profiles; only ready:true profiles can generate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | The id of a READY Svmmon profile (ready:true in list_profiles). The profile must have hook/body image collections configured. Must belong to the key owner. | |
| hook | Yes | The hook line — becomes slide 1 and the TikTok post title. Max 1000 chars. Often the top result from generate_hooks. | |
| preset_id | No | Optional slide-structure preset id (from list_presets). Defaults to the profile's preset, then 'listicle'. An unknown id is rejected by the API. | |
| deliver | No | Where to send the rendered slideshow. 'tiktok' pushes to the profile's linked TikTok inbox draft; 'telegram' sends the photo album; 'none' (default) just returns the download link. | none |
| tiktok_account_id | No | Optional, only with deliver:'tiktok'. A confirmation that must match the profile's linked TikTok account, or delivery fails with a mismatch reason. |