kling-v4por defectoKling V4 API — cómo conectarse y pagar
Kling 4.0 — video de 3 a 30 segundos con audio nativo y sincronización labial: a partir de texto, de fotogramas clave (primero, último y hasta 8 fotogramas intermedios) o de referencias (hasta 10 imágenes, 5 videos, 7 elementos y 3 voces). 720p/1080p. Se cobra por segundo según la resolución; si incluye un video de entrada, sus segundos también se cobran.
Comparación de canales
últimos 7 días
| Canal | Precio |
|---|---|
Pixel kling-v4por defecto | desde $0.183214 / s |
Construye el resultado que necesitas
kling-v4Qué es Kling V4
Kling 4.0 — video de 3 a 30 segundos con audio nativo y sincronización labial: a partir de texto, de fotogramas clave (primero, último y hasta 8 fotogramas intermedios) o de referencias (hasta 10 imágenes, 5 videos, 7 elementos y 3 voces). 720p/1080p. Se cobra por segundo según la resolución; si incluye un video de entrada, sus segundos también se cobran.
Resumen del contrato
- Entrada
- text, image, video, audio
- Salida
- video
- Modo
- asíncrono (trabajo + sondeo)
- Sondeo de estado
- cada 3 s · hasta 600 s
Puntos fuertes
- Precios: por segundo
- Entradas: texto, imagen, video, audio
- 3 opciones configurables
- Una clave de API para la generación de contenido multimedia
Dónde se usa
- Clips para redes sociales
- Promociones y secuencias de títulos
- Animación de imágenes estáticas
- Storyboards y animáticas
Contrato de API
La generación es asíncrona: crea un trabajo y sondea su estado hasta que termine.
- Crear trabajo
- POST /api/media/generate
- Comprobar estado
- GET /api/media/jobs/{jobId}
- Entrada
- text, image, video, audio
- Salida
- video
- Sondeo
- cada 3 s · hasta 600 s
- Autenticación
- Authorization: Bearer sk-pv-…
Solicitud de ejemplo
Pase su clave en la cabecera Bearer. La API devuelve jobId para sondear el estado.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"kling-v4","prompt":"a beautiful landscape","opts":{"input":"text-to-video","aspect_ratio":"auto","resolution":"720p","duration":5}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "kling-v4",
"prompt": "a beautiful landscape",
"opts": {
"input": "text-to-video",
"aspect_ratio": "auto",
"resolution": "720p",
"duration": 5
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);Parámetros de la solicitud API
Parámetros para solicitudes a Kling V4 a través de la API de GetVibe.
promptobl.image_urlvideo_urlaudio_urlinputaspect_ratioresolutiondurationlast_frame_urlkeep_original_soundkeyframe_urlsimage_file_idimage_base64last_frame_file_idreference_image_urlsreference_video_urlselementsvoicesreference_image_file_idsreference_video_file_ids| Parámetro | Tipo | Valores | Por defecto | Precio |
|---|---|---|---|---|
promptobl. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
video_url | URL | Public video URL | — | — |
audio_url | URL | Public audio URL | — | — |
input | option selection | Text → video (default) · Keyframes → video · Reference → video | Texto → video | Included in the base price |
aspect_ratio | option selection | Auto (default) · 16:9 · 9:16 · 1:1 · 21:9 | Automático | Included in the base price |
resolution | option selection | 720p (default) · 1080p | 720p | Included in the base price |
duration | text / number | any value | — | Included in the base price |
last_frame_url | text / number | any value | — | Included in the base price |
keep_original_sound | yes/no | Yes · No (default) | No | Included in the base price |
keyframe_urls | Array<URLs>, 0–8 items | Public HTTP(S) URLs | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
last_frame_file_id | text | Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
reference_image_urls | Array<URLs>, 0–10 items | Public HTTP(S) URLs | — | Included in the base price |
reference_video_urls | Array<URLs>, 0–5 items | Public HTTP(S) URLs | — | Included in the base price |
elements | Array<objects>, 0–7 items | object: name, image_urls, video_url, tag, description, voice_url | — | Included in the base price |
voices | Array<objects>, 0–3 items | object: name, audio_url | — | Included in the base price |
reference_image_file_ids | Array<strings> | List of values | — | Included in the base price |
reference_video_file_ids | Array<strings> | List of values | — | Included in the base price |
Solicitud: POST https://getvibeapi.com/api/media/generate. Precios en USD.
Precio de Kling V4
El coste de Kling V4: desde $0.183214 per second. El precio se calcula dinámicamente al tipo de cambio actual, y el cargo final se muestra en la respuesta de la API (priceRub). Pago en USD, sin suscripciones.
Cuánto cuesta una solicitud por defecto
Sin parámetros, la solicitud usa estos valores: Resolution — 720p, Source material — Text → video, Frame format — Auto, Keep the reference video sound — No. Esa solicitud cuesta $0.183214.
Canales y precios de cada combinación de parámetros
Para cada canal, el precio de cada combinación de parámetros. Es exactamente lo que se cobra por una generación exitosa, igual que en la tabla legible por máquina enlazada abajo.
Pixelkling-v4desde $0.183214 / sprecios exactos
| Entrada · Relación de aspecto \ Resolución | 720p | 1080p |
|---|---|---|
| Texto → video · Automático | $0.183214 / s | $0.273214 / s |
| Texto → video · 16:9 | $0.183214 / s | $0.273214 / s |
| Texto → video · 9:16 | $0.183214 / s | $0.273214 / s |
| Texto → video · 1:1 | $0.183214 / s | $0.273214 / s |
| Texto → video · 21:9 | $0.183214 / s | $0.273214 / s |
| Fotogramas clave → video · — | $0.183214 / s | $0.273214 / s |
| Referencia → video · Automático | $0.183214 / s | $0.273214 / s |
| Referencia → video · 16:9 | $0.183214 / s | $0.273214 / s |
| Referencia → video · 9:16 | $0.183214 / s | $0.273214 / s |
| Referencia → video · 1:1 | $0.183214 / s | $0.273214 / s |
| Referencia → video · 21:9 | $0.183214 / s | $0.273214 / s |
Todas las combinaciones en JSON: /api/media/price-table?model=kling-v4
README
El contrato legible por máquina de Kling V4 contiene el esquema de la solicitud, operaciones, límites, sondeo y ejemplos de respuesta.
# Kling V4
Modelo público: kling-v4
Crear trabajo: POST /api/media/generate
Comprobar estado: GET /api/media/jobs/{jobId}
## Parámetros de entrada
- `prompt` (text): text description; por defecto: required
- `image_url` (URL): Public image URL; por defecto: —
- `video_url` (URL): Public video URL; por defecto: —
- `audio_url` (URL): Public audio URL; por defecto: —
- `input` (option selection): Text → video (default) · Keyframes → video · Reference → video; por defecto: Text → video
- `aspect_ratio` (option selection): Auto (default) · 16:9 · 9:16 · 1:1 · 21:9; por defecto: Auto
- `resolution` (option selection): 720p (default) · 1080p; por defecto: 720p
- `duration` (text / number): any value; por defecto: —
- `last_frame_url` (text / number): any value; por defecto: —
- `keep_original_sound` (yes/no): Yes · No (default); por defecto: No
- `keyframe_urls` (Array<URLs>, 0–8 items): Public HTTP(S) URLs; por defecto: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); por defecto: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; por defecto: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); por defecto: —
- `reference_image_urls` (Array<URLs>, 0–10 items): Public HTTP(S) URLs; por defecto: —
- `reference_video_urls` (Array<URLs>, 0–5 items): Public HTTP(S) URLs; por defecto: —
- `elements` (Array<objects>, 0–7 items): object: name, image_urls, video_url, tag, description, voice_url; por defecto: —
- `voices` (Array<objects>, 0–3 items): object: name, audio_url; por defecto: —
- `reference_image_file_ids` (Array<strings>): List of values; por defecto: —
- `reference_video_file_ids` (Array<strings>): List of values; por defecto: —
## Variantes públicas
- `kling-v4`: PixelPreguntas frecuentes sobre la API de Kling V4
¿Cuánto cuesta Kling V4?
El precio de Kling V4: desde $0.183214 per second. El precio se calcula dinámicamente al tipo de cambio actual.
¿Es compatible con el SDK de OpenAI?
Sí, la API es totalmente compatible con OpenAI. Basta cambiar base_url a https://getvibeapi.com/v1 e indicar su clave — el resto del código no cambia.
Conecte Kling V4 ahora mismo
Regístrese en un minuto, pague por uso, código listo arriba.
Obtener clave API