Kling Omni Video O3 Standard Text-To-Video

kwaivgi/kling-video-o3/text-to-video

kwaivgi/kling-video-o3/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

Modelos relacionados

Referência completa de parâmetros, esquema de saída e preços atuais

Marketplace de APIs de modelos de IAUma plataforma para tudoMais popularTermosExplore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.
prompt *Prompttextarea—≤ 5000 chars
resolutionGeneration Modeselect720P720P | 1080P | 4K
aspect_ratioAspect Ratioselect16:916:9 | 9:16 | 1:1
durationDurationselect53 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | …
soundSoundbooleanfalse—
multi_shotMulti Shotboolean——
shot_typeShot Typeselect—customize | intelligence
multi_promptMulti Promptarray<object>——
↳durationDurationnumber5—
↳promptPrompttext——

Referência completa de parâmetros, esquema de saída e preços atuais

Saiba maisUma plataforma para tudoExplore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.
videosarray<string>

API

Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-video-o3/text-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A serene mountain landscape at sunrise, with golden light reflecting off the peaks and a gentle river flowing through the valley.",
    "resolution": "720P",
    "aspect_ratio": "16:9",
    "duration": 8,
    "sound": true,
    "shot_type": "intelligence"
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-video-o3/text-to-video",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A serene mountain landscape at sunrise, with golden light reflecting off the peaks and a gentle river flowing through the valley.",
            "resolution": "720P",
            "aspect_ratio": "16:9",
            "duration": 8,
            "sound": True,
            "shot_type": "intelligence"
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-video-o3/text-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A serene mountain landscape at sunrise, with golden light reflecting off the peaks and a gentle river flowing through the valley.",
      "resolution": "720P",
      "aspect_ratio": "16:9",
      "duration": 8,
      "sound": true,
      "shot_type": "intelligence"
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

Documentação da API

Kling Omni Video O3 Text-To-Video

Advanced multi-modal video generation with text-to-video and audio support

Kling Omni Video O3 is Kuaishou's advanced unified multi-modal video model powered by MVL (Multi-modal Visual Language) technology. It generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Audio generation is supported, and the model is accessible via a ready-to-use REST API with top-tier performance, no cold starts, and affordable pricing.

🚀 Key Features

  • Cinematic Video Generation: Create high-quality videos from text prompts, supporting complex scenes and dynamic effects.
  • Natural Physics Simulation: Realistic physical effects and motion consistency in generated visuals.
  • Multi-Aspect Ratio Support: Generate videos in 16:9, 9:16, and 1:1 aspect ratios to suit various platforms.
  • Optional Audio Generation: Produce synchronized sound effects alongside video for a complete multimedia experience.
  • Multi-Prompt Support: Chain multiple prompts to enable smooth scene transitions and narrative flow.
  • Prompt Enhancer: Built-in tool to automatically refine video descriptions for better results.

🛠️ Technical Specifications

ParameterTypeDefault ValueRangeDescription
PromptStringRequired-Text description of the video scene, motion, and style.
Aspect RatioString16:916:9, 9:16, 1:1Aspect ratio of the generated video.
DurationInteger5 seconds3–15 secondsLength of the generated video in seconds.
SoundBooleanFalseTrue, FalseWhether to generate synchronized audio.
Shot TypeStringCustomizeCustomize, IntelligentShot type for video generation (manual or automatic).
Multi-PromptArray--Additional prompt segments for scene transitions.

💰 Pricing

Type720P1080P4K
Without Sound0.08400.11200.4200
With Sound0.11200.14000.4200

Billing Rules:

  • Base Rate: Depends on resolution.
  • Sound Surcharge: Approximately +33.3% premium for audio.
  • Duration: 3–15 seconds.

💡 Best Use Cases

  • Professional Content Creation: Generate high-quality videos at a more accessible price point.
  • Social Media: Create engaging content for TikTok, Reels, and Stories.
  • Marketing Videos: Produce promotional content with optional synchronized sound.
  • Concept Visualization: Quickly bring creative ideas to life from text descriptions.
  • Extended Scenes: Support up to 15 seconds for longer storytelling and scene development.

🔗 Related Models

  • Kling Video O3 Image-To-Video: Animate images at O3 pricing.
  • Kling V3.0 Text-To-Video: V3.0 at lower cost.

Please adhere to Kuaishou's content usage policies when crafting prompts.

Modelos relacionados

xAI Grok Imagine Video v1.5 Text to Video
Texto para vídeoX Ai

xAI Grok Imagine Video v1.5 Text to Video

x-ai/grok-imagine-video-v1.5/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.840 / por execução
MiniMax H3 Text to Video
Texto para vídeoMinimax

MiniMax H3 Text to Video

minimax/h3/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.650 / por execução
ltx-2.5/text-to-video
Texto para vídeoLtx 2.5

ltx-2.5/text-to-video

ltx-2.5/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.500 / por execução
Kling 3.0
Texto para vídeoKling

Kling 3.0

kwaivgi/kling-v3.0/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.420 / por execução
Kling V2.6 Text to Video API
Texto para vídeoKling

Kling V2.6 Text to Video API

kwaivgi/kling-v2.6/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.210 / por execução
Gemini Omni Flash Text to Video API
Texto para vídeoGoogle

Gemini Omni Flash Text to Video API

google/gemini-omni-flash/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $1.04 / por execução
Seedance 2.0 Mini Text to Video
Texto para vídeoDoubao

Seedance 2.0 Mini Text to Video

doubao/seedance-2.0-mini/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.378 / por execução
Seedance 2.5 Text-to-Video
Texto para vídeoDoubao

Seedance 2.5 Text-to-Video

doubao/seedance-2-5/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $1.155 / por execução