L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

kling-o1

kling-o1

Kling O1. Generate images with reference image support and up to 2K resolution. Triggers: image generation, kling, o1, text to image, reference image

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: kling-o1 description: "Kling O1. Generate images with reference image support and up to 2K resolution. Triggers: image generation, kling, o1, text to image, reference image" allowed-tools: Bash(curl *), WebFetch

Kling O1

Generate high-quality images with optional reference image support. Reference images in prompts using @Image1, @Image2, etc. Supports up to 2K resolution and multiple aspect ratios.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "kling-o1",
    "version": "0.0.1",
    "input": {
      "prompt": "a beautiful sunset over the ocean, photorealistic, vibrant colors",
      "aspect_ratio": "16:9",
      "resolution": "1K",
      "num_images": 1
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostringautoAspect ratio of generated images. 'auto' determines based on input. enum: auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9
image_urlsarrayList of reference images. Reference in prompt using @Image1, @Image2, etc.
num_imagesinteger1Number of images to generate (1-9).
output_formatstringpngThe format of the generated image. enum: jpeg, png, webp
promptstringText prompt for image generation. Reference images using @Image1, @Image2, etc.
resolutionstring1KImage generation resolution. enum: 1K, 2K

Examples

High-res landscape with reference:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "kling-o1",
    "version": "0.0.1",
    "input": {
      "prompt": "redesign @Image1 as a futuristic cityscape, neon lights, cyberpunk style",
      "image_urls": ["https://example.com/city-reference.jpg"],
      "aspect_ratio": "21:9",
      "resolution": "2K",
      "output_format": "png"
    }
  }'

Multiple image generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "kling-o1",
    "version": "0.0.1",
    "input": {
      "prompt": "a minimalist product shot of a perfume bottle, studio lighting, marble background",
      "aspect_ratio": "1:1",
      "resolution": "2K",
      "num_images": 4,
      "output_format": "jpeg"
    }
  }'

Related Models

Documentation

Skills enregistrées