19 Kling image and video models are now available in Flux Art
This update brings 19 Kling image and video models to Flux Art, spanning the V1–V3 families, Image O1, Video O1, and Omni workflows. Model-aware inputs, advanced controls, and dedicated topic pages make it easier to choose the right Kling workflow and start creating.
Create image and video tasks, inspect model capabilities, and retrieve generated results with the REST API. The public interface is fixed at v1.
Quickstart
Every /openapi/v1/* endpoint uses API Key authentication. Send a Bearer Token in the request header and never call it directly from browser code.
Base URL
https://open-api.flux-art.ai
Authorization
Bearer fa_live_...
Idempotency: Image and video requests require an 8–128 character Idempotency-Key using letters, digits, periods, underscores, colons, or hyphens. Reuse it for timeout or 5xx retries.
Successful creation: 201 Created with data.status set to queued means the task was created and entered the queue; it is not an error. Save data.id, then poll the Location URL or the task endpoint for the result.
Model catalog
Models and capabilities change over time. Read the catalog first instead of hard-coding the full model set.
GET/openapi/v1/models
Returns image and video models plus supported sizes, ratios, durations, resolutions, and other capabilities.
Each request creates one image task; the public endpoint fixes count=1.
POST/openapi/v1/images/generations
Common request fields
model
Required image model ID.
mode
Required workflow mode: use generate for text-to-image, or edit when submitting image_urls for editing or reference generation.
prompt
Required; at least three non-whitespace characters.
count
Fixed at 1.
image_urls
Required in edit or reference-image mode; must be a public HTTPS URL accessible to the model.
aspect_ratio
Optional image aspect ratio.
size / resolution
Optional imagesize or resolution.size is used by GPT Image 2, Nano Banana, Seedream, Qwen Image 2.0, Wan, and Kling; resolution is used by Grok Imagine.
curl-XPOST'https://open-api.flux-art.ai/openapi/v1/images/generations' \-H'Authorization: Bearer YOUR_API_KEY' \-H'Content-Type: application/json' \-H'Idempotency-Key: image-edit-20260714-0001' \-d'{ "model": "gemini-2.5-flash-image", "mode": "edit", "prompt": "Keep the subject and use a studio background", "count": 1, "image_urls": ["https://cdn.example.com/input.jpg"], "aspect_ratio": "16:9" }'
import os
import uuid
import requests
response = requests.post(
"https://open-api.flux-art.ai/openapi/v1/images/generations",
headers={
"Authorization": f"Bearer {os.environ['FLUX_ART_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"model": "gemini-2.5-flash-image",
"mode": "edit",
"prompt": "Keep the subject and use a studio background",
"count": 1,
"image_urls": ["https://cdn.example.com/input.jpg"],
"aspect_ratio": "16:9",
},
timeout=30,
)
response.raise_for_status()
print(response.json())
import { randomUUID } from "node:crypto";
const response = await fetch(
"https://open-api.flux-art.ai/openapi/v1/images/generations",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FLUX_ART_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": randomUUID(),
},
body: JSON.stringify({
model: "gemini-2.5-flash-image",
mode: "edit",
prompt: "Keep the subject and use a studio background",
count: 1,
image_urls: ["https://cdn.example.com/input.jpg"],
aspect_ratio: "16:9",
}),
},
);
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());
Video generation
Supports text-to-video, image-to-video, and selected video editing capabilities.
POST/openapi/v1/videos/generations
Common request fields
model
Required video model ID.
video_mode
Required video mode, such as t2v, i2v_first, multimodal_ref, or v2v_edit; it must be supported by the model.
prompt
Required; at least three non-whitespace characters.
image_urls
Optional first frame, last frame, or reference images.
source_video_url
Optional source video for editing or extension.
duration
Optional supported model duration.
resolution
Optional, for example 720p.
ratio / aspect_ratio
Optional videoratio.ratio is used by Seedance and HappyHorse; aspect_ratio by Grok Video, Kling Video, and HappyHorse.
curl-XPOST'https://open-api.flux-art.ai/openapi/v1/videos/generations' \-H'Authorization: Bearer YOUR_API_KEY' \-H'Content-Type: application/json' \-H'Idempotency-Key: video-order-20260714-0001' \-d'{ "model": "doubao-seedance-2-0-260128", "video_mode": "t2v", "prompt": "A slow push through a city at night", "duration": 10, "resolution": "720p", "ratio": "16:9" }'
import os
import uuid
import requests
response = requests.post(
"https://open-api.flux-art.ai/openapi/v1/videos/generations",
headers={
"Authorization": f"Bearer {os.environ['FLUX_ART_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"model": "doubao-seedance-2-0-260128",
"video_mode": "t2v",
"prompt": "A slow push through a city at night",
"duration": 10,
"resolution": "720p",
"ratio": "16:9",
},
timeout=30,
)
response.raise_for_status()
print(response.json())
import { randomUUID } from "node:crypto";
const response = await fetch(
"https://open-api.flux-art.ai/openapi/v1/videos/generations",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FLUX_ART_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": randomUUID(),
},
body: JSON.stringify({
model: "doubao-seedance-2-0-260128",
video_mode: "t2v",
prompt: "A slow push through a city at night",
duration: 10,
resolution: "720p",
ratio: "16:9",
}),
},
);
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());
Task queries
A new task returns 201 Created; idempotent replay returns the original task and 200 OK. Response headers include Location and Idempotent-Replayed.
queuedQueued
processingProcessing
succeededSucceeded
failedFailed
canceledCanceled
GET/openapi/v1/tasks/{task_id}
Read one OpenAPI task for the current account. On success, obtain image or video URLs from output.
Query tasks with cursor pagination. Account-level task reads are limited to 120 per minute.
limit
Items per page.
cursor
Cursor returned by the previous page.
type
image or video.
status
queued, processing, succeeded, failed, or canceled.
Error handling
Every public API error contains error.code, message, and request_id. Provide request id and task id to support—never the full API Key.
400
invalid_request / invalid_media_url
Correct parameters or media URLs; do not retry unchanged.
401
invalid_api_key
Check whether the key is missing, regenerated, or revoked.
402
insufficient_points / membership_required
Add points or upgrade the required membership.
404
task_not_found
Verify the task ID and owning account.
409
idempotency_key_reused
Use a new key for a different request; retry later if processing.
422
validation_error
Correct request fields using details.
429
rate_limit / concurrent_limit
Follow Retry-After or wait for existing tasks.
5xx
internal_error / service_unavailable
Retry with backoff and keep the original idempotency key.
Model pricing
OpenAPI and the web app share the current Flux Art account's credit balance, membership benefits, and active discounts. Credits are deducted from the same account after a task is created; an insufficient balance returns 402 and no task is created.
Reference prices and final charges
The tables show reference consumption after current configured model discounts. The backend calculates the final charge at submission time from the model, parameters, and active billing rules. Treat usage.points_charged as authoritative and verify failure refunds with usage.points_refunded.
Image models
Image tasks are charged per image. Size and quality affect consumption for selected models.
GPT Image 2
gpt-image-2
Current billing rate 50%
Credit consumption details
Configuration
Credit consumption
Low · 1K
Original price:40;Discounted price:20。4020credits / image
Low · 2K
Original price:80;Discounted price:40。8040credits / image
Low · 4K
Original price:120;Discounted price:60。12060credits / image
Medium · 1K
Original price:80;Discounted price:40。8040credits / image
Medium · 2K
Original price:120;Discounted price:60。12060credits / image
Medium · 4K
Original price:160;Discounted price:80。16080credits / image
High · 1K
Original price:180;Discounted price:90。18090credits / image
High · 2K
Original price:360;Discounted price:180。360180credits / image
High · 4K
Original price:600;Discounted price:300。600300credits / image
Nano Banana 2 Lite
gemini-3.1-flash-lite-image
Current billing rate 50%
Credit consumption details
Configuration
Credit consumption
Per image
Original price:100;Discounted price:50。10050credits / image
Nano Banana 2
gemini-3.1-flash-image-preview
Current billing rate 50%
Credit consumption details
Configuration
Credit consumption
512
Original price:80;Discounted price:40。8040credits / image
1K
Original price:160;Discounted price:80。16080credits / image
2K
Original price:200;Discounted price:100。200100credits / image
4K
Original price:320;Discounted price:160。320160credits / image
Nano Banana
gemini-2.5-flash-image
Current billing rate 50%
Credit consumption details
Configuration
Credit consumption
Per image
Original price:70;Discounted price:35。7035credits / image
Nano Banana Pro
gemini-3-pro-image-preview
Current billing rate 50%
Credit consumption details
Configuration
Credit consumption
1K
Original price:240;Discounted price:120。240120credits / image
2K
Original price:320;Discounted price:160。320160credits / image
4K
Original price:400;Discounted price:200。400200credits / image
Grok Imagine Image
grok-imagine-image
Credit consumption details
Configuration
Credit consumption
Per image
100credits / image
Grok Imagine Image Pro
grok-imagine-image-pro
Credit consumption details
Configuration
Credit consumption
Per image
250credits / image
Seedream 5.0 Pro
doubao-seedream-5-0-pro-260628
Credit consumption details
Configuration
Credit consumption
1K
120credits / image
2K
240credits / image
Seedream 5.0
doubao-seedream-5-0-260128
Credit consumption details
Configuration
Credit consumption
Per image
60credits / image
Seedream 4.5
doubao-seedream-4-5-251128
Credit consumption details
Configuration
Credit consumption
Per image
60credits / image
Wan 2.7 Pro
wan2.7-image-pro
Credit consumption details
Configuration
Credit consumption
Per image
250credits / image
Wan 2.7
wan2.7-image
Credit consumption details
Configuration
Credit consumption
Per image
200credits / image
Qwen Image 2.0 Pro
qwen-image-2.0-pro
Credit consumption details
Configuration
Credit consumption
Per image
150credits / image
Qwen Image 2.0
qwen-image-2.0
Credit consumption details
Configuration
Credit consumption
Per image
120credits / image
Qwen Image Max
qwen-image-max
Credit consumption details
Configuration
Credit consumption
Per image
120credits / image
Qwen Image Edit Max
qwen-image-edit-max
Credit consumption details
Configuration
Credit consumption
Per image
160credits / image
Qwen MT Image
qwen-mt-image
Credit consumption details
Configuration
Credit consumption
Per image
150credits / image
Z-Image Turbo
z-image-turbo
Credit consumption details
Configuration
Credit consumption
Per image
80credits / image
Wan 2.6 T2I
wan2.6-t2i
Credit consumption details
Configuration
Credit consumption
Per image
150credits / image
Wan 2.6 Image
wan2.6-image
Credit consumption details
Configuration
Credit consumption
Per image
150credits / image
Wan 2.5 T2I
wan2.5-t2i-preview
Credit consumption details
Configuration
Credit consumption
Per image
150credits / image
Wan 2.5 I2I
wan2.5-i2i-preview
Credit consumption details
Configuration
Credit consumption
Per image
120credits / image
Wan 2.2 Flash
wan2.2-t2i-flash
Credit consumption details
Configuration
Credit consumption
Per image
100credits / image
Wan 2.2 Plus
wan2.2-t2i-plus
Credit consumption details
Configuration
Credit consumption
Per image
100credits / image
Midjourney V7 Imagine
mj_imagine
Credit consumption details
Configuration
Credit consumption
Per image
60credits / image
Midjourney V7 Blend
mj_blend
Credit consumption details
Configuration
Credit consumption
Per image
60credits / image
Kling Image O1
kling-image-o1
Credit consumption details
Configuration
Credit consumption
1K
90credits / image
2K
90credits / image
1K
90credits / image
2K
90credits / image
Kling V3 Omni Image
kling-v3-omni-image
Credit consumption details
Configuration
Credit consumption
1K
90credits / image
2K
90credits / image
4K
170credits / image
1K
90credits / image
2K
90credits / image
4K
170credits / image
Kling V3 Image
kling-v3-image
Credit consumption details
Configuration
Credit consumption
1K
90credits / image
2K
90credits / image
1K
90credits / image
2K
90credits / image
Kling V2.1 Image
kling-v2-1-image
Credit consumption details
Configuration
Credit consumption
1K
50credits / image
2K
50credits / image
1K
90credits / image
2K
90credits / image
1K
170credits / image
2K
170credits / image
Kling V2 New Image
kling-v2-new-image
Credit consumption details
Configuration
Credit consumption
1K
90credits / image
Kling V2 Image
kling-v2-image
Credit consumption details
Configuration
Credit consumption
1K
50credits / image
2K
50credits / image
1K
90credits / image
2K
90credits / image
1K
170credits / image
2K
170credits / image
Kling V1.5 Image
kling-v1-5-image
Credit consumption details
Configuration
Credit consumption
1K
50credits / image
1K
90credits / image
Kling V1 Image
kling-v1-image
Credit consumption details
Configuration
Credit consumption
1K
20credits / image
1K
20credits / image
Video models
Video tasks are charged by generated duration. The table uses the model configuration and production cost calculator to show the actual cost of each model's default 5-second task; resolution, audio, and video-input mode affect the final cost.
Grok Video
grok-video-3
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
500credits / task
Base generation · 720p · 5 seconds
750credits / task
HappyHorse 1.0
happyhorse-1.0
Credit consumption details
Configuration
Credit consumption
Base generation · 720P · 5 seconds
1,450credits / task
Base generation · 1080P · 5 seconds
2,250credits / task
HappyHorse 1.1
happyhorse-1.1
Credit consumption details
Configuration
Credit consumption
Base generation · 720P · 5 seconds
1,750credits / task
Base generation · 1080P · 5 seconds
2,500credits / task
Seedance 2.0
doubao-seedance-2-0-260128
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
700credits / task
Base generation · 720p · 5 seconds
1,500credits / task
Base generation · 1080p · 5 seconds
3,750credits / task
Base generation · 4k · 5 seconds
7,500credits / task
Single video input · 480p · 5 seconds
800credits / task
Single video input · 720p · 5 seconds
1,650credits / task
Single video input · 1080p · 5 seconds
4,050credits / task
Single video input · 4k · 5 seconds
8,100credits / task
Multiple video inputs · 480p · 5 seconds
1,700credits / task
Multiple video inputs · 720p · 5 seconds
3,600credits / task
Multiple video inputs · 1080p · 5 seconds
9,000credits / task
Multiple video inputs · 4k · 5 seconds
18,000credits / task
Each video task's total is rounded up to 50 credits。
Seedance 2.0 Mini
doubao-seedance-2-0-mini-260615
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
550credits / task
Base generation · 720p · 5 seconds
1,100credits / task
Single video input · 480p · 5 seconds
3,000credits / task
Single video input · 720p · 5 seconds
6,000credits / task
Multiple video inputs · 480p · 5 seconds
6,600credits / task
Multiple video inputs · 720p · 5 seconds
13,200credits / task
Each video task's total is rounded up to 50 credits。
Seedance 2.0 Fast
doubao-seedance-2-0-fast-260128
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
550credits / task
Base generation · 720p · 5 seconds
1,200credits / task
Single video input · 480p · 5 seconds
600credits / task
Single video input · 720p · 5 seconds
1,300credits / task
Multiple video inputs · 480p · 5 seconds
1,350credits / task
Multiple video inputs · 720p · 5 seconds
2,850credits / task
Each video task's total is rounded up to 50 credits。
Seedance 1.5 Pro
doubao-seedance-1-5-pro-251215
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
150credits / task
Base generation · 720p · 5 seconds
300credits / task
Base generation · 1080p · 5 seconds
600credits / task
Generate audio · 480p · 5 seconds
250credits / task
Generate audio · 720p · 5 seconds
550credits / task
Generate audio · 1080p · 5 seconds
1,200credits / task
Each video task's total is rounded up to 50 credits。
Seedance 1.0 Pro
doubao-seedance-1-0-pro-250528
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
250credits / task
Base generation · 720p · 5 seconds
500credits / task
Base generation · 1080p · 5 seconds
1,100credits / task
Each video task's total is rounded up to 50 credits。
Seedance 1.0 Pro Fast
doubao-seedance-1-0-pro-fast-251015
Credit consumption details
Configuration
Credit consumption
Base generation · 480p · 5 seconds
100credits / task
Base generation · 720p · 5 seconds
150credits / task
Base generation · 1080p · 5 seconds
350credits / task
Each video task's total is rounded up to 50 credits。