---
title: Prompt Done with Custom GPT — 2.5 提示詞 | RunAPI
description: 複製這則 RunAPI 提示詞，查看代理設定步驟，並使用 2.5 的 API 程式碼。
url: https://runapi.ai/zh-TW/prompts/five-color-vector-samurai-chase-78aXxJ.md
canonical: https://runapi.ai/prompts/five-color-vector-samurai-chase-78aXxJ
locale: zh-TW
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 11954
model: '2.5'
modality: video
endpoint: "/api/v1/2.5/text_to_video"
---

> HTML version: https://runapi.ai/zh-TW/prompts/five-color-vector-samurai-chase-78aXxJ
> Site index for agents: https://runapi.ai/llms.txt


# Prompt Done with Custom GPT

複製這則 RunAPI 提示詞，查看代理設定步驟，並使用 2.5 的 API 程式碼。

**提示詞** · 影片

![Prompt Done with Custom GPT preview](https://cdn.runapi.ai/public/prompts/previews/1ecd5f1d37c3ce72010ffa12dce237127af1646f820625f687cd0b86bbf27263-runapi-ai.jpg)

## 提示詞

```text
Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat
```

<!-- prompt-detail-slot: generation-parameters -->
<!-- /prompt-detail-slot: generation-parameters -->

<!-- prompt-detail-slot: generate-cta -->

### 生成這則提示詞

| 模型 | 2.5 |
|---|---|
| 預估成本 | 價格待定 |
| Endpoint | `/api/v1/2.5/text_to_video` |

[登入後生成](https://runapi.ai/zh-TW/login)

生成的圖片會顯示在這裡
<!-- /prompt-detail-slot: generate-cta -->

<!-- prompt-detail-slot: prompt-breakdown -->

## 提示詞解析

### 主題

Prompt Done with Custom GPT

### 氛圍

fantasy / 影片

### 技術

2.5 / 2.5 / Text To Video / /api/v1/2.5/text_to_video

### 風格

bamboo, cinematic-action, five-color, katana, samurai, vector-animation, yokai

<!-- /prompt-detail-slot: prompt-breakdown -->

<!-- prompt-detail-slot: supported-models -->
## 支援此 Prompt 的模型

| 模態 | 模型 | 價格 | 試用 |
|---|---|---|---|
| 影片 | HappyHorse/happyhorse-1.0-r2v | $0.18-$0.32 / 秒 | [試用](https://runapi.ai/zh-TW/models/happyhorse/1.0-r2v.md) |
| 影片 | HappyHorse/happyhorse-1.0-t2v | $0.18-$0.32 / 秒 | [試用](https://runapi.ai/zh-TW/models/happyhorse/1.0-t2v.md) |
| 影片 | HappyHorse/happyhorse-character | $0.24-$0.41 / 秒 | [試用](https://runapi.ai/zh-TW/models/happyhorse/character.md) |
| 影片 | HappyHorse/happyhorse-text-to-video | $0.24-$0.41 / 秒 | [試用](https://runapi.ai/zh-TW/models/happyhorse/text-to-video.md) |
| 影片 | Wan/wan-2.2-a14b-text-to-video-turbo | $0.30-$0.60 / 部影片 | [試用](https://runapi.ai/zh-TW/models/wan/2.2-a14b-text-to-video-turbo.md) |

<!-- /prompt-detail-slot: supported-models -->

## 執行詳細資訊

| Field | Value |
|---|---|
| 模型 | `2.5` |
| Modality | 影片 |
| Category | fantasy |
| Tags | bamboo, cinematic-action, five-color, katana, samurai, vector-animation, yokai |

## Use with an agent

### Claude Code

1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重新啟動 Claude Code
3. 貼上這段提示：生成影片：「Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat」

### Codex

1. codex plugin install runapi-mcp@agents
2. 重新啟動 Codex
3. 貼上這段提示：生成影片：「Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat」

### Cursor

1. npx @runapi.ai/mcp init cursor
2. 重新啟動 Cursor
3. 貼上這段提示：生成影片：「Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat」

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. 重新啟動 Windsurf
3. 貼上這段提示：生成影片：「Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat」

<!-- api-example-tabs-slot -->

<!-- ## API examples -->
## Generate via API

### curl

```curl
curl -X POST https://runapi.ai/api/v1/2.5/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "2.5",
  "prompt": "Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat"
}
JSON
```

### Node.js

```javascript
import { 25Client } from "@runapi.ai/2.5";

const client = new 25Client({
  apiKey: process.env.RUNAPI_API_KEY,
});

const result = await client.textToVideo.run({
  "model": "2.5",
  "prompt": "Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat"
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/2.5/text_to_video",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"model\": \"2.5\",\n  \"prompt\": \"Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/2.5/text_to_video");
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("RUNAPI_API_KEY"),
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => "{\n  \"model\": \"2.5\",\n  \"prompt\": \"Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat\"\n}",
    CURLOPT_RETURNTRANSFER => true,
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response["id"] . PHP_EOL;
```

### Java

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var request = HttpRequest.newBuilder(URI.create("https://runapi.ai/api/v1/2.5/text_to_video"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"model\": \"2.5\",\n  \"prompt\": \"Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat\"\n}"))
    .build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

### Ruby

```ruby
require "json"
require "net/http"

uri = URI("https://runapi.ai/api/v1/2.5/text_to_video")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer " + ENV.fetch("RUNAPI_API_KEY")
request["Content-Type"] = "application/json"
request.body = "{\n  \"model\": \"2.5\",\n  \"prompt\": \"Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat\"\n}"

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body).fetch("id")
```

### Go

```go
package main

import (
  "context"
  "fmt"
  "log"
  "net/http"
  "os"
  "strings"
)

func main() {
  body := strings.NewReader("{\"model\":\"2.5\",\"prompt\":\"Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat\"}")
  req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/2.5/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)
}
```

### CLI

```cli
$ runapi generate \
    --model 2.5 \
    --prompt "Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat" \
    --wait
```

<!-- /api-example-tabs-slot -->

## 更多類似提示詞

- [Create a 30-second cinematic commercial](https://runapi.ai/zh-TW/prompts/cinematic-premium-coffee-latte-commercial-JqEevJ.md) — `2.5`
- [Viral Video Reuse](https://runapi.ai/zh-TW/prompts/modern-headphones-advertising-short-with-product-close-ups-AkKKBA.md) — `2.5`
- [@Image 1 defines the young woman's face](https://runapi.ai/zh-TW/prompts/anime-young-woman-turns-to-a-wry-three-quarter-profile-7BE6mA.md) — `2.5`

## 使用這則 2.5 提示詞

### 我要如何安全地複製這則提示詞？

請使用完整提示詞區塊旁的複製按鈕。它只會複製提示詞文字，不會包含頁面周邊標籤，因此你可以貼到代理指令、JSON 請求本文，或自己的提示詞資料庫中。

### 為什麼詳細頁面會顯示參數？

有些提示詞在蒐集時附帶已儲存的生成設定，例如長寬比、時長或語音控制。當參數存在時，頁面會另外列出，方便你同時重用提示詞文字與結構化設定。

### 我應該呼叫哪個端點？

請使用 API 程式碼區塊中顯示的端點路徑。該路徑是根據提示詞的 RunAPI 服務與端點名稱產生，然後呈現為 curl 與 SDK 範例所使用的公開 API URL。

### 我可以在代理中使用這則提示詞，而不是寫程式嗎？

可以。請在分頁切換器中選擇 Claude Code、Codex、Cursor 或 Windsurf，安裝 RunAPI MCP Server，並貼上產生的指令。該指令包含完整的提示詞文字。

## 正在與團隊一起打造？

我們可以協助企業接入、整合與技術問題。

[聯絡我們](https://runapi.ai/zh-TW/contact.md)


---

## More from RunAPI

- [Home](https://runapi.ai/zh-TW/.md)
### 產品
- [模型目錄](https://runapi.ai/zh-TW/models.md)
- [價格](https://runapi.ai/zh-TW/pricing.md)
- [提供商](https://runapi.ai/zh-TW/models#all-models)
- [提示詞庫](https://runapi.ai/zh-TW/prompts.md)
### 開發者
- [文件](https://runapi.ai/zh-TW/docs/guides)
- [SDK](https://runapi.ai/zh-TW/sdk.md)
- [CLI](https://runapi.ai/zh-TW/cli.md)
- [MCP Server](https://runapi.ai/zh-TW/mcp.md)
- [x402](https://runapi.ai/zh-TW/x402.md)
### 指南
- [Claude Code 與 Cursor](https://runapi.ai/zh-TW/claude-code-vs-cursor.md)
- [Cursor API 設定](https://runapi.ai/zh-TW/cursor-api-setup.md)
- [RunAPI 與 OpenRouter](https://runapi.ai/zh-TW/openrouter-alternative.md)
### 公司
- [企業版](https://runapi.ai/zh-TW/contact.md)
- [邀請返利](https://runapi.ai/zh-TW/referral-program.md)
- [聯絡我們](https://runapi.ai/zh-TW/contact.md)
### 法律
- [服務條款](https://runapi.ai/zh-TW/terms.md)
- [隱私權](https://runapi.ai/zh-TW/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-TW",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-TW/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-TW",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "首頁",
        "item": "https://runapi.ai/zh-TW"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "提示詞",
        "item": "https://runapi.ai/zh-TW/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "影片",
        "item": "https://runapi.ai/zh-TW/prompts/video"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Prompt Done with Custom GPT",
        "item": "https://runapi.ai/prompts/five-color-vector-samurai-chase-78aXxJ"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "我要如何安全地複製這則提示詞？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "請使用完整提示詞區塊旁的複製按鈕。它只會複製提示詞文字，不會包含頁面周邊標籤，因此你可以貼到代理指令、JSON 請求本文，或自己的提示詞資料庫中。"
        }
      },
      {
        "@type": "Question",
        "name": "為什麼詳細頁面會顯示參數？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "有些提示詞在蒐集時附帶已儲存的生成設定，例如長寬比、時長或語音控制。當參數存在時，頁面會另外列出，方便你同時重用提示詞文字與結構化設定。"
        }
      },
      {
        "@type": "Question",
        "name": "我應該呼叫哪個端點？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "請使用 API 程式碼區塊中顯示的端點路徑。該路徑是根據提示詞的 RunAPI 服務與端點名稱產生，然後呈現為 curl 與 SDK 範例所使用的公開 API URL。"
        }
      },
      {
        "@type": "Question",
        "name": "我可以在代理中使用這則提示詞，而不是寫程式嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以。請在分頁切換器中選擇 Claude Code、Codex、Cursor 或 Windsurf，安裝 RunAPI MCP Server，並貼上產生的指令。該指令包含完整的提示詞文字。"
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "CreativeWork",
    "name": "Prompt Done with Custom GPT",
    "text": "Generate a continuous 15-second cinematic 2D animated action sequence in a bold Japanese vector-flat graphic style. Use an extremely limited palette of exactly five flat colors: vermilion red, deep indigo, warm parchment cream, charcoal black, and muted gold. No gradients, no photorealism, no 3D rendering, no painterly shading, no extra colors. Build every form from crisp geometric silhouettes, clean angular shapes, controlled negative space, hard-edged cel-shadow shapes, stylized speed lines, and Japanese woodblock-print-inspired composition translated into modern flat vector animation. The visual language should feel like a premium action-film title sequence: graphic, fast, readable, elegant, and intensely kinetic. CHARACTER LOCK: One lone samurai runner, athletic and lean, wearing a short charcoal-black kimono beneath segmented vermilion armor, muted-gold waist sash, indigo trousers, simple straw sandals, and a long torn indigo scarf streaming behind him. Black hair tied into a compact topknot. His face is angular and focused, with determined narrow eyes. He carries one katana with a black handle and muted-gold guard. Preserve exactly the same body proportions, costume, colors, sword, hairstyle, and facial design throughout all shots. His primary screen direction remains LEFT-TO-RIGHT for the entire sequence. Never reverse his travel direction without visibly showing the turn. The sequence takes place across a mythic feudal-Japanese landscape at twilight, presented as one geographically connected chase route: a mountain shrine gate leading into a bamboo forest, then across a narrow red bridge above a ravine, through an abandoned temple courtyard, and finally onto a moonlit cliff path. Maintain visual continuity by carrying recognizable environmental landmarks between transitions: distant pagoda silhouette, mountain ridge, drifting maple leaves, stone lanterns, bamboo shapes, and the same enormous cream-colored moon. Weather is dry with strong lateral wind blowing rightward, consistently pushing leaves, dust, clothing, and the samurai’s scarf in the same direction. Use dynamic virtual 2D camera language: lateral tracking, low-angle pursuit framing, rapid push-ins, whip-pan transitions, foreground wipes, brief overhead views, and graphic match cuts. Camera motion must remain smooth and intentional. Preserve spatial geography, object permanence, and cause-and-effect. Every enemy must enter visibly before being defeated. Sword strikes must connect logically. No teleporting characters, no random location changes, no repeated action beats, no unexplained costume changes. 00:00–00:02 — Begin with an extreme-wide lateral composition. The samurai explodes into frame from the far left beneath a huge vermilion torii gate and sprints violently toward frame-right. Track parallel to him at waist height as his legs cycle rapidly, sandals striking the ground in sharp rhythmic impacts. His long indigo scarf whips horizontally behind him. Maple leaves and dust streak rightward. Three black silhouetted yokai-like pursuers with angular masks leap from shrine rooftops behind him. The huge cream moon and distant pagoda establish the route ahead. Use strong parallax: dark shrine posts whip past foreground, runner dominates midground, mountains remain stable in background. 00:02–00:04 — A foreground shrine pillar wipes the frame into a dense bamboo corridor without breaking his movement. Shift to a low-angle side-tracking shot near ground level. The samurai continues sprinting left-to-right at full speed. A lanky shadow creature drops from the bamboo canopy directly into his path. Without slowing, the samurai lowers his center of gravity, draws the katana in one clean motion, slides beneath the creature’s sweeping claws, and executes one horizontal slash. Show the action as readable silhouettes: approach, draw, contact, separation. A sharp vermilion crescent slash shape flashes across the charcoal creature; its body separates into flat black fragments and dissolves behind him while he immediately returns to full sprint. 00:04–00:06 — Whip-pan right with the samurai as he bursts from bamboo onto a narrow vermilion wooden bridge crossing a deep indigo ravine. Camera moves into a three-quarter frontal tracking angle while retreating ahead of him, preserving his forward trajectory. Two masked spear creatures block the bridge. The first thrusts directly toward his chest. He plants one foot on the bridge rail, runs three rapid steps along the side railing, vaults over the spear point, rotates once in the air, and strikes the first enemy diagonally while landing. The second attacks immediately from frame-right. The samurai uses the momentum of his landing to duck beneath the spear shaft, cuts through the weapon, shoulder-checks the creature aside, and keeps running. Broken spear pieces visibly tumble into the ravine. 00:06–00:09 — Match his forward landing into the abandoned temple courtyard. Increase cutting density. Overhead shot: he races diagonally through geometric stone paving while five small oni-like creatures converge from clearly visible entrances. Cut to a tight side view as he blocks one blade while still running. Cut to an extreme close-up of his sandal pivoting against stone. Cut wide as he spins through the attackers in one continuous circular katana movement, represented by a clean cream-and-vermilion arc. One enemy is knocked backward into a stone lantern, another loses its weapon, two leap away, and the final creature lunges from behind. The samurai senses it, drops into a knee slide, lets the attacker fly over him, then strikes upward without stopping. Keep every movement readable, physically connected, and directional. 00:09–00:12 — The temple’s sliding gate fills the frame as a graphic wipe, revealing a steep cliffside path. Return to a long lateral tracking shot. The samurai sprints harder, visibly fatigued but relentless; scarf now slightly torn from combat, armor still consistent. A gigantic serpent-dragon yokai erupts visibly from behind the mountain ridge, its body constructed from interlocking charcoal and indigo vector shapes with vermilion eyes. It coils alongside the cliff and snaps toward him. He accelerates, jumps across a broken section of path, lands into a forward roll, rises seamlessly, and continues running as the creature’s jaws smash into the ground behind him, throwing angular rock fragments forward. Camera briefly shakes from impact, then stabilizes immediately. 00:12–00:14 — Push into peak action. The serpent’s head sweeps ahead and blocks the narrow path. The samurai does not stop. Low frontal angle: he charges directly toward camera before veering right, plants one foot against a vertical stone lantern, launches upward, and runs two impossible-but-stylized steps along the serpent’s curved face. Camera arcs around him while maintaining clear orientation. He draws the katana back with both hands. For one brief graphic anticipation beat, movement nearly freezes: cream moon behind his silhouette, vermilion scarf edge and indigo scarf body stretched horizontally, sword raised, serpent eye beneath him. 00:14–00:15 — Explosive final payoff. He delivers one decisive downward slash across the serpent’s glowing vermilion eye. A huge flat vermilion slash graphic cuts diagonally through the composition. Hard cut to an extreme-wide silhouette: the samurai lands on the far side of the creature, immediately sheaths the katana with one clean click, and continues sprinting left-to-right toward a distant pagoda as the serpent collapses behind him into abstract charcoal fragments and drifting maple-leaf shapes. End on the lone samurai becoming a small moving silhouette against the enormous cream moon, still running toward the next unseen battle. Maintain extremely fast action-film rhythm with approximately 10–12 distinct visual beats across exactly 15 seconds. Every new cut must introduce a new camera position, action, threat, reaction, spatial reorientation, or escalation. Never repeat nearly identical compositions. Preserve the samurai’s continuous left-to-right momentum as the main visual thread connecting every location. Transitions must use physical foreground wipes, match-on-action, whip pans, or environmental landmarks so the route feels continuous rather than like disconnected scenes. Animation should emphasize exaggerated but coherent samurai athleticism: powerful sprint cycles, low center-of-gravity turns, controlled sword arcs, sharp anticipation poses, rapid acceleration, convincing landing compression, scarf drag, debris momentum, and readable silhouettes. Sword combat is stylized and non-gory: no blood, no exposed wounds, enemies break into abstract graphic fragments or smoke-like shapes upon defeat. Exactly five-color palette throughout: vermilion red, deep indigo, warm parchment cream, charcoal black, muted gold. Flat fills only. Hard-edged shadow shapes only using existing palette colors. No gradients, no bloom, no realistic reflections, no photographic textures, no volumetric rendering, no 3D appearance, no watercolor, no soft airbrush, no additional hues. Japanese motifs include torii gates, bamboo, tiled temple roofs, stone lanterns, maple leaves, pagoda silhouettes, mountain ridges, moon imagery, oni masks, yokai forms, and katana choreography, all unified into one original graphic world. Render at 24 fps, cinematic 16:9, crisp high-resolution vector-like edges, controlled motion blur only on extremely fast limbs, sword arcs, foreground wipes, and passing debris. Keep the samurai’s face and costume readable whenever framing allows. Maintain character consistency, enemy scale, prop continuity, environmental geography, lighting direction, wind direction, physics, and object permanence throughout the entire 15-second sequence. No text, captions, logos, watermarks, interface elements, camera glitches, morphing anatomy, duplicate samurai, inconsistent sword placement, random color shifts, or disconnected backgrounds. Final result: a relentless miniature Japanese samurai action film told entirely through five-color flat 2D vector animation, escalating continuously from sprint to combat",
    "image": "https://cdn.runapi.ai/public/prompts/previews/1ecd5f1d37c3ce72010ffa12dce237127af1646f820625f687cd0b86bbf27263-runapi-ai.jpg",
    "about": [
      "video",
      "2.5",
      "fantasy"
    ]
  }
]
```
