Standard image generation and reference-image editing for common assets, avatars, product shots, and vertical materials.
All listed ratios have passed real generation requests.
这里展示本站当前可供用户调用的模型 ID、已验证宽高比和单张价格。应用接入时请使用下方模型 ID,不需要进入管理员后台查看分组配置。
当前开放模型
已验证可选比例
支持文生图和图生图
Standard image generation and reference-image editing for common assets, avatars, product shots, and vertical materials.
All listed ratios have passed real generation requests.
新版 4K 原生接口直出,支持海报、商品主图、高分辨率视觉素材生成与参考图编辑。
All listed ratios have passed real generation requests.
Banana 2 through Tuba OpenAI-compatible image API, supports high-quality generation and editing.
All listed ratios have passed real generation requests, including the extreme 1:8 and 8:1 ratios.
Banana Pro through Tuba OpenAI-compatible image API, supports premium commercial visuals and editing.
All listed ratios have passed real generation requests.
curl https://www.chaomoapi.com/v1/images/generations \
-H "Authorization: Bearer sk-xxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image2-4K",
"prompt": "高端智能水杯电商主图,白色背景,产品居中,柔和布光,高清质感",
"ratio": "16:9",
"quality": "medium",
"response_format": "url",
"n": 1,
"async": true
}'
curl https://www.chaomoapi.com/v1/images/edits \
-H "Authorization: Bearer sk-xxxx" \
-F "model=gpt-image2-4K" \
-F "prompt=参考上传图片,生成更干净的商业摄影风格图片" \
-F "ratio=16:9" \
-F "quality=medium" \
-F "response_format=url" \
-F "n=1" \
-F "async=true" \
-F "image=@source.png"
4K、图生图和高质量模型可能超过 60 秒,生产接入建议传 async=true,再通过 GET /v1/images/{task_id} 查询结果。
程序里也可以通过 GET /v1/models 查询当前密钥可用模型。返回结果只包含用户可调用的公开模型,不会返回内部路由别名。
curl https://www.chaomoapi.com/v1/models \
-H "Authorization: Bearer sk-xxxx"
当前平台仅开放图片生成能力;对话模型和文本接口没有开放。
联系方式:微信 zntcode