Prijeđi na sadržaj

Kling Image · v3 · Image to Image

Integriraj

ID modela kling-image/v3/image-to-image
# 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-image/v3/image-to-image?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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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"

Ovaj zahtjev: 0,028 $ 28 API kredita Pokreni na ovoj stranici

Nabavi API ključ
Kling Uređivanje slika Referentni ulazido 2K #image-to-image

v3 preoblikovanje slike iz jedne referentne slike, u 1K ili 2K, s do 9 izlaza

Izrađeno na Doitongu

Javna djela zajednice Doitong izrađena pomoću modela Kling Image. Ponovno upotrijebite prompt jednim klikom.

Prikazana javna djela: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Video

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... Video

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... Video

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... Video

**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... Video

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 ... Video

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... Video

**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... Video

**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...

Izradi zahtjev

Kontrole se generiraju iz sheme modela. Kôd i cijena ažuriraju se dok ih mijenjate.

•obavezno 88 / 2500

Prompt za generiranje slike s ograničenjem od 2500 znakova.

•obavezno image_url
Ispustite datoteku ili

Referentna slika koja se koristi kao ulaz za generiranje image-to-image, uz ograničenje veličine datoteke od 10.0MB. Obje dimenzije moraju biti najmanje 300px, a omjer stranica mora biti između 0.40 i 2.50. Istek je 20.0s.

resolution zadano 1K

Razlučivost izlazne slike: 1K za standardnu razlučivost ili 2K za visoku razlučivost.

aspect_ratio zadano 16:9

Omjer širine i visine generiranih slika.

num_images zadano 1

Broj izlaznih slika, od 1 do 9.

Napredno output_format · enable_safety_checker · elements
output_format zadano png

Format datoteke rezultirajuće slike.

Neobavezna kontrola lica putem navedenih elemenata koji određuju koji se likovi ili objekti trebaju pojaviti na slici.

POST /run/kling-image/v3/image-to-image?wait=20 cijena → 0,028 $
# 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-image/v3/image-to-image?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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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"

Pokreni ovaj zahtjev

Vaš ključ ostaje u ovom pregledniku: šalje se samo Doitong API-ju i sprema u localStorage samo ako označite Zapamti. Nabavite API ključ

O modelu Kling Image · v3 · Image to Image

Uređuje ili ponovno osmišljava jednu referentnu sliku (`image_url`) prema tekstualnom upitu. Slika mora imati najmanje 300px po stranici i omjer između 0.40 i 2.50, uz ograničenje od 10MB. `resolution` je 1K ili 2K, `num_images` je 1-9, a `elements` omogućuju kontrolu lica. Izlazni formati su jpeg, png ili webp.

Parametri

Pošaljite kanonski naziv ili izvorni naziv, ne oba. Kanonski nazivi

NazivVrsta ZadanoDopušteno Opis
promptobavezno
Vrstastring
≤ 2.500 znakova
Prompt za generiranje slike s ograničenjem od 2500 znakova.
image_urlobavezno image
Vrstaurl · image
Referentna slika koja se koristi kao ulaz za generiranje image-to-image, uz ograničenje veličine datoteke od 10.0MB. Obje dimenzije moraju biti najmanje 300px, a omjer stranica mora biti između 0.40 i 2.50. Istek je 20.0s.
elementsneobavezno
Vrstaobject[]
Neobavezna kontrola lica putem navedenih elemenata koji određuju koji se likovi ili objekti trebaju pojaviti na slici.
elements[].frontal_image_urlneobavezno
Vrstaurl · image
Neobavezna frontalna slika koja daje glavni prikaz elementa. Veličina datoteke ne smije premašivati 10.0 MB; širina i visina moraju biti najmanje 300px, a omjer stranica između 0.40 i 2.50.
elements[].reference_image_urlsneobavezno
Vrstaurl[] · image
Neobavezan skup od 0–3 dodatne slike koje prikazuju druge kutove. Svaka datoteka mora biti velika najviše 10.0 MB, širina i visina moraju biti najmanje 300px, a omjer stranica između 0.40 i 2.50.
resolutionneobavezno
Vrstaenum
Zadano1K
1K2K
Razlučivost izlazne slike: 1K za standardnu razlučivost ili 2K za visoku razlučivost.
num_imagesneobavezno num_outputs
Vrstainteger
Zadano1
1 – 9
Broj izlaznih slika, od 1 do 9.
aspect_rationeobavezno
Vrstaenum
Zadano16:9
16:99:161:14:33:43:22:321:9
Omjer širine i visine generiranih slika.
output_formatneobavezno
Vrstaenum
Zadanopng
jpegpngwebp
Format datoteke rezultirajuće slike.
enable_safety_checkerneobavezno
Vrstaboolean
Zadanotrue
Provjera se može ublažiti postavljanjem na false, ako je pozivatelj ovlašten.
obavezno Kanonski naziv, također prihvaćen

Parametri datoteka prihvaćaju javni https:// URL, data: URI do 10 MB ili file_url prenesene datoteke. Datoteke

Izlaz

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/v3/image-to-image",
  "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": 28,
    "usd": "0.028",
    "charged": 28,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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"
  }
}
Vaše datoteke, vaš izborSvaki outputs[].url kopija je u našoj pohrani: čuva se zauvijek (naplaćuje se po GB-mjesecu) ili 7 dana besplatno, prema postavci računa ili ?storage=.
Isti oblik na svakom modelutype, url, content_type, width, height i duration za slike, videozapise i zvuk. output je vlastiti objekt rezultata modela.
Polja izlaza
images
array of object {url, content_type, file_name, file_size, width, height}Slike koje je proizveo model.

Više modela: Uređivanje slika

Za AI agente: ova je stranica u Markdownu dostupna na https://doitong.com/hr/developers/models/kling-image/v3/image-to-image.md. Svi modeli i vodiči: https://doitong.com/developers/llms.txt