GPT-Image
openai/gpt-image-1OpenAI最强图像生成模型,新模型能够结合世界知识,生成更加符合上下文图像,质量更高,还支持多种功能自定义。
- Modalities
- Public starting price
- Priced by multiple attributes
- Added to catalog
- Sep 8, 2025
Online Inference
Configure input
Controls and defaults come directly from this model’s API schema.
Task result
GPT-Image

{
"image_urls": [
"https://oss.shengsuanyun.com/example/modelinfo/145/2025-09-23_14:00:16_output_1.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
GPT-Image 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": "openai/gpt-image-1",
"background": "auto",
"moderation": "auto",
"n": 1,
"output_compression": 100,
"output_format": "png",
"prompt": "生成一张山姆奥尔特曼站在绿色,印着GPT名字和Logo的背景板前,背景板只有一行大大的字体和logo十分简洁。山姆奥尔特曼温柔的笑着面对镜头,手中举着牌子,举过头顶,牌子上写着:把爱留在GPT。",
"quality": "high",
"size": "1536x1024"
}'
#!/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": "openai/gpt-image-1",
"background": "auto",
"moderation": "auto",
"n": 1,
"output_compression": 100,
"output_format": "png",
"prompt": "生成一张山姆奥尔特曼站在绿色,印着GPT名字和Logo的背景板前,背景板只有一行大大的字体和logo十分简洁。山姆奥尔特曼温柔的笑着面对镜头,手中举着牌子,举过头顶,牌子上写着:把爱留在GPT。",
"quality": "high",
"size": "1536x1024"
}'
#!/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- 图片·输入
- ¥70/M token
- 图片·输出
- ¥280/M token