Passer au contenu

Kling O1 Image

Intégrer

Identifiant du modèle 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"

Cette requête: 0,028 $ 28 crédits API L’exécuter sur cette page

Obtenir une clé API
Kling Édition d’image Entrées de référencejusqu’à 2K #edit#realism#typography

Édition d’images guidée par des références avec jusqu’à 10 images, balises @Image et éléments, sortie 1K ou 2K et jusqu’à 9 résultats

Créé sur Doitong

Créations publiques réalisées avec Kling O1 Image par la communauté Doitong. Réutilisez un prompt en un clic.

Créations publiques affichées : 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Vidéo

**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... Vidéo

**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... Vidéo

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

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

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

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Vidéo

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

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

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

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

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... Vidéo

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

Créer une requête

Les contrôles sont générés à partir du schéma du modèle. Le code et le prix se mettent à jour lorsque vous les modifiez.

•requis 88 / 2500

Prompt de génération d’image limité à 2500 caractères. Référencez les images avec @Image1, @Image2, etc., ou @Image pour une seule image.

•requis image_urls
Déposez un fichier, ou

Liste d’images de référence, limitée à 10 images ; citez-les dans le prompt sous la forme @Image1, @Image2, etc., en commençant la numérotation à 1. Chaque fichier doit faire au maximum 10.0 MB, avec une largeur et une hauteur d’au moins 300px et un format d’image compris entre 0.40 et 2.50.

resolution par défaut 1K

Résolution de l’image de sortie : 1K pour une résolution standard ou 2K pour une haute résolution.

aspect_ratio par défaut auto

Format d’image générée, sélectionné automatiquement à partir du contenu d’entrée lorsqu’il est défini sur 'auto'.

num_images par défaut 1

Nombre d’images de sortie, de 1 à 9.

Avancé output_format · enable_safety_checker · elements
output_format par défaut png

Format de fichier de l'image obtenue.

Personnages ou objets inclus comme éléments, partageant une limite combinée de 10 avec les images de référence. Les références dans le prompt utilisent @Element1, @Element2, etc.

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

Exécuter cette requête

Votre clé reste dans ce navigateur : elle est envoyée uniquement à la Doitong API et enregistrée dans localStorage uniquement si vous cochez Mémoriser. Obtenir une clé API

À propos de Kling O1 Image

Modifie ou recombine des images à partir d’un `prompt` de 2500 caractères maximum. Référencez les entrées avec @Image1, @Image2, etc., en utilisant jusqu’à 10 images dans `image_urls` ; `elements` ajoutent des personnages ou des objets, avec un maximum combiné de 10. `resolution` vaut 1K ou 2K, `num_images` va de 1 à 9 et `aspect_ratio` inclut auto, 21:9 et 3:2. La sortie est au format png, jpeg ou webp.

Paramètres

Envoyez soit le nom canonique, soit le nom natif, mais pas les deux. Noms canoniques

NomType Par défautAutorisé Description
promptrequis
Typestring
≤ 2 500 caractères
Prompt de génération d’image limité à 2500 caractères. Référencez les images avec @Image1, @Image2, etc., ou @Image pour une seule image.
image_urlsrequis images
Typeurl[] · image
Liste d’images de référence, limitée à 10 images ; citez-les dans le prompt sous la forme @Image1, @Image2, etc., en commençant la numérotation à 1. Chaque fichier doit faire au maximum 10.0 MB, avec une largeur et une hauteur d’au moins 300px et un format d’image compris entre 0.40 et 2.50.
elementsfacultatif
Typeobject[]
Personnages ou objets inclus comme éléments, partageant une limite combinée de 10 avec les images de référence. Les références dans le prompt utilisent @Element1, @Element2, etc.
elements[].frontal_image_urlfacultatif
Typeurl · image
Image frontale facultative fournissant la vue principale de l’élément. La taille du fichier ne peut pas dépasser 10.0 MB ; la largeur et la hauteur doivent être d’au moins 300px, avec un format d’image compris entre 0.40 et 2.50.
elements[].reference_image_urlsfacultatif
Typeurl[] · image
Ensemble facultatif de 0–3 images supplémentaires montrant d’autres angles. Chaque fichier doit faire au maximum 10.0 MB, avec une largeur et une hauteur d’au moins 300px et un format d’image compris entre 0.40 et 2.50.
resolutionfacultatif
Typeenum
Par défaut1K
1K2K
Résolution de l’image de sortie : 1K pour une résolution standard ou 2K pour une haute résolution.
num_imagesfacultatif num_outputs
Typeinteger
Par défaut1
1 – 9
Nombre d’images de sortie, de 1 à 9.
aspect_ratiofacultatif
Typeenum
Par défautauto
auto16:99:161:14:33:43:22:321:9
Format d’image générée, sélectionné automatiquement à partir du contenu d’entrée lorsqu’il est défini sur 'auto'.
output_formatfacultatif
Typeenum
Par défautpng
jpegpngwebp
Format de fichier de l'image obtenue.
enable_safety_checkerfacultatif
Typeboolean
Par défauttrue
Le filtrage peut être assoupli en définissant false, si l'appelant est autorisé.
requis Nom canonique, également accepté

Les paramètres de fichier acceptent une URL publique https://, un URI data: jusqu’à 10 MB ou le file_url d’un téléversement. Fichiers

Sortie

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"
  }
}
Vos fichiers, votre choixChaque outputs[].url est une copie dans notre stockage : conservée indéfiniment (facturation au Go-mois) ou 7 jours gratuitement, selon le réglage de votre compte ou ?storage=.
Même structure pour chaque modèletype, url, content_type, width, height et duration, pour les images, vidéos et fichiers audio. output est le propre objet de résultat du modèle.
Champs de sortie
images
array of object {url, content_type, file_name, file_size, width, height}Images produites par le modèle.

Pour les agents IA : cette page au format Markdown est disponible à https://doitong.com/fr/developers/models/kling-image/o1.md. Tous les modèles et guides : https://doitong.com/developers/llms.txt