Skip to content

qwen/image-to-image ​

📝 模型简介待补充(TODO)。 本页所有取值均来自 ModelFold 模型目录,未编造任何技术细节。

概览 ​

字段值
模型 IDqwen/image-to-image
所属系列qwen-image
模态图像生成 (image)
计费积分12
上游成本—
定价来源default — 上游定价表未覆盖 —— 按模态起步价,待人工核对
调用端点POST /v1/images/generations

调用示例 ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建

curl -X POST "$API_BASE/images/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen/image-to-image","prompt":"Change the season from winter to spring. Keep the same composition, with the cabin, lake, and mountains unchanged. Fill the scene with warmth and vitality using blooming flowers and lush greenery.","image_url":"https://static.aiquickdraw.com/tools/example/1786021267002_2vLU3iDm.png","strength":0.8,"output_format":"png","acceleration":"none","num_inference_steps":30,"guidance_scale":2.5}'

必填参数 ​

必填:prompt、image_url。

模型参数直接放在请求体顶层,不要套 input。示例素材地址需替换为自己的公开可访问文件;请求等待生成完成后返回 data[].url。

条件必填、取值限制及其它输入模式见完整参数文档。

相关模型 ​

延伸阅读 ​

ModelFold — 一个 API,接入所有主流 AI 模型。