Μετάβαση στο περιεχόμενο

Kling O1 Image

Ενσωμάτωση

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"

Αυτό το αίτημα: 0,028 $ 28 πιστώσεις API Εκτέλεση σε αυτήν τη σελίδα

Λήψη κλειδιού API
Kling Επεξεργασία εικόνας Είσοδοι αναφοράςέως 2K #edit#realism#typography

Επεξεργασία εικόνας με βάση αναφορές, έως 10 εικόνες, ετικέτες @Image και elements, 1K ή 2K, έως 9 εξόδους

Δημιουργήθηκε στο Doitong

Δημόσια έργα που δημιουργήθηκαν με το Kling O1 Image από την κοινότητα του Doitong. Επαναχρησιμοποιήστε ένα prompt με ένα κλικ.

Δημόσιες δημιουργίες: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Βίντεο

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... Βίντεο

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... Βίντεο

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... Βίντεο

**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... Βίντεο

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 ... Βίντεο

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... Βίντεο

**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... Βίντεο

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

Δημιουργία αιτήματος

Τα στοιχεία ελέγχου δημιουργούνται από το σχήμα του μοντέλου. Ο κώδικας και η τιμή ενημερώνονται καθώς τα αλλάζετε.

•απαιτείται 88 / 2500

Prompt παραγωγής εικόνας έως 2500 χαρακτήρες. Αναφέρετε εικόνες με @Image1, @Image2 κ.ο.κ. ή με @Image για μία εικόνα.

•απαιτείται image_urls
Αποθέστε ένα αρχείο ή

Λίστα εικόνων αναφοράς, έως 10 εικόνες· αναφέρετέ τις στο prompt ως @Image1, @Image2 κ.ο.κ., με αρίθμηση που ξεκινά από το 1. Κάθε αρχείο πρέπει να είναι έως 10.0 MB, με πλάτος και ύψος τουλάχιστον 300px και αναλογία διαστάσεων από 0.40 έως 2.50.

resolution προεπιλογή 1K

Ανάλυση εικόνας εξόδου: 1K για τυπική ανάλυση ή 2K για υψηλή ανάλυση.

aspect_ratio προεπιλογή auto

Αναλογία διαστάσεων παραγόμενης εικόνας, που επιλέγεται αυτόματα από το περιεχόμενο εισόδου όταν ορίζεται σε 'auto'.

num_images προεπιλογή 1

Πλήθος εικόνων εξόδου, από 1 έως 9.

Για προχωρημένους output_format · enable_safety_checker · elements
output_format προεπιλογή png

Μορφή αρχείου της τελικής εικόνας.

Χαρακτήρες ή αντικείμενα που περιλαμβάνονται ως στοιχεία, με κοινό όριο 10 μαζί με τις εικόνες αναφοράς. Οι αναφορές στο prompt χρησιμοποιούν @Element1, @Element2 κ.ο.κ.

POST /run/kling-image/o1?wait=20 προσφορά → 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"

Εκτέλεση αυτού του αιτήματος

Το κλειδί σας παραμένει σε αυτό το πρόγραμμα περιήγησης: αποστέλλεται μόνο στο Doitong API και αποθηκεύεται (localStorage) μόνο αν ενεργοποιήσετε την επιλογή «Να απομνημονεύεται». Λήψη κλειδιού API

Σχετικά με το Kling O1 Image

Επεξεργάζεται ή ανασυνδυάζει εικόνες από `prompt` έως 2500 χαρακτήρων. Αναφέρετε τις εισόδους με @Image1, @Image2 κ.ο.κ., χρησιμοποιώντας έως 10 στο `image_urls`. Τα `elements` προσθέτουν χαρακτήρες ή αντικείμενα, με συνολικό μέγιστο 10. Το `resolution` είναι 1K ή 2K, το `num_images` είναι 1 έως 9 και το `aspect_ratio` περιλαμβάνει auto, 21:9 και 3:2. Η έξοδος είναι png, jpeg ή webp.

Παράμετροι

Στείλτε είτε το κανονικό όνομα είτε το εγγενές όνομα, όχι και τα δύο. Κανονικά ονόματα

ΌνομαΤύπος ΠροεπιλογήΕπιτρεπόμενο Περιγραφή
promptαπαιτείται
Τύποςstring
≤ 2.500 χαρακτήρες
Prompt παραγωγής εικόνας έως 2500 χαρακτήρες. Αναφέρετε εικόνες με @Image1, @Image2 κ.ο.κ. ή με @Image για μία εικόνα.
image_urlsαπαιτείται images
Τύποςurl[] · image
Λίστα εικόνων αναφοράς, έως 10 εικόνες· αναφέρετέ τις στο prompt ως @Image1, @Image2 κ.ο.κ., με αρίθμηση που ξεκινά από το 1. Κάθε αρχείο πρέπει να είναι έως 10.0 MB, με πλάτος και ύψος τουλάχιστον 300px και αναλογία διαστάσεων από 0.40 έως 2.50.
elementsπροαιρετικό
Τύποςobject[]
Χαρακτήρες ή αντικείμενα που περιλαμβάνονται ως στοιχεία, με κοινό όριο 10 μαζί με τις εικόνες αναφοράς. Οι αναφορές στο prompt χρησιμοποιούν @Element1, @Element2 κ.ο.κ.
elements[].frontal_image_urlπροαιρετικό
Τύποςurl · image
Προαιρετική μετωπική εικόνα που παρέχει την κύρια όψη του στοιχείου. Το μέγεθος του αρχείου δεν μπορεί να υπερβαίνει τα 10.0 MB· το πλάτος και το ύψος πρέπει να είναι τουλάχιστον 300px, με αναλογία διαστάσεων από 0.40 έως 2.50.
elements[].reference_image_urlsπροαιρετικό
Τύποςurl[] · image
Προαιρετικό σύνολο 0–3 επιπλέον εικόνων που εμφανίζουν άλλες γωνίες. Κάθε αρχείο πρέπει να είναι έως 10.0 MB, με πλάτος και ύψος τουλάχιστον 300px και αναλογία διαστάσεων από 0.40 έως 2.50.
resolutionπροαιρετικό
Τύποςenum
Προεπιλογή1K
1K2K
Ανάλυση εικόνας εξόδου: 1K για τυπική ανάλυση ή 2K για υψηλή ανάλυση.
num_imagesπροαιρετικό num_outputs
Τύποςinteger
Προεπιλογή1
1 – 9
Πλήθος εικόνων εξόδου, από 1 έως 9.
aspect_ratioπροαιρετικό
Τύποςenum
Προεπιλογήauto
auto16:99:161:14:33:43:22:321:9
Αναλογία διαστάσεων παραγόμενης εικόνας, που επιλέγεται αυτόματα από το περιεχόμενο εισόδου όταν ορίζεται σε 'auto'.
output_formatπροαιρετικό
Τύποςenum
Προεπιλογήpng
jpegpngwebp
Μορφή αρχείου της τελικής εικόνας.
enable_safety_checkerπροαιρετικό
Τύποςboolean
Προεπιλογήtrue
Ο έλεγχος μπορεί να χαλαρώσει με τη ρύθμιση false, εφόσον ο καλών είναι εξουσιοδοτημένος.
απαιτείται Κανονικό όνομα, επίσης αποδεκτό

Οι παράμετροι αρχείων δέχονται ένα δημόσιο URL https://, ένα URI data: έως 10 MB ή το file_url μιας μεταφόρτωσης. Αρχεία

Έξοδος

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"
  }
}
Τα αρχεία σας, η επιλογή σαςΚάθε outputs[].url είναι ένα αντίγραφο στην αποθήκευσή μας: διατηρείται για πάντα (χρέωση ανά GB-μήνα) ή 7 ημέρες δωρεάν, σύμφωνα με τη ρύθμιση του λογαριασμού σας ή ?storage=.
Ίδια μορφή σε κάθε μοντέλοtype, url, content_type, width, height και duration, τόσο για εικόνες όσο και για βίντεο και ήχο. Το output είναι το αντικείμενο αποτελέσματος του ίδιου του μοντέλου.
Πεδία εξόδου
images
array of object {url, content_type, file_name, file_size, width, height}Εικόνες που παρήγαγε το μοντέλο.

Για πράκτορες AI: αυτή η σελίδα σε Markdown βρίσκεται στη διεύθυνση https://doitong.com/el/developers/models/kling-image/o1.md. Όλα τα μοντέλα και οι οδηγοί: https://doitong.com/developers/llms.txt