Prijeđi na sadržaj

Kling O1 Image

Integriraj

ID modela kling-image/o1
# 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/o1?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",
    "images": [
      "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 #edit#realism#typography

Uređivanje slike prema referencama s do 10 slika, oznakama @Image i elementima, u 1K ili 2K te s do 9 izlaza

Izrađeno na Doitongu

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

Prikazana javna djela: 16
**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...

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

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

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... Video

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

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

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... Video

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

Create a realistic 30-second vertical 9:16 video showing two construction workers installing larg... Video

Create a realistic 30-second vertical 9:16 video showing two construction workers installing large white patio tiles in a modern backyard. Show the entire construction process in a smooth timelapse. Gradually transform the unfinished backyard into a luxurious outdoor living space with an L-shaped...

Create a warm, emotional 8–10 second cinematic video showing the difference between a young child... Video

Create a warm, emotional 8–10 second cinematic video showing the difference between a young child playing alone and playing with their mother. Scene 1: A toddler sits on the floor playing with toys independently. The child is calm and focused, exploring and learning through independent play. The...

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 ograničen na 2500 znakova. Slike navedite s pomoću @Image1, @Image2 i tako dalje ili @Image za jednu sliku.

•obavezno image_urls
Ispustite datoteku ili

Popis referentnih slika, ograničen na 10 slika; navedite ih u promptu kao @Image1, @Image2 i tako dalje, s numeriranjem koje počinje od 1. 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.

resolution zadano 1K

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

aspect_ratio zadano auto

Omjer stranica generirane slike, automatski odabran iz ulaznog sadržaja kada je postavljeno na 'auto'.

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.

Likovi ili objekti uključeni kao elementi, s ukupnim ograničenjem od 10 elemenata i referentnih slika. Reference u promptu upotrebljavaju @Element1, @Element2 itd.

POST /run/kling-image/o1?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/o1?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",
    "images": [
      "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 O1 Image

Uređuje ili ponovno kombinira slike iz `prompt` od najviše 2500 znakova. Na ulaze upućujte s @Image1, @Image2 i tako dalje, koristeći do 10 vrijednosti u `image_urls`; `elements` dodaju likove ili objekte, uz ukupni maksimum 10. `resolution` je 1K ili 2K, `num_images` je 1 do 9, a `aspect_ratio` uključuje auto, 21:9 i 3:2. Izlaz je png, jpeg 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 ograničen na 2500 znakova. Slike navedite s pomoću @Image1, @Image2 i tako dalje ili @Image za jednu sliku.
image_urlsobavezno images
Vrstaurl[] · image
Popis referentnih slika, ograničen na 10 slika; navedite ih u promptu kao @Image1, @Image2 i tako dalje, s numeriranjem koje počinje od 1. 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.
elementsneobavezno
Vrstaobject[]
Likovi ili objekti uključeni kao elementi, s ukupnim ograničenjem od 10 elemenata i referentnih slika. Reference u promptu upotrebljavaju @Element1, @Element2 itd.
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
Zadanoauto
auto16:99:161:14:33:43:22:321:9
Omjer stranica generirane slike, automatski odabran iz ulaznog sadržaja kada je postavljeno na 'auto'.
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/o1",
  "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_urls": [
      "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.

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