1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重启 Claude Code
3. 粘贴这个 prompt:生成一段视频:"Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一段视频:"Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一段视频:"Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一段视频:"Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
curl -X POST https://runapi.ai/api/v1/seedance/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "seedance-2.0-fast",
"prompt": "Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
}
JSON
import { SeedanceClient } from "@runapi.ai/seedance";
const client = new SeedanceClient({
apiKey: process.env.RUNAPI_API_KEY,
});
const result = await client.textToVideo.run({
"model": "seedance-2.0-fast",
"prompt": "Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
});
console.log(result.id);
require "runapi/seedance"
client = RunApi::Seedance::Client.new
result = client.text_to_video.run(
model: "seedance-2.0-fast",
prompt: "Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"model\":\"seedance-2.0-fast\",\"prompt\":\"Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself.\"}")
req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/seedance/text_to_video", body)
if err != nil {
log.Fatal(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("RUNAPI_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
fmt.Println(resp.Status)
}
seedance-2.0-fast/api/v1/seedance/text_to_video获取 API Key
Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself.
curl -X POST https://runapi.ai/api/v1/seedance/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "seedance-2.0-fast",
"prompt": "Extreme close-up of a single drop of dark blue ink falling into a glass of perfectly still water. The moment of impact creates a small crown splash, then billowing clouds of ink expand outward in fractal tendrils. The ink forms mushroom-cloud shapes and delicate filaments as it disperses through the water. Shot against a bright white backlight that makes the ink patterns appear as dark silhouettes with translucent edges where the concentration thins. Ultra slow motion capturing every micro-turbulence. The camera remains perfectly static — all motion comes from the ink itself."
}
JSON