Pular para o conteúdo principal
Model logo

API do Kling O1 Image

  • Texto para imagem
  • Imagem para imagem

Kling O1 Image faz parte da família de modelos KlingVer todos os modelos Kling

Envie imagens/vídeos acima e digite @ no seu prompt para referenciá-los

Toque para enviarPNG, JPG, WEBP, GIF · Máx. 100 MB
Saída

Seu image gerado aparecerá aqui

Atualizado

What is the Kling O1 Image API?

The Kling O1 Image API is live on UnificAlly as kuaishou/kling-o1-image, from $0.0252 per image. Kling O1 Image is the image generation route under Kling O1. Same reference shape and prompt syntax as the O1 video endpoint, but the output is a still instead of a video. Up to 10 reference images (image_urls), nine aspect ratios (Auto plus eight named ratios from square through 21:9), and 1K or 2K output. The reference cap, aspect ratios, and @image syntax match Kling 3.0 Omni Image; the only differences are the output ceiling at 2K (Omni Image goes to 4K) and the underlying generation. Use it to mock a composition with locked references before animating the same prompt in O1 video.

Kling O1 Image API specs

Model IDkuaishou/kling-o1-image
EndpointPOST https://api.unifically.com/v1/tasks
Request typesText-to-image, image generation with reference images
Resolution1k or 2k
Aspect ratioauto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9
Reference imagesUp to 10 in image_urls
Rate at 1K or 2K$0.0252 per image

Billing is per image, with one rate for both resolutions and no subscription. The pricing page shows the live rate.

How to use the Kling O1 Image API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object.
  3. Read the task_id from the response, then check the task until it is finished, or pass a callback URL and wait for the result.
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-o1-image",
    "input": {
      "prompt": "A serene mountain landscape at sunset, photorealistic",
      "aspect_ratio": "16:9",
      "resolution": "2k"
    }
  }'

The response returns the task ID straight away:

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}

The finished task carries the image URL.

curl https://api.unifically.com/v1/tasks/{task_id} \
  -H "Authorization: Bearer YOUR_API_KEY"

Kling O1 Image API parameters

ParameterTypeDefaultWhat it does
promptstringnoneRequired. The text description. Use @Image1, @Image2 to point at the reference images
resolutionstring1k1k or 2k
aspect_ratiostringautoauto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, or 21:9
image_urlsstring[]noneReference image URLs, up to 10
nsfw_checkbooleanfalseChecks the prompt and input images for NSFW content before generating. Off unless set to true

The Kling O1 Image API documentation has the full reference for this model and Kling 3.0 Omni Image.

Key features of Kling O1 Image

Four features cover what production teams use the endpoint for.

Up to 10 reference images per call

Pass image_urls (max 10) and reference them in the prompt as @image_1 through @image_10. Useful for brand work where the brief locks character, product, environment, and palette references.

Nine aspect ratios including Auto

Auto picks the output aspect based on your references. The eight explicit options (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9) cover every standard placement.

1K or 2K output

Pick the resolution at the end of the cycle. 1K for fast iteration, 2K for delivery. For 4K stills, use Kling 3.0 Omni Image.

Reference shape matches Kling O1 video

Same image_urls cap and @image syntax as the O1 video endpoint, so a still composition you mock here can be animated in video with the same prompt and references.

What Kling O1 is best for

  • Mock-then-animate workflows

    Lock a composition in image with references, then animate the same prompt and references in Kling O1 video.

  • Heavy-reference image jobs

    Up to 10 references per call. Useful for brand work with many fixed visual elements.

  • Cross-format design exploration

    Different aspect presets from the same prompt and references. Useful for moodboards and pitch boards.

  • Story and character frames

    Lock characters via consistent image references before motion work in O1 video.

  • Cost-controlled 2K delivery

    2K output without paying the 4K rate. Good for most digital placements.

Kling O1 use cases

Mock a campaign hero composition with 10 reference images locked (character, product, environment, brand palette), then animate the same prompt and references in Kling O1 video without rewriting the call. Run a moodboard pass for a brand pitch by holding the references constant and varying only the aspect ratio across the boards. Build a serial story with a recurring character by reusing the same image as @image_1 across multiple prompts. Render a 2K deliverable for digital placements without paying the 4K rate, with output coming back in the chosen aspect.

Perguntas frequentes

Perguntas frequentes sobre Kling O1

It is the image generation route under Kling O1. Generates stills from a prompt with optional reference images (image_urls, max 10), nine aspect ratios (Auto plus eight named ratios), and 1K or 2K output. Same reference syntax as the O1 video endpoint.

A UnificAlly account comes with an API keys page; make a key there and send it as Authorization: Bearer <key> to https://api.unifically.com/v1/tasks. The first Kling O1 Image API call needs the model kuaishou/kling-o1-image and a prompt, and 1K and 2K bill at the same per-image rate.

Give kuaishou/kling-o1-image a required prompt, a resolution of 1k or 2k, an aspect_ratio (default auto) and up to 10 image_urls, named @Image1, @Image2 in the prompt. Generation is task-based: poll /v1/tasks/{task_id} or set a callback URL until the finished task carries the image URL.

Nine total. Auto (the default, where the model picks based on references), 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, and 21:9.

Up to 10 entries in the image_urls array.

When the brief needs 4K output. O1 Image caps at 2K. The reference cap, aspect ratios, and prompt syntax are otherwise the same on both endpoints.

Same reference shape and prompt syntax as the O1 video endpoint. The image route returns a still instead of a video. Useful for mocking compositions before generating motion in O1 video.