即梦4.0
bytedance/jimeng_v40即梦4.0是即梦同源的图像生成能力,该能力在统一框架内集成了文生图、图像编辑及多图组合生成的功能:支持单次输入最多 10 张图像及进行复合编辑,并能通过对提示词的深度推理,智能适配最优的图像比例尺寸与生成数量,可一次性输出最多 15 张内容关联的图像。此外,模型显著提升了中文生成的准确率与内容多样性,且支持 4K 超高清输出,为专业图像创作提供了从生成到编辑的一站式解决方案。
- Modalities
- Public starting price
- ¥0.220/image
- Added to catalog
- Sep 23, 2025
Online Inference
Configure input
Controls and defaults come directly from this model’s API schema.
Task result

{
"image_urls": [
"https://oss.shengsuanyun.com/example/modelinfo/165/2025-09-23_16:34:54_output_3.jpg"
],
"progress": 100
}
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 |
|---|
API Call
即梦4.0 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": "bytedance/jimeng_v40",
"height": 936,
"image_urls": [
"https://oss.shengsuanyun.com/example/modelinfo/165/2025-09-23_16:34:54_input_1.png",
"https://oss.shengsuanyun.com/example/modelinfo/165/2025-09-23_16:34:54_input_2.png"
],
"prompt": "生成1张女孩和奶牛玩偶在游乐园开心地坐过山车的图片,涵盖早晨、中午、晚上",
"scale": 0.9,
"size": "2k(16:9)",
"width": 1664
}'
#!/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.22/每张图片