Skip to content
Trang này chưa có bản dịch sang ngôn ngữ của bạn, nên hiện đang được hiển thị bằng tiếng Anh.
Kuaishou · Kling

kling-video-o1 API

Generate reasoning-enhanced video from text, images, or a reference video with kling-video-o1 on APISea.

Tạo videoVideoTác vụ bất đồng bộ
ID model
kling-video-o1

Bảng giá API kling-video-o1

Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.

Tùy chọnAPISeaChính thứcTiết kiệm
Mặc địnhMặc định$0.07392$0.084−12%
pro$0.09856$0.112−12%
pro-video$0.1478$0.168−12%
video$0.1109$0.126−12%

Giá tính theo mỗi giây.

kling-video-o1 là gì?

kling-video-o1 is Kuaishou’s reasoning-enhanced Kling video generation model, documented as a highest-quality option. On APISea, it offers a unified interface for text-to-video and image-to-video workflows, with support for a reference video. Developers can guide generation with a positive text prompt, reference images, and explicit first-frame or last-frame roles. Standard mode produces 720P video, while professional mode produces 1080P video. Duration options are 5 or 10 seconds, with landscape, portrait, and square aspect ratios.

Submit requests to POST /v1/videos/generations using your APISea Bearer token and the model ID kling-video-o1. Processing is asynchronous: the initial response returns a task ID for subsequent status queries. APISea uses pay-as-you-go billing and charges only for successful requests. The Default configuration costs $0.07392 per second, about 12% below the provider list price; other listed configurations have separate per-second rates.

Điểm nổi bật của kling-video-o1

Text and Image Inputs

Generate video from a text prompt or guide it with reference images through the same endpoint. Role-based images support first-frame, last-frame, and reference roles.

Two Resolution Modes

Choose standard mode for 720P output or professional mode for 1080P output. Standard mode is the default.

Duration and Framing

Select 5- or 10-second generation and 16:9, 9:16, or 1:1 framing. Defaults are 5 seconds and 16:9.

Reference Video Controls

Supply one reference video as a base for editing or as a feature reference. For video inputs, you can choose whether to keep the original sound.

Cách gọi API kling-video-o1 trong 4 bước

  1. 01

    Tạo API key

    Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.

  2. 02

    Đặt base URL

    Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.

  3. 03

    Gửi request

    Gọi POST /v1/videos/generations với "model": "kling-video-o1" và các tham số bên dưới.

  4. 04

    Xử lý phản hồi

    Phản hồi có chứa task_id. Gửi GET /v1/tasks/{task_id} định kỳ cho đến khi trạng thái là completed, sau đó tải xuống từ các URL kết quả.

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "kling-video-o1",
    "prompt": "Make the person in <<<image_1>>> wave at the camera",
    "image_urls": ["https://cdn.example.com/f/models/9998230426123070-e9d6af04-cb5e-4731-8ae7-abf144cb0d29-9998230586368386-29641169-f698-4ab9-9b6d-380899e6521e-9998230593110693-c1741a3a-.webp"],
    "mode": "std",
    "duration": 5,
    "aspect_ratio": "16:9"
  }'

Tham số

Tham sốLoạiBắt buộcMặc địnhMô tả
modelstringBắt buộc—Video generation model name
nsfw_checkbooleanTùy chọnfalseWhether to run content moderation before submitting the video task.
promptstringBắt buộc—Positive text prompt
modestringTùy chọnstdGeneration mode
durationintegerTùy chọn5Video duration (seconds)
aspect_ratiostringTùy chọn16:9Video aspect ratio
image_urlsarray\<url\>Tùy chọn—Image URL array for image referencing
image_with_rolesarray\<object\>Tùy chọn—Role-based image array, recommended for image-to-video.
video_listarrayTùy chọn—Reference video list (URL-based), up to 1 video.

Bạn có thể xây dựng gì với kling-video-o1

Prompt-Based Clip Tools

Build a tool that turns written scene descriptions into short video clips, with selectable duration and framing.

Image Animation Workflows

Let users supply an image and describe how its subject should move, using image references to guide generation.

Start-to-End Sequences

Create workflows that accept a starting image and an ending image to guide a generated sequence between those frames.

Reference Video Editing

Build an editing interface that accepts a base video and a text prompt, with an option to retain the original audio.

Mẹo để có kết quả tốt hơn

  • 01

    Set Controls Explicitly

    Set mode, duration, and aspect_ratio deliberately rather than relying on defaults. The defaults are std, 5 seconds, and 16:9.

  • 02

    Prepare Image References

    Use publicly accessible image URLs without hotlink protection, and reference them in the prompt using the documented >> syntax. Use either image_urls or image_with_roles, never both.

  • 03

    Track Async Tasks

    Store the returned task_id and use it for subsequent status queries. The initial submitted status does not mean the video is ready.

  • 04

    Check Moderation Settings

    Set nsfw_check to true to review prompts and input images before submission. It defaults to false; leaving it disabled adds no moderation cost or latency.

Giới hạn và những điều cần biết

  • Prompts must not exceed 2,500 characters.

  • image_urls accepts up to two images; more than two role-based images cannot define start/end frames.

  • Only one reference video is supported, and base-video inputs must be 3–10 seconds long.

Câu hỏi thường gặp về API kling-video-o1

How much does kling-video-o1 cost on APISea?

APISea rates are Default: $0.07392 per second; pro: $0.09856 per second; pro-video: $0.1478 per second; and video: $0.1109 per second. The Default configuration is about 12% below the provider list price, and APISea bills only successful requests.

How do I call kling-video-o1 through the API?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer token authentication, model set to kling-video-o1, and a required prompt. The response returns a task ID for subsequent queries.

What resolutions, durations, and aspect ratios are supported?

Standard mode supports 720P and professional mode supports 1080P. Duration options are 5 or 10 seconds, and aspect ratios are 16:9, 9:16, or 1:1; in image-to-video workflows, the image ratio may override the requested aspect ratio.

Can I use images and videos as references?

Yes, use image_urls or image_with_roles for images, or video_list for one reference video. Image URLs must be publicly accessible, and reference videos must be accessible MP4 or MOV files that meet the documented input requirements.

What are the reference video input limits?

Reference videos must be at least 3 seconds long, 720px–2160px in resolution, 24–60fps, and no larger than 200MB; output is 24fps. For a base video, the input must be 3–10 seconds long, generated duration follows the input, and start/end frames cannot be defined.

Can I use generated videos commercially?

Commercial use is subject to the provider’s terms. Check Kuaishou’s applicable terms and the rights to any images, videos, or audio you supply before using outputs commercially.

Model liên quan

Hệ sinh thái gồm 250+ mô hình · Nạp tối thiểu $50

Bắt đầu xây dựng với kling-video-o1

Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.