Models / Text to image

Kling Image V4 - API, Playground & Pricing

Kling Image V4 from Kuaishou turns a prompt into 2K pictures: up to nine separate images, or a matching series of two to ten in one style. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Kuaishou API key: runs are billed to your FlyMy.AI balance.

Provider
Kuaishou
Category
Text to image / Text to image
Price
from $0.063 / run ($0.063 at the defaults)
Aspect ratio
16:9, 9:16, 1:1, 4:3, 3:4, 3:2 and 2 more
Results per run
up to 9
Returns
images
Commercial use
Allowed
Model ID
flymyai/kling-image-v4-text-to-image
Kling Image V4 by Kuaishou: text to image sample, 2K images and series
Kling Image V4 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Kling Image V4 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/kling-image-v4-text-to-image.md. Help me connect the FlyMy.AI MCP to this assistant, then run Kling Image V4 (flymyai/kling-image-v4-text-to-image) for this task: Generate a 9:16 product photo of a stack of pancakes with berries and maple syrup with Kling Image V4.
Open FlyMy.AIDownload brief

What Kling Image V4 does

Describe the picture in prompt. result_type single, the default, makes num_images separate images (one to nine); series makes series_amount related images (two to ten) in order, such as storyboard frames or a product line. aspect_ratio is auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 or 21:9. Output: images. It renders at 2K and does not edit pictures: Kling Image V4 Edit does.

Kling Image V4 inputs

Every input of flymyai/kling-image-v4-text-to-image as its live schema lists them. Returns images (array).

InputType, values and default
# prompt
string required What to draw: the subject, the scene, the light and the style
# result_type
string optional Allowed: single, series Default: single single makes num_images separate images; series makes a coherent set of series_amount related images (a storyboard, a product line), in order
# num_images
integer optional Allowed: 1 to 9 Default: 1 How many separate images to make, 1-9 (single only); $0.063 each
# series_amount
integer optional Allowed: 2 to 10 Default: 4 How many images the series holds, 2-10 (series only); $0.063 each
# aspect_ratio
string optional Allowed: auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 Default: auto Shape of the images: 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16 or 21:9; auto lets the model choose from the prompt

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Generate a 9:16 product photo of a stack of pancakes with berries and maple syrup with Kling Image V4.”runs flymyai/kling-image-v4-text-to-image
“Make three versions of a poster for a summer music festival with Kling Image V4 in one run and send me the links.”runs flymyai/kling-image-v4-text-to-image
“Create a pencil sketch illustration of a skateboarder carving through an empty pool with Kling Image V4.”runs flymyai/kling-image-v4-text-to-image

Kling Image V4 price

From $0.063 per run, depending on num_images, result_type and series_amount. A run at the default settings costs $0.063. A run costs $0.063 to $0.63, depending on num_images and result_type and series_amount. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Kling Image V4 vs similar models

Popular text to image models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runAspect ratioSizes
Kling Image V4KuaishouText to imagefrom $0.063 / run$0.06316:9, 9:16, 1:1, 4:3, 3:4, 3:2 and 2 more
Nano Banana 2.1GoogleText and image to imagefrom $0.0336 / image$0.03361:1, 2:3, 3:2, 3:4, 4:3, 4:5 and 8 more
Seedream 5.0 ProByteDanceText and image to imagefrom $0.045 / run$0.0911 sizes, up to 2048x2048
Seedream 5.5ByteDanceText and image to imagefrom $0.02 / run$0.03511 sizes, up to 2048x2048

Kling Image V4 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/kling-image-v4-text-to-image/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/kling-image-v4-text-to-image/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'

Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
    model="flymyai/kling-image-v4-text-to-image",
    payload={
        "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
    },
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)

JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  },
  "flymyai/kling-image-v4-text-to-image",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/kling-image-v4-text-to-image",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}

Questions about Kling Image V4

Do I need a Kuaishou API key for Kling Image V4?

No. Kling Image V4 runs on FlyMy.AI's account, so you need no Kuaishou key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Kling Image V4 cost?

From $0.063 per run, depending on num_images, result_type and series_amount. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Kling Image V4 before I write code?

Yes. Open Kling Image V4 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/kling-image-v4-text-to-image, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Kling Image V4 in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a 9:16 product photo of a stack of pancakes with berries and maple syrup with Kling Image V4." Your agent reads the inputs with get_model_schema and runs flymyai/kling-image-v4-text-to-image with run_model.

What does Kling Image V4 need as input?

Kling Image V4 requires prompt; it also takes 4 optional inputs, each listed on this page with its allowed values and default.

Can I call Kling Image V4 from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/kling-image-v4-text-to-image/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.