使用此技能可在 SeaArt 平台 (seaart.ai) 生成高质量 AI 视频。支持文字转视频和图像转视频,并可使用多种参数进行调节。
This skill helps you generate AI videos via the SeaArt platform. You can create videos from text prompts (Text-to-Video) or animate existing images (Image-to-Video).
To use this skill, you need a SeaArt authentication token. This token is passed in the T cookie.
https://www.seaart.ai.T.eyJhbGci...).To avoid passing the token every time, store it as an environment variable ( SEAART_TOKEN).
Run the following command in your terminal (never paste the token into chat):
text
/update-config set SEAART_TOKEN="your_token_value_here"
Security note: Never share your token in chat messages or logs. The token will be persisted in your local agent config by
/update-config— ensure only you have access to that config file.
We currently support the following models for video generation.
Default Model: SeaArt Sono Cast (if user doesn't specify, use this one)
Model Namemodel_no``model_ver_noNotesSeaArt Sono Cast (Default)d4t763te878c73csvcf0``21a5fc20-68dd-4d4b-9afd-7bfe2e8f5166Great overall quality.Vidu Q3 Turbod6l3adte878c73dr6a3g``26ca53e1-e6f2-44e4-8227-13e38bb73945Kling 3.0d62lo1te878c73f8eua0``93636e78-3d55-4416-92e3-d7d3b89f023dWan 2.6d4t6pkle878c73cpsif0``5856d251-5b8f-4704-970e-e301982eb532
16:9 (Landscape)9:16 (Portrait) - Default1:1 (Square)4:33:4When a user asks to generate a video, follow these steps:
First, check if the SEAART_TOKEN environment variable is set. You can do this by running a simple bash command: echo $SEAART_TOKEN.
If it's empty, ask the user to provide their token. Once they provide it, you should guide them to set it as an environment variable in their specific environment (OpenClaw, Claude Code, or terminal) as described above. Wait for them to do this before proceeding.
If the token is available, ensure you have:
Use the included python script to start the generation and poll for completion.
bash
# For Text-to-Video
python3 ~/.claude/skills/seaart-video/scripts/generate.py \
--type t2v \
--prompt "A child crying" \
--model seaart-sono-cast \
--aspect-ratio "9:16"
# For Image-to-Video
python3 ~/.claude/skills/seaart-video/scripts/generate.py \
--type i2v \
--prompt "He got married" \
--image-url "https://image.cdn2.seaart.me/..." \
--model seaart-sono-cast
The script will handle making the request and polling the status until the video is complete, then return the final video URL.
User: "Can you make a video of a cat playing with a ball of yarn using Kling 3.0?"
Claude:
$SEAART_TOKEN. Let's assume it's set.bash
python3 ~/.claude/skills/seaart-video/scripts/generate.py --type t2v --prompt "A cat playing with a ball of yarn" --model kling3.0
URLMethodData Senthttps://www.seaart.ai/api/v1/task/v2/video/text-to-videoPOSTPrompt, model ID, aspect ratio, generation paramshttps://www.seaart.ai/api/v1/task/v2/video/img-to-videoPOSTPrompt, image URL, model ID, generation paramshttps://www.seaart.ai/api/v1/task/batch-progressPOSTTask ID (for polling status)
All requests are authenticated via your SEAART_TOKEN cookie, which never leaves your machine in plaintext — it is only sent to *.seaart.ai as an HTTP cookie header.
SEAART_TOKEN are sent to seaart.ai servers as an HTTP cookie header on every API request.SEAART_TOKEN is persisted locally in your agent config file by /update-config. Ensure only you have access to that config. It is not logged or transmitted by this skill beyond the API calls to seaart.ai listed above.requests library — no shell interpolation is used.By using this skill, your prompt and any provided image URLs are sent to seaart.ai. Only install and use this skill if you trust SeaArt with your creative content. This skill is not affiliated with or endorsed by SeaArt.