CraftStory

io.github.itseez3d由 GitHub 帳號 itseez3d 發布v0.8.0更新於 Oct 26, 2026

Talking-avatar videos from a photo, short clips with sound, images and music.

發布方自己的服務:Craft

已驗證Streamable HTTP可網頁執行媒體與設計AI 與機器學習

概覽

AI 產生的概覽

CraftStory 透過其 API,讓助理用一張照片產生會說話的虛擬人影片、短影音、圖片、音樂與音效。

可以做什麼
  • 用照片加音訊產生會說話的虛擬人影片,或用 MiniMax H3 與雲端模型產生照片短影音
  • 用文字搭配音色庫或複製音色合成語音,並上傳本機照片、錄音與參考素材
  • 依提示詞產生圖片、音樂曲目與音效
  • 查詢模型、音色、虛擬形象、點數費用預估與任務狀態,並取得簽章影片結果
  • 將成品影片升頻,並依引導式提示完成照片轉說話影片的流程
適用情境
適合想讓助理把一張人像照片和一段腳本變成配音虛擬人影片,或在對話中直接產出短影音、圖片、音樂與音效的情境。適合已開通含 API 權限的 CraftStory 方案、並想由 MCP 用戶端驅動整個產生與輪詢流程的創作者與行銷人員。
執行需求
可使用帶 OAuth 登入的託管端點,或以 npx 執行 npm 套件,後者需要 Node.js 20 或更新版本。需要開通含 API 權限方案的 CraftStory 帳號,並透過 CRAFTSTORY_API_KEY 提供 API 金鑰;可選 CRAFTSTORY_API_BASE 覆寫 API 位址。需要能連線至 CraftStory API 的網路。
安裝前請注意
產生依點數計費,與應用程式內相同,送出任務會花錢;可先用 preview_cost 等費用預估工具估算。API 金鑰屬機密,應避免寫進程式碼儲存庫。傳給工具的本機檔案路徑會上傳到 CraftStory API,產生的影片與上傳檔案會保存在你的 CraftStory 帳號中。建議保持用戶端的工具核准提示開啟。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 CraftStory,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.itseez3d%2Fcraftstory-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "craftstory": {
      "type": "http",
      "url": "https://mcp.craftstory.com/mcp"
    }
  }
}

README

CraftStory MCP server

Generate talking-avatar videos from Claude, Cursor, Claude Code or any other MCP client, using the CraftStory API:

  • CraftStory 2.0 - a talking video of any length from one photo plus an audio clip (script + voice, your own recording, or a custom avatar). 8-15 minutes per video.
  • MiniMax H3 - a clip of up to 15 s from one photo: description-driven with generated sound, audio-driven with lip-sync, or the reference model without audio (the lines written in the description are voiced; extra photos keep a second person or a product consistent). 1-3 minutes.

You need Node.js 20 or newer, a CraftStory account on a plan with API access, and an API key (app: Account -> API Access, keys look like sk-cs-...). Generations are billed in credits exactly like in the app; failed jobs are refunded.

Config

Standard MCP configuration, identical for every client (Claude Desktop, Cursor, Windsurf, VS Code, Zed...):

json
{  "mcpServers": {    "craftstory": {      "command": "npx",      "args": ["-y", "@craftstory/mcp"],      "env": {        "CRAFTSTORY_API_KEY": "sk-cs-..."      }    }  }}

Install

claude.ai, Claude Desktop and mobile: hosted connector

No key and nothing to install; connectors belong to your Claude account, so one setup covers web, desktop and mobile. In claude.ai open Settings → Connectors → Add custom connector, paste https://mcp.craftstory.com/mcp, open the advanced settings and set OAuth Client ID to hAlwpyaDeO0CmuEKMibZxiXxtTT09NXL (public, no secret), then sign in with your CraftStory account. The account needs a plan with API access (Producer). The hosted server speaks Streamable HTTP with OAuth 2.1 (Auth0) and runs the same tools as the package below; local file paths and chat attachments are not available there: pass a public URL, or let Claude call request_file_upload and drop the photo on the one-time upload page it returns.

Claude Code

bash
claude mcp add --scope user craftstory -e CRAFTSTORY_API_KEY=sk-cs-... -- npx -y @craftstory/mcp

(--scope user makes it available in every project; drop it to install for the current project only.)

Claude Desktop

Add to claude_desktop_config.json (Settings -> Developer -> Edit Config), then restart Claude Desktop; the server shows up under the tools icon:

json
{  "mcpServers": {    "craftstory": {      "command": "npx",      "args": ["-y", "@craftstory/mcp"],      "env": { "CRAFTSTORY_API_KEY": "sk-cs-..." }    }  }}

Cursor / other clients

Same shape in ~/.cursor/mcp.json (user-level, so the key never lands in a repository): command npx, args ["-y", "@craftstory/mcp"], env CRAFTSTORY_API_KEY. In a project-level .cursor/mcp.json prefer "CRAFTSTORY_API_KEY": "${env:CRAFTSTORY_API_KEY}" and keep the real key in your shell environment.

Environment variables: CRAFTSTORY_API_KEY (required), CRAFTSTORY_API_BASE (optional, default https://api.craftstory.com/api/v1; must be https unless CRAFTSTORY_ALLOW_HTTP=1).

Tools

Upload links (hosted mode and local alike): request_file_upload(kind=image|audio|video) → one-time page for the user → wait_for_upload / get_upload. Images: file_url goes into image_url, or the upload_id into create_image(image_upload_ids). Audio: upload_id goes into create_audio_clip(audio_upload_id). Audio/video: upload_id goes into reference_upload_ids of the MiniMax H3 tools. Limits: 20 MB for photos, 100 MB for audio and video.

  • list_models: Models, status (a paused model answers 503), limits and prices
  • list_voices: Library voices; include_cloned adds your cloned voices
  • list_avatars: Your custom avatars, or the scenes of one avatar
  • create_audio_clip: Speech from text + voice, or upload a local recording
  • preview_cost: Credit estimate for a CraftStory 2.0 video
  • create_craftstory2_video: Start a CraftStory 2.0 job (photo or avatar scene + audio clips)
  • create_minimax_h3_video, create_minimax_h3_avatar_video: Start a MiniMax H3 job (basic, or reference mode with or without audio)
  • create_cloud_video, preview_cloud_video_cost: A clip from a photo as the first frame with one of the cloud models: seedance-2.5 (4-30 s), flux-3-video / flux-3-max (5-20 s, 720p/1080p), minimax-h3-max and heygen-video (5-15 s, 480p/768p/1080p), gemini-omni-flash (3-10 s, 720p); the model writes and speaks its own soundtrack
  • get_job_status: Status, percentage, failure reason, refund flag
  • get_job_result: Full record with the signed video URL (valid 7 days)
  • wait_for_job: Bounded polling (default 45 s, max 55 s); call again while state is running
  • upscale_video: New job with the upscaled result (CraftStory 2.0 720p -> 1080p, H3 and the cloud models 2x)
  • create_image: an image from a prompt, optionally from up to 8 of your pictures; model nano-banana (10 credits, default), nano-banana-pro (39), seedream-5-pro (13) or flux-3 (14); aspect_ratio 9:16, 16:9, 4:5, 1:1, 3:4, 4:3. The result's image_url goes straight into the video tools
  • create_music: Music track of 5-180 s from a description, instrumental by default (1 credit per second); a declined prompt comes back with prompt_suggestion
  • create_sound_effect: Sound effect or ambience of 0.5-30 s (or auto length), optional seamless loop (1 credit per started 5 s, 2 minimum)

Plus the prompt talking_video_from_photo (script + photo) that walks the model through the whole flow.

Example

Make a portrait video of the person in /Users/me/photos/portrait.jpg saying "Welcome to our spring collection", calm gestures.

The assistant will: list_voices -> create_audio_clip -> wait_for_job(audio-clip) -> preview_cost -> create_craftstory2_video (resolution 720_1280, or 768_960 for 4:5, gestures calm) -> wait_for_job(craftstory-2) a few times -> get_job_result -> the video URL.

Long jobs: wait_for_job returns within timeout_s (default 45 s, max 55 s) plus a few seconds for the final result fetch; every request inside it is capped by the time left, so it stays under the 60 s tool-call limit of most clients. A CraftStory 2.0 video needs several calls; that is by design so agent runtimes do not time out. A CraftStory 2.0 video needs several calls; that is by design so agent runtimes do not time out.

Local files vs URLs

Photos accept image_url (JPG/PNG) or image_path (absolute path or ~/...; JPG/PNG/HEIC, up to 20 MB, uploaded as multipart). Recordings and extra references are local paths too. Anything you pass as a path is uploaded to the CraftStory API, so keep your client's tool-approval prompts on (see SECURITY.md).

Hosted server (operators)

craftstory-mcp-http serves the same tools over Streamable HTTP behind OAuth. Required env: MCP_PUBLIC_URL, AUTH0_DOMAIN; optional MCP_AUDIENCE (defaults to <MCP_PUBLIC_URL>/mcp), CRAFTSTORY_API_BASE, PORT (8788), MCP_ALLOWED_ORIGINS, MCP_TRUST_PROXY=1 behind a load balancer. Protected-resource metadata is at /.well-known/oauth-protected-resource/mcp; access tokens are verified against the tenant's JWKS and forwarded to the CraftStory API, nothing is stored. Dockerfile builds the production image.

Development

bash
npm installnpm run buildCRAFTSTORY_API_KEY=sk-cs-... npm run smoke       # live check over stdio: lists tools, makes an audio clip, previews cost# add "-- --h3" and SMOKE_IMAGE=/path/to/photo.jpg to also render a 5 s MiniMax H3 clip (costs 17 credits)npm test

Full API reference: https://api.craftstory.com/api/v1/docs/public/ and the curl walkthrough at https://api.craftstory.com/api/v1/docs/samples/curl/.

Privacy Policy

This server runs on your machine and keeps no data of its own. It sends your API key and the inputs you pass to tools (text, photos, audio, reference files) only to the CraftStory API at CRAFTSTORY_API_BASE (default https://api.craftstory.com), where they are processed under the CraftStory privacy policy: https://craftstory.com/privacy/. Generated videos and uploaded files are stored in your CraftStory account and can be deleted there or via the API; nothing is retained locally by the server. No analytics or third-party services are called by the server itself. Questions: support via https://craftstory.com/contacts/.

License

MIT

來源:README.md,提交 f73bdea

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

8
  1. v0.8.0最新Oct 26, 2026
  2. v0.5.1Oct 11, 2026
  3. v0.5.0Oct 9, 2026
  4. v0.1.8Oct 8, 2026
  5. v0.1.6Oct 7, 2026
  6. v0.1.5Oct 6, 2026
  7. v0.1.4Oct 3, 2026
  8. v0.1.3Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Craft 整合