---
title: Prompt Done with Custom GPT — 2.5 提示词 | RunAPI
description: 复制这个 RunAPI prompt，查看 agent 设置步骤，并使用 2.5 的 API 代码。
url: https://runapi.ai/zh-CN/prompts/five-color-vector-samurai-chase-78aXxJ.md
canonical: https://runapi.ai/prompts/five-color-vector-samurai-chase-78aXxJ
locale: zh-CN
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-CN/prompts/five-color-vector-samurai-chase-78aXxJ
> Site index for agents: https://runapi.ai/llms.txt


# Prompt Done with Custom GPT

复制这个 RunAPI prompt，查看 agent 设置步骤，并使用 2.5 的 API 代码。

**Prompts** · 视频

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

## Prompt

```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 -->

### 生成此 Prompt

| 模型 | 2.5 |
|---|---|
| 预计成本 | 定价待确认 |
| Endpoint | `/api/v1/2.5/text_to_video` |

[登录后生成](https://runapi.ai/zh-CN/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-CN/models/happyhorse/1.0-r2v.md) |
| 视频 | HappyHorse/happyhorse-1.0-t2v | $0.18-$0.32 / 秒 | [试用](https://runapi.ai/zh-CN/models/happyhorse/1.0-t2v.md) |
| 视频 | HappyHorse/happyhorse-character | $0.24-$0.41 / 秒 | [试用](https://runapi.ai/zh-CN/models/happyhorse/character.md) |
| 视频 | HappyHorse/happyhorse-text-to-video | $0.24-$0.41 / 秒 | [试用](https://runapi.ai/zh-CN/models/happyhorse/text-to-video.md) |
| 视频 | Wan/wan-2.2-a14b-text-to-video-turbo | $0.30-$0.60 / 个视频 | [试用](https://runapi.ai/zh-CN/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. 粘贴这个 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"

### Codex

1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 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"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 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"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 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"

<!-- 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 -->

## 更多相似 prompts

- [Create a 30-second cinematic commercial](https://runapi.ai/zh-CN/prompts/cinematic-premium-coffee-latte-commercial-JqEevJ.md) — `2.5`
- [Viral Video Reuse](https://runapi.ai/zh-CN/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-CN/prompts/anime-young-woman-turns-to-a-wry-three-quarter-profile-7BE6mA.md) — `2.5`

## 使用这个 2.5 prompt

### 如何安全复制这个 prompt？

使用完整 prompt 区块旁边的复制按钮。它只复制 prompt 文本，不包含页面标签，所以可以直接粘贴到 agent 指令、JSON 请求体或你自己的 prompt 库。

### 为什么详情页会显示参数？

有些 prompt 采集时带有画幅、时长或声音控制等生成设置。存在参数时，页面会单独列出，方便你同时复用 prompt 文本和结构化设置。

### 应该调用哪个 endpoint？

使用 API 代码块里显示的 endpoint 路径。这个路径由 prompt 的 RunAPI 服务和 endpoint 名称生成，并渲染成 curl 与 SDK 示例使用的公开 API URL。

### 可以不用代码，直接在 agent 里用吗？

可以。在标签切换器里选择 Claude Code、Codex、Cursor 或 Windsurf，安装 RunAPI MCP Server，然后粘贴生成好的指令。指令会包含完整 prompt 文本。

## 需要团队接入支持？

我们可以协助团队接入、完成系统集成并解答技术问题。

[联系我们](https://runapi.ai/zh-CN/contact.md)


---

## More from RunAPI

- [Home](https://runapi.ai/zh-CN/.md)
### 产品
- [模型目录](https://runapi.ai/zh-CN/models.md)
- [定价](https://runapi.ai/zh-CN/pricing.md)
- [提供方](https://runapi.ai/zh-CN/models#all-models)
- [提示词库](https://runapi.ai/zh-CN/prompts.md)
### 开发者
- [文档](https://runapi.ai/zh-CN/docs/guides)
- [SDK](https://runapi.ai/zh-CN/sdk.md)
- [CLI](https://runapi.ai/zh-CN/cli.md)
- [MCP Server](https://runapi.ai/zh-CN/mcp.md)
- [x402](https://runapi.ai/zh-CN/x402.md)
### 指南
- [Claude Code 与 Cursor](https://runapi.ai/zh-CN/claude-code-vs-cursor.md)
- [Cursor API 设置](https://runapi.ai/zh-CN/cursor-api-setup.md)
- [RunAPI 与 OpenRouter](https://runapi.ai/zh-CN/openrouter-alternative.md)
### 公司
- [企业版](https://runapi.ai/zh-CN/contact.md)
- [邀请返利](https://runapi.ai/zh-CN/referral-program.md)
- [联系](https://runapi.ai/zh-CN/contact.md)
### 法律
- [服务条款](https://runapi.ai/zh-CN/terms.md)
- [隐私政策](https://runapi.ai/zh-CN/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-CN",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-CN",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-CN/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-CN",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-CN",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-CN",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "首页",
        "item": "https://runapi.ai/zh-CN"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Prompts",
        "item": "https://runapi.ai/zh-CN/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "视频",
        "item": "https://runapi.ai/zh-CN/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-CN",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "如何安全复制这个 prompt？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "使用完整 prompt 区块旁边的复制按钮。它只复制 prompt 文本，不包含页面标签，所以可以直接粘贴到 agent 指令、JSON 请求体或你自己的 prompt 库。"
        }
      },
      {
        "@type": "Question",
        "name": "为什么详情页会显示参数？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "有些 prompt 采集时带有画幅、时长或声音控制等生成设置。存在参数时，页面会单独列出，方便你同时复用 prompt 文本和结构化设置。"
        }
      },
      {
        "@type": "Question",
        "name": "应该调用哪个 endpoint？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "使用 API 代码块里显示的 endpoint 路径。这个路径由 prompt 的 RunAPI 服务和 endpoint 名称生成，并渲染成 curl 与 SDK 示例使用的公开 API URL。"
        }
      },
      {
        "@type": "Question",
        "name": "可以不用代码，直接在 agent 里用吗？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以。在标签切换器里选择 Claude Code、Codex、Cursor 或 Windsurf，安装 RunAPI MCP Server，然后粘贴生成好的指令。指令会包含完整 prompt 文本。"
        }
      }
    ]
  },
  {
    "@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"
    ]
  }
]
```
