3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder.
/api/v1/runapi/text_to_video
运行信息
模型
提供方
Runapi
服务
Runapi
Endpoint
Text To Video
1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重启 Claude Code
3. 粘贴这个 prompt:生成一段视频:"3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一段视频:"3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一段视频:"3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一段视频:"3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
curl -X POST https://runapi.ai/api/v1/runapi/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"prompt": "3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
}
JSON
import { RunapiClient } from "@runapi.ai/runapi";
const client = new RunapiClient({
apiKey: process.env.RUNAPI_API_KEY,
});
const result = await client.textToVideo.run({
"prompt": "3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
});
console.log(result.id);
require "runapi/runapi"
client = RunApi::Runapi::Client.new
result = client.text_to_video.run(
prompt: "3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder."
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"prompt\":\"3D animation of a small, round, fluffy creature with big, expressive eyes explores a vibrant, enchanted forest. The creature, a whimsical blend of a rabbit and a squirrel, has soft blue fur and a bushy, striped tail. It hops along a sparkling stream, its eyes wide with wonder.\"}")
req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/runapi/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)
}
curl -X POST https://runapi.ai/api/v1/runapi/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"prompt": "Photorealistic closeup video of two pirate ships battling each other as they sail inside a cup of coffee."
}
JSON
A magical fairy with translucent wings walking gracefully through an enchanted forest filled with blooming cherry blossoms. The soft petals gently float in the air, glowing sparkles trail her steps, and golden sunlight filters through the misty trees.
curl -X POST https://runapi.ai/api/v1/kling/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "kling-3.0",
"prompt": "A magical fairy with translucent wings walking gracefully through an enchanted forest filled with blooming cherry blossoms. The soft petals gently float in the air, glowing sparkles trail her steps, and golden sunlight filters through the misty trees."
}
JSON
Abstract liquid metal shapes morphing and flowing in silver and gold tones, slow sphere-to-waves-to-geometric transformation, hypnotic meditative energy, rendered 3D quality.
Impressionist style, dusk, soft light, side light, low saturation, cold tone, center composition, medium shot, following shot. Watercolor-style fox walks slowly through forest, figure dissolving and integrating with blurred forest colors.
Paint drops into clear water in extreme slow motion. Colors bloom and swirl in organic patterns — deep blues mixing with golden yellows. Camera captures the moment from directly above. Studio lighting makes every droplet sparkle.
curl -X POST https://runapi.ai/api/v1/veo_3_1/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "veo-3.1",
"prompt": "Paint drops into clear water in extreme slow motion. Colors bloom and swirl in organic patterns — deep blues mixing with golden yellows. Camera captures the moment from directly above. Studio lighting makes every droplet sparkle."
}
JSON
Abstract generative art composed of hundreds of parallel flowing lines that create a topographic map effect. The lines are thin and precise, drawn in varying shades of teal and coral against a deep navy background. Where the lines converge, they create the illusion of valleys and peaks in an imaginary terrain. The overall composition suggests a bird's-eye view of an alien landscape. Clean vector aesthetic with no texture or noise. Suitable for a large format print at 60x40 inches.
curl -X POST https://runapi.ai/api/v1/z_image/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "z-image",
"prompt": "Abstract generative art composed of hundreds of parallel flowing lines that create a topographic map effect. The lines are thin and precise, drawn in varying shades of teal and coral against a deep navy background. Where the lines converge, they create the illusion of valleys and peaks in an imaginary terrain. The overall composition suggests a bird's-eye view of an alien landscape. Clean vector aesthetic with no texture or noise. Suitable for a large format print at 60x40 inches."
}
JSON