Naar inhoud springen

Kling O1 Image

Integreren

Model-ID 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"

Deze request: $ 0,028 28 API-tegoed Op deze pagina uitvoeren

API-sleutel ophalen
Kling Afbeelding bewerken Referentie-inputstot 2K #edit#realism#typography

Referentiegestuurde afbeeldingsbewerking met maximaal 10 afbeeldingen, @Image-tags en elementen, 1K of 2K en maximaal 9 uitvoerresultaten

Gemaakt op Doitong

Openbare werken gemaakt met Kling O1 Image door de Doitong-community. Gebruik een prompt opnieuw met één klik.

Getoonde openbare werken: 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...

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht 88 / 2500

Prompt voor afbeeldingsgeneratie, beperkt tot 2500 tekens. Verwijs naar afbeeldingen met @Image1, @Image2 enzovoort, of gebruik @Image voor één afbeelding.

•verplicht image_urls
Sleep een bestand hierheen of

Lijst met referentieafbeeldingen, beperkt tot 10 afbeeldingen; verwijs er in de prompt naar als @Image1, @Image2 enzovoort, met nummering vanaf 1. Elk bestand mag niet groter zijn dan 10.0 MB, met een breedte en hoogte van elk minimaal 300px en een beeldverhouding van 0.40 tot 2.50.

resolution standaard 1K

Resolutie van de uitvoerafbeelding: 1K voor standaardresolutie of 2K voor hoge resolutie.

aspect_ratio standaard auto

Beeldverhouding van de gegenereerde afbeelding, automatisch geselecteerd op basis van de invoerinhoud wanneer deze is ingesteld op 'auto'.

num_images standaard 1

Aantal uitvoerafbeeldingen, van 1 tot 9.

Geavanceerd output_format · enable_safety_checker · elements
output_format standaard png

Bestandsindeling van de resulterende afbeelding.

Personages of objecten die als elementen zijn opgenomen, met een gecombineerde limiet van 10 met referentieafbeeldingen. Verwijs in de prompt naar elementen met @Element1, @Element2 enzovoort.

POST /run/kling-image/o1?wait=20 prijsopgave → $ 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"

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Over Kling O1 Image

Bewerkt of combineert afbeeldingen op basis van een `prompt` van maximaal 2500 tekens. Verwijs naar invoer met @Image1, @Image2 enzovoort en gebruik maximaal 10 items in `image_urls`; `elements` voegen personages of objecten toe, met een gecombineerd maximum van 10. `resolution` is 1K of 2K, `num_images` is 1 tot 9 en `aspect_ratio` omvat auto, 21:9 en 3:2. De uitvoer is png, jpeg of webp.

Parameters

Stuur de canonieke naam of de oorspronkelijke naam, niet beide. Canonieke namen

NaamType StandaardToegestaan Beschrijving
promptverplicht
Typestring
≤ 2.500 tekens
Prompt voor afbeeldingsgeneratie, beperkt tot 2500 tekens. Verwijs naar afbeeldingen met @Image1, @Image2 enzovoort, of gebruik @Image voor één afbeelding.
image_urlsverplicht images
Typeurl[] · image
Lijst met referentieafbeeldingen, beperkt tot 10 afbeeldingen; verwijs er in de prompt naar als @Image1, @Image2 enzovoort, met nummering vanaf 1. Elk bestand mag niet groter zijn dan 10.0 MB, met een breedte en hoogte van elk minimaal 300px en een beeldverhouding van 0.40 tot 2.50.
elementsoptioneel
Typeobject[]
Personages of objecten die als elementen zijn opgenomen, met een gecombineerde limiet van 10 met referentieafbeeldingen. Verwijs in de prompt naar elementen met @Element1, @Element2 enzovoort.
elements[].frontal_image_urloptioneel
Typeurl · image
Optionele frontale afbeelding die het hoofdbeeld van het element levert. De bestandsgrootte mag niet groter zijn dan 10.0 MB; de breedte en hoogte moeten elk minimaal 300px zijn, met een beeldverhouding van 0.40 tot 2.50.
elements[].reference_image_urlsoptioneel
Typeurl[] · image
Optionele set van 0–3 aanvullende afbeeldingen met andere hoeken. Elk bestand mag niet groter zijn dan 10.0 MB, met een breedte en hoogte van elk minimaal 300px en een beeldverhouding van 0.40 tot 2.50.
resolutionoptioneel
Typeenum
Standaard1K
1K2K
Resolutie van de uitvoerafbeelding: 1K voor standaardresolutie of 2K voor hoge resolutie.
num_imagesoptioneel num_outputs
Typeinteger
Standaard1
1 – 9
Aantal uitvoerafbeeldingen, van 1 tot 9.
aspect_ratiooptioneel
Typeenum
Standaardauto
auto16:99:161:14:33:43:22:321:9
Beeldverhouding van de gegenereerde afbeelding, automatisch geselecteerd op basis van de invoerinhoud wanneer deze is ingesteld op 'auto'.
output_formatoptioneel
Typeenum
Standaardpng
jpegpngwebp
Bestandsindeling van de resulterende afbeelding.
enable_safety_checkeroptioneel
Typeboolean
Standaardtrue
Screening kan worden versoepeld door false in te stellen, mits de aanroeper is geautoriseerd.
verplicht Canonieke naam, ook geaccepteerd

Bestandsparameters accepteren een openbare https:// URL, een data: URI tot 10 MB of de file_url van een upload. Bestanden

Uitvoer

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"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
images
array of object {url, content_type, file_name, file_size, width, height}Afbeeldingen die door het model zijn geproduceerd.

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/kling-image/o1.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt