@hubfluencer/mcp 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -64,7 +64,9 @@ claude mcp add hubfluencer --env HUBFLUENCER_API_TOKEN=YOUR_TOKEN -- npx -y @hub
64
64
  | Tool | What it does |
65
65
  |---|---|
66
66
  | **`make_video`** | **One shot: prompt → finished MP4** (create → **price** → start → poll → download). Use this by default. Prices the job and checks your balance before charging; pass `dry_run:true` to preview the cost without spending, or `max_credits` to cap it. `kind:"auto"` picks a multi-scene editor ad for ad/promo/story briefs, a short for simple ones (reported as `kind_inferred`). |
67
- | `create_short` / `generate_short` | Create a short draft (0 credits) / render it (15 credits) |
67
+ | `create_short` / `generate_short` / `generate_short_text` | Create a short draft (0 credits) / generate editable overlay copy (1 AI assist) / render it (15 credits) |
68
+ | `create_slider` / `generate_slider` / `get_slider` | Create an image carousel draft (0 credits) / render it (1 credit per slide, 3–10) / read the per-slide image URLs + caption + hashtags. One prompt → N still slides + ready-to-post text. |
69
+ | `restyle_slider` / `edit_slider_slide` | Re-composite a **completed** carousel for **free** (0 credits): swap the template/accent on every slide, or rewrite one slide's headline/body/kicker. Reuses the AI backgrounds; poll `get_slider` until `completed`. |
68
70
  | `create_editor_ad` | Create an editor project **and** run autopilot end-to-end |
69
71
  | `start_autopilot` | Run autopilot on an **existing** editor draft (e.g. resume a `make_video` `dry_run`, or after topping up) |
70
72
  | `get_status` / `wait_for_completion` | Normalized `{stage, terminal, ready, video_url, error}`; block-poll until terminal (bounded) |
@@ -89,7 +91,7 @@ claude mcp add hubfluencer --env HUBFLUENCER_API_TOKEN=YOUR_TOKEN -- npx -y @hub
89
91
  | Tool | What it does |
90
92
  |---|---|
91
93
  | `get_ai_assists` / `unlock_ai_assists` | Check the daily quota / spend 1 credit for +10 |
92
- | `enhance_prompt` / `suggest_next_scene` / `suggest_music_prompt` | AI helpers (1 assist each) |
94
+ | `generate_short_text` / `enhance_prompt` / `suggest_next_scene` / `suggest_music_prompt` | AI helpers (1 assist each) |
93
95
 
94
96
  ## Typical flow
95
97
 
@@ -100,9 +102,16 @@ It prices the job and only charges if it's affordable (and within `max_credits`
100
102
  If it returns `terminal:false`, the render is still going — call `wait_for_completion` with the returned slug.
101
103
 
102
104
  **Granular (control/recovery):**
103
- `create_short` → `generate_short` → `wait_for_completion {kind:"short"}` → `download_result`, or
105
+ `create_short` → optional `generate_short_text` → `generate_short` → `wait_for_completion {kind:"short"}` → `download_result`, or
104
106
  `create_editor_ad` → `wait_for_completion {kind:"editor"}` → `download_result`.
105
107
 
108
+ **Image carousel:**
109
+ `create_slider({ prompt: "5 tips for…", mode: "ad_driven", slide_count: 5 })` → `generate_slider` →
110
+ poll `get_slider` until `completed:true`, then download each `slides[].image_url` and post them with the
111
+ returned `caption` + `hashtags`. To tweak the look afterward without re-paying, `restyle_slider`
112
+ (new template/accent, re-renders every slide) or `edit_slider_slide` (rewrite one slide's text) — both
113
+ free; poll `get_slider` again until `completed`.
114
+
106
115
  > Result URLs are presigned and expire (~24h). Download promptly. Publishing to
107
116
  > TikTok/Instagram requires a human-linked social account and is out of scope —
108
117
  > return the MP4 + a suggested caption instead.