Kwaivgi Kling Image V3 Text To Image
Playground
Try it on WavespeedAI!Kling V3.0 is Kuaishou’s latest AI image generation model with superior text-to-image capabilities, delivering high-quality visuals with accurate prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Kling Image V3 Text-to-Image
Kling Image V3 is Kuaishou’s latest text-to-image model, delivering high-quality visuals 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?
-
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
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired image |
| aspect_ratio | No | Image aspect ratio (default: 3:4) |
| resolution | No | Output resolution (default: 1k) |
| num_images | No | Number of images to generate (default: 1) |
| output_format | No | Output format: png or jpeg (default: png) |
How to Use
- Write your prompt — describe the scene, subject, style, lighting, and mood in detail.
- Choose aspect ratio — select the format that fits your use case (3:4 for portraits, 16:9 for landscapes, etc.).
- Set resolution — choose 1k for speed or higher for more detail.
- Set num_images — generate multiple variations in one request if needed.
- Choose output format — select png for lossless quality or jpeg for smaller file size.
- Run — submit and download your images.
Pricing
| Images | Cost |
|---|---|
| 1 | $0.028 |
| 2 | $0.056 |
| 4 | $0.112 |
| 10 | $0.280 |
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.
Related Models
- Kling Image V3 Image-to-Image — Edit or transform existing images with text guidance.
- Kling Video O3 Pro Text-to-Video — Generate videos from text prompts with O3 Pro quality.
- Kling Video O3 Pro Image-to-Video — Animate generated images into video.
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-v3/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
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | Text prompt for image generation. | |
| aspect_ratio | string | No | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 | Aspect ratio of the generated image. |
| resolution | string | No | 1k | 1k, 2k | Image generation resolution. |
| num_images | integer | No | 1 | 1 ~ 9 | Number of images to generate. |
| output_format | string | No | png | png, jpeg, webp | Output image format. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated images. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |