Kuaishoukling-3.0
Kuaishou Kling 3.0: 3 to 15 second clips at 720p, 1080p or 4K from a prompt, a first frame, or a first and a last frame, with or without a soundtrack
$0.1134/ segundo-10%$0.126precio oficialSin cargo por generaciones fallidas
- 3–15 second clips
- 720p, 1080p and 4K
- Primer y último fotograma
- Sound on or off
- Modalidad
- Vídeo
- Endpoint
- /v1/videos/generations
- ID del modelo
- kling-3.0
- Proveedor
- Kuaishou
Kling 3.0 resumen de la API
Endpoint documentado
Las solicitudes de vídeo van a /v1/videos/generations. La tabla de parámetros de abajo recoge los campos que documenta esta interfaz.
Proveedor del modelo
Kling 3.0 lo publica Kuaishou y se invoca en la API con el ID de modelo kling-3.0.
Salida y límites
3–15 seconds; 720p, 1080p or 4K; one output per request; text: 16:9, 1:1 or 9:16; a first frame, or a first and a last frame, sets the shape (adaptive); no reference images, videos or audio; frame images at least 300 pixels a side with a width to height ratio from 0.4 to 2.5; prompt required; a soundtrack is generated unless generate_audio is false, and the price is the same with or without it
Kling 3.0 precios de la API
Kling 3.0 se factura un 10% por debajo del precio de lista oficial en cada concepto siguiente.
| Concepto | Tarifa de ArgoLink | Precio oficial | Ahorras |
|---|---|---|---|
| 720p | $0.1134 / segundo | -10% | |
| 1080p | $0.1512 / segundo | -10% | |
| 4k | $0.378 / segundo | -10% |
3–15 seconds; 720p, 1080p or 4K; one output per request; text: 16:9, 1:1 or 9:16; a first frame, or a first and a last frame, sets the shape (adaptive); no reference images, videos or audio; frame images at least 300 pixels a side with a width to height ratio from 0.4 to 2.5; prompt required; a soundtrack is generated unless generate_audio is false, and the price is the same with or without it
Kling 3.0 Referencia de la API
Inicio rápido
Crea una clave de API en la consola y usa la URL base, el endpoint y el cuerpo de la solicitud que se muestran en esta página.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0",
"prompt": "A slow aerial shot over a foggy pine forest at sunrise"
}'
curl https://argolink.io/v1/videos/$REQUEST_ID \
-H "Authorization: Bearer $ARGOLINK_API_KEY"
curl -L https://argolink.io/v1/videos/$REQUEST_ID/content \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-o output.mp4
import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['ARGOLINK_API_KEY']}"}
job = requests.post(
"https://argolink.io/v1/videos/generations",
headers=headers,
json={"model": "kling-3.0", "prompt": "A slow aerial shot over a foggy pine forest at sunrise"},
timeout=600,
)
job.raise_for_status()
request_id = job.json()["request_id"]
while True:
status = requests.get(f"https://argolink.io/v1/videos/{request_id}", headers=headers, timeout=60).json()
if status["status"] in ("done", "failed", "expired"):
break
time.sleep(5)
if status["status"] == "done":
video = requests.get(f"https://argolink.io/v1/videos/{request_id}/content", headers=headers, timeout=600)
open("output.mp4", "wb").write(video.content)
Modos
Texto a vídeo
Solo un prompt
La llamada más corta posible: solo el campo prompt es obligatorio, y con los campos que omitas se generan y facturan 5 segundos en 720p 16:9.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0",
"prompt": "Un plano aéreo lento sobre un pinar envuelto en niebla al amanecer",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}'
| Campo | Valor |
|---|---|
prompt | obligatorio, hasta 40,000 bytes; describe el movimiento de cámara, el sujeto y el ambiente |
duration | 3–15 segundos enteros, por defecto 5 |
resolution | 720p · 1080p · 4k, por defecto 720p |
aspect_ratio | 16:9 · 1:1 · 9:16, por defecto 16:9 |
size | píxeles en lugar de resolution más aspect_ratio, así que 1280x720 es 720p 16:9 |
Cada solicitud genera un vídeo; seed y watermark no se admiten, y el resultado lleva una pista de audio generada salvo que generate_audio sea false.
Primer y último fotograma
Fija el inicio y, si quieres, el final
start_image por sí solo es un primer fotograma; añade end_image y el modelo rellena el tramo intermedio entre ambos.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0",
"prompt": "La cámara avanza despacio mientras las hojas cruzan el encuadre",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/first-frame.png"}
}'
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0",
"prompt": "El día se convierte en noche sobre la misma silueta urbana mientras se encienden las luces",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/day.png"},
"end_image": {"url": "https://example.com/night.png"}
}'
| Campo | Valor |
|---|---|
prompt | obligatorio; describe cómo se mueve el plano |
start_image | una imagen HTTPS, que fija el encuadre del resultado |
end_image | opcional; una imagen HTTPS con la que termina el vídeo |
duration | 3–15 segundos enteros, por defecto 5 |
resolution | 720p · 1080p · 4k, por defecto 720p |
aspect_ratio | solo adaptive; sigue al primer fotograma |
El resultado adopta la proporción más cercana a la del primer fotograma.
Cómo subir y usar los fotogramas
Tu propio enlace, o un archivo local subido antes
El campo url de start_image y end_image es una dirección HTTPS. Un enlace que ya tengas alojado se usa tal cual, siempre que se pueda descargar sin iniciar sesión y todas las redirecciones se mantengan en HTTPS. Un archivo local se sube primero, y el media_url que recibes va en la solicitud.
FILE=first-frame.png
TICKET=$(curl -fsS https://argolink.io/v1/media/uploads \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\":\"kling-3.0\",\"type\":\"image\",\"content_type\":\"image/png\",\"size_bytes\":$(wc -c < "$FILE" | tr -d ' ')}")
curl -fsS -X PUT "$(jq -r .upload_url <<<"$TICKET")" \
-H "Content-Type: image/png" --data-binary @"$FILE"
# Put this media_url in start_image.url
jq -r .media_url <<<"$TICKET"
Pedir un ticket es gratis y no crea ninguna tarea: upload_url es válido durante 15 minutos y el PUT debe llevar el Content-Type que declaraste; el media_url que obtienes a cambio se puede leer durante siete días.
| Campo | Formato | Tamaño | Duración |
|---|---|---|---|
start_image · end_image | JPEG o PNG | ≤ 20 MiB | — |
Un recurso fuera de estos rangos hace fallar la tarea con invalid_input antes de que empiece la generación, y no se cobra nada.
Kling 3.0 parámetros completos de la solicitud
| Parámetro | Tipo | Requisito | Qué hace |
|---|---|---|---|
model | string | obligatorio | The catalog identifier for this page: kling-3.0. |
prompt | string | obligatorio | Describes the video: camera motion, subject action and mood. This model needs one in every mode, assets or not. |
duration | integer | opcional | Output length in whole seconds, 3 to 15; por defecto 5. |
resolution | string | opcional | Output resolution: 720p, 1080p or 4k; por defecto 720p. |
aspect_ratio | string | opcional | Output aspect ratio: 16:9, 1:1 or 9:16; por defecto 16:9. In first-frame and first-and-last-frame modes, send adaptive only; the result follows the first frame and uses the ratio closest to its first frame. |
size | string | opcional | Pixels instead of resolution plus aspect_ratio, written WIDTHxHEIGHT: the short side picks the tier (720 for 720p, 1080 for 1080p or 2160 for 4k) and the shape picks the ratio, so 1280x720 es 720p 16:9. It picks a tier and a ratio, not exact pixels; a resolution or aspect_ratio sent with it must match, or the request is rejected with 400. |
start_image | object | modos de primer fotograma | HTTPS URL of the first frame. Alone it makes a first-frame video, with end_image a first-and-last-frame video. |
end_image | object | solo primer y último fotograma | HTTPS URL del último fotograma; envíala junto con start_image. La proporción de la imagen original puede ser distinta, porque el resultado la adapta al primer fotograma. |
reference_images · reference_videos · reference_audios | array | no admitido | This model takes no reference assets: send a prompt, or a prompt with start_image and end_image. Any reference list is rejected with 400. |
seconds · ratio | — | nombres compatibles | Alias de duration y aspect_ratio; envía un solo nombre por valor, nunca ambos. |
image_url · image_urls · video_urls · audio_urls · frame_images · input_references | — | nombres compatibles | Los nombres de campo de las solicitudes de fal y OpenRouter también funcionan: image_url equivale a start_image; image_urls, video_urls y audio_urls son las tres listas de referencias; los elementos de frame_images cuyo frame_type es first_frame o last_frame son start_image y end_image; los elementos de input_references de tipo image_url, video_url o audio_url son referencias. Da a cada entrada un solo nombre. |
n | integer | opcional | Debe ser 1 u omitirse; cada solicitud produce exactamente un vídeo. |
generate_audio | boolean | opcional | Defaults to true: Kling 3.0 scores the video itself. Send false for a silent result. |
seed · watermark | — | no admitido | No disponible en este modelo: cualquier seed, o watermark: true, se rechaza con 400. |
request_id | string | campo de respuesta | Lo devuelve la llamada de envío y es el único identificador que aceptan los endpoints de estado y de contenido. |
progress · estimated_seconds_remaining | integer | campo de respuesta | Lo devuelve el endpoint de estado mientras status es pending: progress estima cuánto ha avanzado la tarea, de 0 a 99, y estimated_seconds_remaining cuántos segundos faltan; este último se omite hasta que haya una estimación. progress es 100 cuando status es done. |
video.url | string | campo de respuesta | Enlace de descarga del MP4 terminado cuando status es done: un enlace de ArgoLink que cualquiera puede abrir sin la clave de API, durante 30 días. |
usage | object | campo de respuesta | Se devuelve cuando status es done: output_seconds, reference_video_seconds y billed_seconds, su suma, que es lo que se factura por la tarea. |
Kling 3.0 API frente a modelos similares
| Modelo | ID del modelo | Proveedor | Tarifa | Ideal para |
|---|---|---|---|---|
| Kling 3.0 | kling-3.0 | Kuaishou | $0.1134 / segundo | Kuaishou Kling 3.0: 3 to 15 second clips at 720p, 1080p or 4K from a prompt, a first frame, or a first and a last frame, with or without a soundtrack |
| Seedance 2.5 | seedance-2.5 | ByteDance Seed | $0.0874 / segundo | El modelo de vídeo Seedance más capaz hasta ahora: clips de 30 segundos, hasta 50 recursos de referencia y compatibilidad nativa con referencias de personas reales, sin aprobación manual ni verificación adicional |
| Grok Imagine Video 1.5 | grok-imagine-video-1.5 | xAI | $0.032 / segundo | Generación de vídeo en 480p, 720p y 1080p facturada por segundo de salida |
| Gemini Omni 1.2 Flash | gemini-omni-1.2-flash | $0.0215 / segundo | Google Gemini Omni 1.2 Flash: 3 to 15 second clips with native sound at 720p, 1080p or 4K, from a prompt, a first and last frame, hasta 10 reference images and 3 reference videos, or as an edit of a video |
Más modelos de este proveedor
- Kling 4.0Kuaishou Kling 4.0: 3 to 30 second clips at 720p or 1080p from a prompt, or from hasta 10 reference images and 5 reference videos, with a soundtrack of its own$0.1256 / segundo
- Kling 4.0 FlashKuaishou Kling 4.0 Flash: the quicker Kling 4.0, 3 to 20 second clips at 720p from a prompt, a first frame, or hasta 10 reference images and 5 reference videos, with a soundtrack of its own$0.07536 / segundo
Otros modelos de la misma modalidad
- Seedance 2.5El modelo de vídeo Seedance más capaz hasta ahora: clips de 30 segundos, hasta 50 recursos de referencia y compatibilidad nativa con referencias de personas reales, sin aprobación manual ni verificación adicional$0.0874 / segundo
- Grok Imagine Video 1.5Generación de vídeo en 480p, 720p y 1080p facturada por segundo de salida$0.032 / segundo
- Gemini Omni 1.2 FlashGoogle Gemini Omni 1.2 Flash: 3 to 15 second clips with native sound at 720p, 1080p or 4K, from a prompt, a first and last frame, hasta 10 reference images and 3 reference videos, or as an edit of a video$0.0215 / segundo
- MAGI-2Sand AI's MAGI-2: 4 to 30 second 1080p clips with native sound, from a prompt or from hasta 10 reference images, 5 reference videos and 5 audio clips$0.072 / segundo
Kling 3.0 preguntas frecuentes sobre la API
¿Cómo llamo a Kling 3.0?
Create an API key in the console and POST https://argolink.io/v1/videos/generations con model establecido en kling-3.0. The response carries request_id, the only job identifier: poll GET https://argolink.io/v1/videos/{request_id}, which reports progress and estimated_seconds_remaining while the job is pending, until status is done, then download the MP4 from GET https://argolink.io/v1/videos/{request_id}/content, la dirección que el estado devuelve como video.url.
¿Cuánto cuesta Kling 3.0?
Por segundo de salida, desde $0.1134 per second at the lowest tier; each tier in the pricing table has its own per-second rate, multiplied by the video's length. Todos los niveles están 10% por debajo del precio de lista oficial por segundo ($0.126 por segundo en el nivel más bajo). Only a completed video is billed; a failed or rejected job costs nothing.
¿Qué modos de entrada admite Kling 3.0?
Todo en el mismo endpoint: texto a vídeo (solo un prompt); first frame (start_image); first and last frames (start_image plus end_image on one aspect ratio). First-frame and first-and-last-frame videos take their aspect ratio from the first frame. Every asset is an HTTPS URL.
¿Qué no admite Kling 3.0?
Más de un vídeo por solicitud (n debe ser 1 u omitirse), cualquier seed o watermark: true; todos devuelven 400. La salida es un vídeo H.264 en MP4 con una pista de audio generada salvo que generate_audio sea false.
¿Cómo se elige la relación de aspecto de un vídeo de primer fotograma en Kling 3.0?
Leave aspect_ratio out, or send adaptive, and the first frame decides: the video takes the closest of 16:9, 1:1, 9:16, so the frame is cropped as little as possible. The two frame modes take no fixed ratio; naming one is rejected. With first and last frames, the source images may have different ratios; the result adapts the last frame to the first.
¿Los vídeos de Kling 3.0 tienen sonido?
Por defecto, sí: Kling 3.0 scores the video itself. Send generate_audio: false for a silent result.