Models / Image editing

Kling Image V4 Edit - API, Playground & Pricing

Kling Image V4 Edit restyles, remixes or combines one to ten of your pictures from a prompt, and returns 2K results or a matching series. 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
Image editing / Image editing
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-image-to-image
Kling Image V4 Edit by Kuaishou: image editing sample, edit and remix up to ten images
Kling Image V4 Edit sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Kling Image V4 Edit 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-image-to-image.md. Help me connect the FlyMy.AI MCP to this assistant, then run Kling Image V4 Edit (flymyai/kling-image-v4-image-to-image) for this task: Replace the background of the photo I attach with a snowy cabin window sill using Kling Image V4 Edit.
Open FlyMy.AIDownload brief

What Kling Image V4 Edit does

Send images, one to ten links or uploads, and refer to them in prompt as @Image1, @Image2 and so on. result_type single makes num_images results (one to nine), series makes series_amount related images (two to ten); aspect_ratio auto follows the pictures. Each picture needs at least 300 pixels a side, at most 30 MB and an aspect ratio from 0.4 to 2.5. Output: images, at 2K.

Kling Image V4 Edit inputs

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

InputType, values and default
# prompt
string required What to make of the pictures; refer to them as @Image1, @Image2, ... in the order you send them
# images
string required One to ten reference pictures, links or uploads: each at least 300 pixels on a side, up to 30 MB, aspect ratio 0.4-2.5
# 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 follows the pictures

Ask your agent

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

“Replace the background of the photo I attach with a snowy cabin window sill using Kling Image V4 Edit.”runs flymyai/kling-image-v4-image-to-image
“With Kling Image V4 Edit, change the color of the jacket in my photo to deep green and keep everything else the same.”runs flymyai/kling-image-v4-image-to-image
“Edit the picture I attach with Kling Image V4 Edit: add the headline "Grand opening" in clean bold type.”runs flymyai/kling-image-v4-image-to-image

Kling Image V4 Edit 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 Edit vs similar models

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

ModelProviderKindPriceDefault run
Kling Image V4 EditKuaishouImage editingfrom $0.063 / run$0.063
Topaz Image Upscale PrecisionTopaz LabsUpscalingfrom $0.08 / run$0.08
MAI-Image 2.7 EditMicrosoftImage editingfrom $0.0349 / run$0.0431
SeedVR2 Image UpscaleByteDanceUpscalingfrom $0.001 / run$0.004

Kling Image V4 Edit 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-image-to-image/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/kling-image-v4-image-to-image/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Replace the background with a marble table by a sunny window' \
  -F 'images=["https://example.com/front.jpg", "https://example.com/back.jpg"]'

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-image-to-image",
    payload={
        "prompt": "Replace the background with a marble table by a sunny window",
        "images": [
            "https://example.com/front.jpg",
            "https://example.com/back.jpg"
        ]
    },
)
# 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": "Replace the background with a marble table by a sunny window",
    "images": [
      "https://example.com/front.jpg",
      "https://example.com/back.jpg"
    ]
  },
  "flymyai/kling-image-v4-image-to-image",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/kling-image-v4-image-to-image",
  "input": {
    "prompt": "Replace the background with a marble table by a sunny window",
    "images": [
      "https://example.com/front.jpg",
      "https://example.com/back.jpg"
    ]
  }
}

Questions about Kling Image V4 Edit

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

No. Kling Image V4 Edit 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 Edit 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 Edit before I write code?

Yes. Open Kling Image V4 Edit in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/kling-image-v4-image-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 Edit in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Replace the background of the photo I attach with a snowy cabin window sill using Kling Image V4 Edit." Your agent reads the inputs with get_model_schema and runs flymyai/kling-image-v4-image-to-image with run_model.

What does Kling Image V4 Edit need as input?

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

Can I call Kling Image V4 Edit from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/kling-image-v4-image-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.