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/ secondo-10%$0.126prezzo ufficialeNessun addebito per le generazioni non riuscite
- 3–15 second clips
- 720p, 1080p and 4K
- Primo e ultimo fotogramma
- Sound on or off
- Modalità
- Video
- Endpoint
- /v1/videos/generations
- ID del modello
- kling-3.0
- Provider
- Kuaishou
Kling 3.0 API: panoramica
Endpoint documentato
Le richieste video vanno a /v1/videos/generations. La tabella dei parametri qui sotto elenca i campi documentati per questa interfaccia.
Sviluppatore del modello
Kling 3.0 è pubblicato da Kuaishou e nell'API si invoca con l'ID del modello kling-3.0.
Output e limiti
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 API: prezzi
Kling 3.0 è fatturato il 10% in meno del prezzo di listino ufficiale su ogni voce qui sotto.
| Voce | Tariffa ArgoLink | Prezzo ufficiale | Risparmi |
|---|---|---|---|
| 720p | $0.1134 / secondo | -10% | |
| 1080p | $0.1512 / secondo | -10% | |
| 4k | $0.378 / secondo | -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 API: riferimento
Avvio rapido
Crea una chiave API nella console, poi usa l’URL di base, l’endpoint e il corpo della richiesta indicati in questa pagina.
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)
Modalità
Da testo a video
Solo un prompt
La chiamata più breve possibile: è obbligatorio solo prompt, e con i campi omessi vengono generati e fatturati 5 secondi a 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": "Lenta ripresa aerea su una pineta avvolta nella nebbia al sorgere del sole",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}'
| Campo | Valore |
|---|---|
prompt | obbligatorio, fino a 40,000 byte; descrivi il movimento di camera, il soggetto e l'atmosfera |
duration | 3–15 secondi interi, predefinito 5 |
resolution | 720p · 1080p · 4k, predefinito 720p |
aspect_ratio | 16:9 · 1:1 · 9:16, predefinito 16:9 |
size | pixel al posto di resolution più aspect_ratio, quindi 1280x720 è 720p 16:9 |
Una richiesta genera un solo video; seed e watermark non sono supportati, e il risultato ha una traccia audio generata a meno che generate_audio non sia false.
Primo e ultimo fotogramma
Fissa l'inizio e, se vuoi, la fine
start_image da solo è un primo fotogramma; aggiungi end_image e il modello genera la parte intermedia tra i due.
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 camera avanza lentamente mentre le foglie volteggiano attraverso la scena",
"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": "Il giorno diventa notte sullo stesso skyline mentre si accendono le luci",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/day.png"},
"end_image": {"url": "https://example.com/night.png"}
}'
| Campo | Valore |
|---|---|
prompt | obbligatorio; descrivi il movimento dell'inquadratura |
start_image | un'immagine HTTPS, che determina l'inquadratura del risultato |
end_image | facoltativo; un'immagine HTTPS su cui termina il video |
duration | 3–15 secondi interi, predefinito 5 |
resolution | 720p · 1080p · 4k, predefinito 720p |
aspect_ratio | solo adaptive; segue il primo fotogramma |
Il risultato prende il rapporto più vicino a quello del primo fotogramma.
Come caricare e usare i fotogrammi
Un tuo link, oppure un file locale caricato prima
Il campo url di start_image ed end_image è un indirizzo HTTPS. Un link che ospiti già si usa così com'è, purché si possa scaricare senza effettuare l'accesso e ogni reindirizzamento resti su HTTPS. Un file locale va prima caricato, e il media_url che ricevi va inserito nella richiesta.
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"
Richiedere un ticket è gratuito e non crea alcun job: upload_url è valido per 15 minuti e la richiesta PUT deve avere il Content-Type che hai dichiarato; il media_url che ottieni in cambio resta leggibile per sette giorni.
| Campo | Formato | Dimensione | Durata |
|---|---|---|---|
start_image · end_image | JPEG o PNG | ≤ 20 MiB | — |
Un asset fuori da questi limiti fa fallire il job con invalid_input prima che inizi la generazione, e non viene addebitato nulla.
Kling 3.0 API: parametri completi della richiesta
| Parametro | Tipo | Requisito | Funzione |
|---|---|---|---|
model | string | obbligatorio | The catalog identifier for this page: kling-3.0. |
prompt | string | obbligatorio | Describes the video: camera motion, subject action and mood. This model needs one in every mode, assets or not. |
duration | integer | facoltativo | Output length in whole seconds, 3 to 15; predefinito 5. |
resolution | string | facoltativo | Output resolution: 720p, 1080p or 4k; predefinito 720p. |
aspect_ratio | string | facoltativo | Output aspect ratio: 16:9, 1:1 or 9:16; predefinito 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 | facoltativo | 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 è 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 | modalità con primo fotogramma | 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 primo e ultimo fotogramma | HTTPS URL dell'ultimo fotogramma; invialo insieme a start_image. Il rapporto dell'immagine sorgente può essere diverso, perché il risultato lo adatta al primo fotogramma. |
reference_images · reference_videos · reference_audios | array | non supportato | 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 | — | nomi compatibili | Alias di duration e aspect_ratio; usa un solo nome per ciascun valore, mai entrambi. |
image_url · image_urls · video_urls · audio_urls · frame_images · input_references | — | nomi compatibili | Funzionano anche i nomi dei campi delle richieste fal e OpenRouter: image_url equivale a start_image; image_urls, video_urls e audio_urls sono le tre liste di riferimenti; gli elementi di frame_images con frame_type first_frame o last_frame sono start_image ed end_image; gli elementi di input_references di tipo image_url, video_url o audio_url sono riferimenti. Usa un solo nome per ogni input. |
n | integer | facoltativo | Deve essere 1 o omesso; ogni richiesta produce esattamente un video. |
generate_audio | boolean | facoltativo | Defaults to true: Kling 3.0 scores the video itself. Send false for a silent result. |
seed · watermark | — | non supportato | Non disponibile su questo modello: qualsiasi seed, o watermark: true, viene rifiutato con 400. |
request_id | string | campo della risposta | Restituito dalla chiamata di invio; è l'unico identificativo accettato dagli endpoint di stato e di contenuto. |
progress · estimated_seconds_remaining | integer | campo della risposta | Restituiti dall'endpoint di stato mentre status è pending: progress stima l'avanzamento del job, da 0 a 99, ed estimated_seconds_remaining quanti secondi mancano; quest'ultimo viene omesso finché non c'è una stima. progress vale 100 quando status è done. |
video.url | string | campo della risposta | Link di download dell'MP4 finito quando status è done: un link ArgoLink che chiunque può aprire senza la chiave API, per 30 giorni. |
usage | object | campo della risposta | Restituito quando status è done: output_seconds, reference_video_seconds e billed_seconds, la loro somma, su cui viene fatturato il job. |
Kling 3.0 API a confronto con modelli simili
| Modello | ID del modello | Provider | Tariffa | Ideale per |
|---|---|---|---|---|
| Kling 3.0 | kling-3.0 | Kuaishou | $0.1134 / secondo | 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 / secondo | Il modello video Seedance più capace finora: clip da 30 secondi, fino a 50 asset di riferimento e supporto nativo per riferimenti con persone reali, senza approvazione manuale né verifiche aggiuntive |
| Grok Imagine Video 1.5 | grok-imagine-video-1.5 | xAI | $0.032 / secondo | Generazione video a 480p, 720p e 1080p, fatturata per secondo di output |
| Gemini Omni 1.2 Flash | gemini-omni-1.2-flash | $0.0215 / secondo | 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, fino a 10 reference images and 3 reference videos, or as an edit of a video |
Altri modelli dello stesso sviluppatore
- Kling 4.0Kuaishou Kling 4.0: 3 to 30 second clips at 720p or 1080p from a prompt, or from fino a 10 reference images and 5 reference videos, with a soundtrack of its own$0.1256 / secondo
- 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 fino a 10 reference images and 5 reference videos, with a soundtrack of its own$0.07536 / secondo
Altri modelli della stessa modalità
- Seedance 2.5Il modello video Seedance più capace finora: clip da 30 secondi, fino a 50 asset di riferimento e supporto nativo per riferimenti con persone reali, senza approvazione manuale né verifiche aggiuntive$0.0874 / secondo
- Grok Imagine Video 1.5Generazione video a 480p, 720p e 1080p, fatturata per secondo di output$0.032 / secondo
- 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, fino a 10 reference images and 3 reference videos, or as an edit of a video$0.0215 / secondo
- MAGI-2Sand AI's MAGI-2: 4 to 30 second 1080p clips with native sound, from a prompt or from fino a 10 reference images, 5 reference videos and 5 audio clips$0.072 / secondo
Kling 3.0 API: domande frequenti
Come effettuo una chiamata a Kling 3.0?
Create an API key in the console and POST https://argolink.io/v1/videos/generations con il campo model impostato su 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, l'indirizzo che la risposta di stato restituisce in video.url.
Quanto costa Kling 3.0?
Si paga per secondo di output, a partire da $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. Ogni livello costa il 10% in meno rispetto al prezzo di listino ufficiale al secondo ($0.126 al secondo nel livello più basso). Only a completed video is billed; a failed or rejected job costs nothing.
Quali modalità di input supporta Kling 3.0?
Tutto sullo stesso endpoint: da testo a video (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.
Cosa non supporta Kling 3.0?
Più di un video per richiesta (n deve essere 1 o omesso), qualsiasi seed oppure watermark: true; in questi casi viene restituito 400. L'output è un video H.264 in formato MP4 con una traccia audio generata, a meno che generate_audio non sia false.
Come viene scelto il rapporto d’aspetto di un video di Kling 3.0 generato da un primo fotogramma?
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.
I video di Kling 3.0 hanno l’audio?
Per impostazione predefinita sì: Kling 3.0 scores the video itself. Send generate_audio: false for a silent result.