شعار Seedance 2.5 video MCP server

Seedance 2.5 video MCP server

المجتمع
eudoramarlowe

Argolink-focused MCP video generation workflow for Seedance 2.5.

الناشرeudoramarlowe
المستودعseedance-2-5-video-mcp
اللغةPython
التفريعات
0
النجوم
43
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بمسارات عمل الذكاء الاصطناعي

    يتيح Seedance 2.5 video MCP server إمكانات MCP لتطبيقات الذكاء الاصطناعي العميلة المتوافقة معه، وكذلك لوكلاء الذكاء الاصطناعي المتوافقين معه.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم مقتطفات التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات اهتمام المجتمع بالمستودع مفتوح المصدر

    إحصاءات المستودع المرتبط: النجوم: 43، والتفريعات: 0.

Seedance 2.5 video MCP server

A focused Model Context Protocol server for generating Seedance 2.5 video through an OpenAI-compatible HTTPS API. It exposes four useful tools: submit a request, read one request status, upload local media, and download the finished MP4. The adapter does not run a hidden polling loop and never resubmits a request after a timeout.

Open the Seedance 2.5 model page for the current model contract, live availability, and a browser-based request example.

What this server does

The server is a small stdio process. The MCP host starts it and exchanges JSON-RPC messages over stdin/stdout. The process sends authenticated requests to:

OperationHTTP requestResult
SubmitPOST https://argolink.io/v1/videos/generationsA request_id and pending job
StatusGET https://argolink.io/v1/videos/{request_id}pending, done, failed, or expired
ContentGET https://argolink.io/v1/videos/{request_id}/contentThe completed MP4
Upload ticketPOST https://argolink.io/v1/media/uploadsA short-lived upload URL and media URL
Upload bytesPUT to the ticket URLNo API bearer token is sent to storage

Every API request includes a descriptive User-Agent. The API key is read from the MCP host environment and is never stored in this repository. Presigned upload requests deliberately contain only Content-Type and User-Agent.

Install

Python 3.10 or newer is recommended.

sh
git clone https://github.com/YOUR_ACCOUNT/seedance-2-5-video-mcp
cd seedance-2-5-video-mcp
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
export VIDEO_API_KEY='replace-in-your-secret-store'
export VIDEO_MCP_MEDIA_ROOT="$PWD/media"
mkdir -p "$VIDEO_MCP_MEDIA_ROOT"
python server.py

The last command is normally run by an MCP host rather than by hand. Use a dedicated media directory. VIDEO_MCP_MEDIA_ROOT is required for both upload and download so a model cannot use the tool to read or overwrite arbitrary files in the operator's home directory. A download refuses to replace an existing file and publishes a completed file atomically.

For a compatible local test server, set VIDEO_API_BASE_URL to its HTTPS or local test URL. The default is https://argolink.io/v1.

MCP host configuration

Use an absolute path to the virtual-environment interpreter and server.py. Keep the real key outside the checked-in JSON. The examples use a placeholder intentionally.

Claude Desktop

On macOS the file is ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows it is %APPDATA%/Claude/claude_desktop_config.json.

json
{
  "mcpServers": {
    "seedance-2-5-video": {
      "command": "/absolute/path/seedance-2-5-video-mcp/.venv/bin/python",
      "args": ["/absolute/path/seedance-2-5-video-mcp/server.py"],
      "env": {
        "VIDEO_API_KEY": "REPLACE_LOCALLY",
        "VIDEO_MCP_MEDIA_ROOT": "/absolute/path/seedance-2-5-video-mcp/media"
      }
    }
  }
}

Replace the placeholder locally and keep the file private. Restart Claude Desktop after changing the file.

Claude Code

The project .mcp.json format supports environment interpolation:

json
{
  "mcpServers": {
    "seedance-2-5-video": {
      "type": "stdio",
      "command": "/absolute/path/seedance-2-5-video-mcp/.venv/bin/python",
      "args": ["/absolute/path/seedance-2-5-video-mcp/server.py"],
      "env": {
        "VIDEO_API_KEY": "\${VIDEO_API_KEY}",
        "VIDEO_MCP_MEDIA_ROOT": "/absolute/path/seedance-2-5-video-mcp/media"
      }
    }
  }
}

Or add the same command with claude mcp add --transport stdio and set the variables in the shell that launches Claude Code.

Cursor

Cursor's project or global MCP JSON uses the stdio type. Its current configuration supports environment interpolation and an envFile for stdio servers:

json
{
  "mcpServers": {
    "seedance-2-5-video": {
      "type": "stdio",
      "command": "/absolute/path/seedance-2-5-video-mcp/.venv/bin/python",
      "args": ["/absolute/path/seedance-2-5-video-mcp/server.py"],
      "env": {
        "VIDEO_API_KEY": "\${env:VIDEO_API_KEY}",
        "VIDEO_MCP_MEDIA_ROOT": "/absolute/path/seedance-2-5-video-mcp/media"
      },
      "envFile": "/absolute/private/seedance.env"
    }
  }
}

Use the host's current settings UI and configuration documentation when the location differs between releases.

Tool reference

submit_video

Arguments:

ArgumentValues and meaning
promptRequired UTF-8 text, at most 40,000 bytes
modetext, start_image, first_last_frames, multimodal_reference, or video_edit
durationInteger 4 through 30 for every mode except edit
resolution480p, 720p, or 1080p
aspect_ratioSix fixed ratios for text and references
generate_audioBoolean; true by default
start_image, end_imageHTTPS media URLs for frame modes
reference_images, reference_videos, reference_audiosHTTPS URL lists for reference mode
edit_videoOne HTTPS video URL for edit mode

Frame modes force aspect_ratio to adaptive. A first-and-last-frame request requires both URLs. Reference mode allows up to 30 images, 10 videos, and 10 audio tracks, with 50 assets total; audio-only reference input is valid. A reference video or audio clip is 2 to 30 seconds, and the combined seconds of each media type cannot exceed 30. The API checks those media durations after it receives the URLs, while this adapter checks the count and URL scheme before sending.

Video edit uses omni_reference_task_type: edit and one reference_videos entry. It intentionally omits duration and aspect ratio because the result follows the source clip. Edits accept one 4–30 second source video.

get_video_status

Pass the returned request_id and call this tool whenever the host wants to poll. The adapter returns the API object without pretending that pending is complete. failed and expired are terminal; investigate the error object before submitting another billable request.

upload_media

Pass a path under VIDEO_MCP_MEDIA_ROOT. The tool infers common JPEG, PNG, WebP, MP4, MOV, WebM, MP3, WAV, and M4A types, or accepts content_type explicitly. Image uploads are limited to 20 MiB, video to 100 MiB, and audio to 15 MiB. Use the returned media_url in submit_video.

download_video

Pass a completed request_id and a new path under the media root. The tool reads status first, requests /content only for done, writes a temporary file, fsyncs it, and atomically links it into place. It will not overwrite an existing output.

Runnable HTTP example

This is the same lifecycle without MCP. It sends one request, saves the ID, polls explicitly, and downloads only after done.

sh
BASE=https://argolink.io/v1
AUTH="Authorization: Bearer $VIDEO_API_KEY"
JOB=$(curl --fail-with-body -sS "$BASE/videos/generations" \
  -H "$AUTH" -H "User-Agent: seedance-2-5-video-mcp/1.0" \
  -H 'Content-Type: application/json' \
  -d '{"model":"seedance-2.5","prompt":"A paper kite crosses a sunset city skyline","duration":5,"resolution":"720p","aspect_ratio":"16:9","generate_audio":true}')
ID=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["request_id"])' <<< "$JOB")
while :; do
  STATE=$(curl --fail-with-body -sS "$BASE/videos/$ID" -H "$AUTH" -H 'User-Agent: seedance-2-5-video-mcp/1.0')
  STATUS=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["status"])' <<< "$STATE")
  case "$STATUS" in
    done) break ;;
    failed|expired) printf '%s\n' "$STATE" >&2; exit 1 ;;
    pending) sleep 10 ;;
    *) printf 'unexpected status: %s\n' "$STATUS" >&2; exit 1 ;;
  esac
done
curl --fail-with-body -sS "$BASE/videos/$ID/content" -H "$AUTH" \
  -H 'User-Agent: seedance-2-5-video-mcp/1.0' -o media/skyline.mp4

Never place a real bearer token in a shell history, README, issue, or MCP configuration committed to Git.

Model limits and pricing

These values were checked against the live model catalog and model page on 2026-10-07; the model page is authoritative when they change.

CapabilitySeedance 2.5
OutputOne 24 fps H.264 MP4 with AAC stereo audio unless audio is disabled
Duration4–30 seconds; edit follows a 4–30 second source
Resolution480p, 720p, 1080p
Text/reference ratios21:9, 16:9, 4:3, 1:1, 3:4, 9:16
Frame ratioadaptive
Prompt40,000 UTF-8 bytes
References30 images, 10 videos, 10 audio tracks, 50 total
Reference media2–30 seconds each; 30 seconds total per video/audio type
Outputs per requestexactly one

The effective rates currently shown for this endpoint are 0.0874 USD/s at 480p, 0.196 USD/s at 720p, and 0.483 USD/s at 1080p. A five-second 720p generation therefore estimates 0.98 USD before any reference-video seconds. The official catalog rate is 0.1028, 0.2311, and 0.5686 USD/s respectively. Reference video seconds are billed in addition to output seconds. Failed, rejected, and expired jobs are not charged under the model contract.

For comparison, Evolink's Seedance 2.5 page currently publishes per-output-second tiers around 0.138/0.296/0.739 USD for 480p/720p/1080p, while fal.ai's Seedance 2.5 page describes token-based pricing and a 720p example. Those pages are useful comparison points, but their request fields and billing formulas are not interchangeable with this API.

Errors and operational behavior

The API can return 400 for invalid fields, 401 for missing or invalid credentials, 402 for billing or balance problems, 404 for an unknown request ID, 409 when content is not ready, 424 when a job failed, 429 for rate limiting, and 503 for temporary service unavailability. Preserve the response body and request ID when reporting an error. A timeout after POST is ambiguous: check status before retrying, because automatic resubmission could create a second job.

The server sends Retry-After information back as an API error when present, but it does not sleep and it does not repeat a generation. This keeps MCP calls bounded and makes the request ID recoverable by the host.

Development

sh
python -m unittest discover -s tests -v
python -m py_compile server.py seedance_client.py

The tests use a local fake opener and never call the production API. A real generation requires the operator's own key and is intentionally not part of automated tests.

التثبيت

TypingMind
{
  "mcpServers": {
    "seedance-2-5-video-mcp": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

استخدم MCP الخاص بـ Seedance 2.5 video MCP server مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Seedance 2.5 video MCP server، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal مفتوحة واترك العملية قيد التشغيل أثناء استخدام أدوات MCP.
3

إضافة Seedance 2.5 video MCP server كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Seedance 2.5 video MCP server.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "seedance-2-5-video-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Seedance 2.5 video MCP server، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Seedance 2.5 video MCP server.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Seedance 2.5 video MCP server لمساعدتي في هذه المهمة؟
Seedance 2.5 video MCP server
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Seedance 2.5 video MCP server.

الأسئلة الشائعة

ما استخدامات خادم MCP Seedance 2.5 video MCP server؟

Seedance 2.5 video MCP server هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Seedance 2.5 video MCP server مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Seedance 2.5 video MCP server مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم خادم MCP Seedance 2.5 video MCP server مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Seedance 2.5 video MCP server، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Seedance 2.5 video MCP server بـ TypingMind؟

يعمل Seedance 2.5 video MCP server عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Seedance 2.5 video MCP server في TypingMind؟

يتيح Seedance 2.5 video MCP server إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Seedance 2.5 video MCP server؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويتيح لك التحكم بنفسك في مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP. إذا كان Seedance 2.5 video MCP server يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇