Browse ModelsKwaivgiKwaivgi Kling Image O3 Text To Image

Kwaivgi Kling Image O3 Text To Image

Kwaivgi Kling Image O3 Text To Image

Playground

Try it on WavespeedAI!

Kling O3 is Kuaishou’s advanced AI image generation model with support for 4K resolution, delivering ultra-high-quality visuals with exceptional detail. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Kling Image O3 Text-to-Image

Kling Image O3 is Kuaishou’s next-generation text-to-image model from the O3 architecture, delivering superior visual quality and creative expression from natural language prompts. Describe any scene, character, or concept — the model generates detailed, expressive images with flexible aspect ratios, resolution options, and batch generation support. Built-in Prompt Enhancer helps refine your descriptions for optimal results.


Why Choose This?

  • O3-generation quality The latest architecture with improved detail, composition, and prompt understanding.

  • High-fidelity generation Produces sharp, detailed images with strong composition and natural lighting.

  • Flexible aspect ratios Multiple options including 1:1, 3:4, 4:3, 9:16, 16:9 and more to fit any use case.

  • Resolution control Choose output resolution (1k and above) based on your quality and speed requirements.

  • Batch generation Generate multiple images in a single request for rapid iteration and A/B testing.

  • Prompt Enhancer Built-in tool to automatically improve your descriptions for richer, more detailed output.


Parameters

ParameterRequiredDescription
promptYesText description of the desired image
aspect_ratioNoImage aspect ratio (default: 3:4)
resolutionNoOutput resolution (default: 1k)
num_imagesNoNumber of images to generate (default: 1)
output_formatNoOutput format: png or jpeg (default: png)

How to Use

  1. Write your prompt — describe the scene, subject, style, lighting, and mood in detail.
  2. Choose aspect ratio — select the format that fits your use case (3:4 for portraits, 16:9 for landscapes, etc.).
  3. Set resolution — choose 1k for speed or higher for more detail.
  4. Set num_images — generate multiple variations in one request if needed.
  5. Choose output format — select png for lossless quality or jpeg for smaller file size.
  6. Run — submit and download your images.

Pricing

ResolutionCost per Image
1K$0.028
2K$0.028
4K$0.056

Billing Rules

  • Base rate: $0.028 per image (1K/2K)
  • 4K rate: $0.056 per image (2× base)
  • Total cost = num_images × per-image rate

Best Use Cases

  • Concept Art & Illustration — Generate detailed visual concepts from text descriptions.
  • Social Media Content — Create eye-catching images for posts, stories, and ads.
  • Marketing & Branding — Produce on-brand visuals without photography.
  • Storyboarding — Quickly visualize scenes and characters for creative projects.
  • Product Visualization — Generate product concepts and mockups from descriptions.

Pro Tips

  • Use the Prompt Enhancer to automatically refine vague descriptions into detailed prompts.
  • Be specific about lighting, mood, and style for more predictable results.
  • Generate multiple images (num_images > 1) to explore variations and pick the best.
  • Match aspect ratio to your final use: 3:4 for portraits, 16:9 for banners, 9:16 for mobile.
  • Use png format when you need transparency support or lossless quality.

Notes

  • Prompt is the only required field.
  • Higher resolution may slightly increase processing time.
  • Ensure prompts comply with content guidelines.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/kwaivgi/kling-image-o3/text-to-image" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "aspect_ratio": "16:9",
    "resolution": "1k",
    "num_images": 1,
    "output_format": "png"
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-Text prompt for image generation.
aspect_ratiostringNo16:916:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9Aspect ratio of the generated image.
resolutionstringNo1k1k, 2k, 4kImage generation resolution.
num_imagesintegerNo11 ~ 9Number of images to generate.
output_formatstringNopngpng, jpeg, webpOutput image format.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated images.
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.