Ir para o conteúdo

Kling Video 4K Video to Video Edit

Integrar

ID do modelo kling-video/o3/4k/video-to-video/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o3/4k/video-to-video/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Arquivos como o exemplo: $ 4,20 4.200 créditos de API seus arquivos são medidos antes da execução Executar nesta página

Obter chave de API

Feito no Doitong

Trabalhos públicos feitos com Kling O3 pela comunidade Doitong. Reutilize um prompt com um clique.

Trabalhos públicos exibidos: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Vídeo

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... Vídeo

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... Vídeo

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Vídeo

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... Vídeo

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... Vídeo

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Vídeo

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Vídeo

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Criar uma solicitação

Os controles são gerados a partir do esquema do modelo. O código e o preço são atualizados conforme você os altera.

•obrigatório 88 / 2500

Instruções de texto para gerar o vídeo. Use @Video1 para se referir ao vídeo de referência.

•obrigatório video_url
Solte um arquivo ou

URL que aponta para um vídeo de referência no formato .mp4 ou .mov, com no máximo 200MB. Ambas as dimensões devem estar entre 720px e 3840px, com taxa de quadros de 23.0–60.0 FPS e duração de 3–15 segundos (no máximo 15.05 segundos).

Avançado images · shot_type · enable_safety_checker · keep_audio · elements
image_urls
Solte um arquivo ou

Imagens que orientam o estilo ou a aparência, referenciadas no prompt usando @Image1, @Image2 e assim por diante. Com entrada de vídeo, elementos e imagens de referência não podem exceder 4 entradas no total. Cada arquivo é limitado a 50 MB, com largura e altura de pelo menos 300 px e proporção de 0.40 a 2.50.

padrão customize

Modo usado para gerar vídeos com várias tomadas.

Personagens ou objetos a incluir, referenciados no prompt usando @Element1 e @Element2.

POST /run/kling-video/o3/4k/video-to-video/edit?wait=20 cotação → $ 4,20
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o3/4k/video-to-video/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar esta solicitação

Sua chave permanece neste navegador: ela é enviada somente à Doitong API e salva (localStorage) apenas se você marcar Lembrar. Obter uma chave de API

Sobre Kling Video 4K Video to Video Edit

Edita um vídeo existente fornecido por `video_url` e um `prompt` que se refere a ele como @Video1. A origem deve ser mp4 ou mov, ter de 3 a 15 segundos, 720 a 3840 px e no máximo 200MB. Adicione referências de estilo em `image_urls` ou `elements`, com máximo combinado de 4. `keep_audio` preserva o som original e fica ativado por padrão.

Parâmetros

Envie o nome canônico ou o nome nativo, não ambos. Nomes canônicos

NomeTipo PadrãoPermitido Descrição
enable_safety_checkeropcional
Tipoboolean
Padrãotrue
As verificações de segurança só podem ser desativadas com autorização da conta; requisições sem autorização sempre passam por verificação.
promptobrigatório
Tipostring
≤ 2.500 caracteres
Instruções de texto para gerar o vídeo. Use @Video1 para se referir ao vídeo de referência.
video_urlobrigatório video
Tipourl · video
URL que aponta para um vídeo de referência no formato .mp4 ou .mov, com no máximo 200MB. Ambas as dimensões devem estar entre 720px e 3840px, com taxa de quadros de 23.0–60.0 FPS e duração de 3–15 segundos (no máximo 15.05 segundos).
image_urlsopcional images
Tipourl[] · image
Imagens que orientam o estilo ou a aparência, referenciadas no prompt usando @Image1, @Image2 e assim por diante. Com entrada de vídeo, elementos e imagens de referência não podem exceder 4 entradas no total. Cada arquivo é limitado a 50 MB, com largura e altura de pelo menos 300 px e proporção de 0.40 a 2.50.
keep_audioopcional
Tipoboolean
Padrãotrue
Controla a retenção do áudio original do vídeo de referência.
elementsopcional
Tipoobject[]
Personagens ou objetos a incluir, referenciados no prompt usando @Element1 e @Element2.
elements[].frontal_image_urlopcional
Tipourl · image
Imagem frontal que mostra a vista principal do elemento. O tamanho do arquivo não deve exceder 50 MB; a largura e a altura devem ter pelo menos 300px, com proporção entre 0.40 e 2.50.
elements[].reference_image_urlsopcional
Tipourl[] · image
Forneça 1–3 imagens de referência adicionais mostrando ângulos diferentes. Cada imagem deve ter proporção entre 0.40 e 2.50, medir pelo menos 300px em ambas as dimensões e não exceder 50.0MB.
shot_typeopcional
Tipostring
Padrãocustomize
Modo usado para gerar vídeos com várias tomadas.
obrigatório Nome canônico, também aceito

Os parâmetros de arquivo aceitam uma URL https:// pública, um URI data: de até 10 MB ou o file_url de um upload. Arquivos

Saída

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o3/4k/video-to-video/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 4200,
    "usd": "4.20",
    "charged": 4200,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Seus arquivos, sua escolhaCada outputs[].url é uma cópia em nosso armazenamento: mantida para sempre (cobrada por GB-mês) ou por 7 dias gratuitamente, conforme a configuração da sua conta ou ?storage=.
Mesmo formato em todos os modelostype, url, content_type, width, height e duration, para imagens, vídeos e áudios. output é o próprio objeto de resultado do modelo.
Campos da saída
video
object {url, content_type, file_name, file_size}Vídeo produzido pelo modelo.

Mais modelos: Vídeo para vídeo

Para agentes de IA: esta página em Markdown está em https://doitong.com/pt-BR/developers/models/kling-video/o3/4k/video-to-video/edit.md. Todos os modelos e guias: https://doitong.com/developers/llms.txt