Flux-kontext-max
black-forest-labs/flux-kontext-max一种基于文本的高级图像编辑模型,可提供最佳性能和改进的排版生成,通过自然语言提示转换图像
- Modalities
- Public starting price
- ¥0.560/image
- Added to catalog
- Oct 13, 2025
Online Inference
Configure input
Controls and defaults come directly from this model’s API schema.
Task result
Flux-kontext-max

{
"image_urls": [
"https://oss.shengsuanyun.com/example/modelinfo/193/2025-10-13_11:09:16_output_2.png"
],
"progress": 100
}
Progress—
Elapsed—
Request ID—
Task History
Task history
Only generation records from the last seven days are available.
Sign in to view your task history.
Sign in to view task historyFilled when you open this page. The default query uses the current model ID; leave blank for records from all models.
| Task ID | Model | Completion status | Created | Duration | Credits consumed | Artifact |
|---|
10 per page
1
API Call
Flux-kontext-max code examples and API guide
Modelmesh normalizes requests and responses across service providers behind one consistent API.
Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.
Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
curl --fail-with-body --silent --show-error --location \
--request POST \
"https://router.shengsuanyun.com/api/v1/tasks/generations" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${API_KEY}" \
--data '{
"model": "black-forest-labs/flux-kontext-max",
"aspect_ratio": "16:9",
"input_image": "https://oss.shengsuanyun.com/example/modelinfo/193/2025-10-13_11:09:16_input_1.png",
"prompt": "让字母变成 3D 形式,漂浮在太空中"
}'
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
curl --fail-with-body --silent --show-error --location \
--request POST \
"https://router.shengsuanyun.com/api/v1/tasks/generations" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${API_KEY}" \
--data '{
"model": "black-forest-labs/flux-kontext-max",
"aspect_ratio": "16:9",
"input_image": "https://oss.shengsuanyun.com/example/modelinfo/193/2025-10-13_11:09:16_input_1.png",
"prompt": "让字母变成 3D 形式,漂浮在太空中"
}'
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
curl --fail-with-body --silent --show-error --location \
--request GET \
"https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
--header "Authorization: Bearer ${API_KEY}"
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
curl --fail-with-body --silent --show-error --location \
--request GET \
"https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
--header "Authorization: Bearer ${API_KEY}"
Pricing
Pricing Details
All prices shown in CNY- 每张图片
- ¥0.56/每张图片