Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic.
/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:生成一段视频:"Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一段视频:"Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一段视频:"Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一段视频:"Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
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": "Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
}
JSON
import { RunapiClient } from "@runapi.ai/runapi";
const client = new RunapiClient({
apiKey: process.env.RUNAPI_API_KEY,
});
const result = await client.textToVideo.run({
"prompt": "Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
});
console.log(result.id);
require "runapi/runapi"
client = RunApi::Runapi::Client.new
result = client.text_to_video.run(
prompt: "Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic."
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"prompt\":\"Slow cinematic dolly shot through a misty forest at dawn, camera gliding between ancient oak trees, volumetric light rays, particles floating in air, film grain, 24fps cinematic.\"}")
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)
}
Several giant wooly mammoths approach treading through a snowy meadow, their long wooly fur lightly blows in the wind as they walk, snow covered trees and dramatic snow capped mountains in the distance, mid afternoon light with wispy clouds and a sun high in the distance creates a warm glow, the low camera view is stunning capturing the large furry mammal with beautiful photography, depth of field.
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": "Several giant wooly mammoths approach treading through a snowy meadow, their long wooly fur lightly blows in the wind as they walk, snow covered trees and dramatic snow capped mountains in the distance, mid afternoon light with wispy clouds and a sun high in the distance creates a warm glow, the low camera view is stunning capturing the large furry mammal with beautiful photography, depth of field."
}
JSON
Wide shot of a lone tree in a meadow. A seamless time-lapse transitions from winter to spring, then summer and autumn. Snow melting, buds blooming, leaves turning orange and falling, with weather elements: snow, dew, heat shimmer, wind. Audio evolves across seasons. No text or logos.
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": "Wide shot of a lone tree in a meadow. A seamless time-lapse transitions from winter to spring, then summer and autumn. Snow melting, buds blooming, leaves turning orange and falling, with weather elements: snow, dew, heat shimmer, wind. Audio evolves across seasons. No text or logos."
}
JSON
A glowing ocean at night time with bioluminescent creatures under water. The camera starts with a macro close-up of a glowing jellyfish and then expands to reveal the entire ocean lit up with various glowing colors under a starry sky. Camera Movement: Begin with a macro shot of the jellyfish, then gently pull back and up to showcase the glowing ocean.
curl -X POST https://runapi.ai/api/v1/runway/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "runway",
"prompt": "A glowing ocean at night time with bioluminescent creatures under water. The camera starts with a macro close-up of a glowing jellyfish and then expands to reveal the entire ocean lit up with various glowing colors under a starry sky. Camera Movement: Begin with a macro shot of the jellyfish, then gently pull back and up to showcase the glowing ocean."
}
JSON
Golden hour sunset over Icelandic black sand beach, slow ocean waves crashing on volcanic rocks, warm sky colors transitioning from amber to deep purple, low-angle slow push-in, epic atmosphere, cinematic 4K.
Slow-motion shot of ocean waves crashing against rocky cliffs, spray creating mist in the air, dramatic overcast sky, powerful and moody atmosphere, telephoto lens compressing the perspective, nature documentary cinematography.
curl -X POST https://runapi.ai/api/v1/elevenlabs/text_to_sound \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "sound-effect-v2",
"text": "Distant thunder rumbling across a vast open plain during a summer storm, gradually building in intensity"
}
JSON