通义千问系列图像编辑Plus模型,在首版Edit模型基础上进一步优化了推理性能与系统稳定性,大幅缩短图像生成与编辑的响应时间;支持单次请求返回多张图片,显著提升用户体验。
Images are billed per image or per batch.
Every route uses the price above. Routes are not priced per token.
| Provider | Latency | Uptime | Status |
|---|---|---|---|
dashscope Qwen-Image-Edit-Plus | — | — |
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
prompt = "A sunlit indoor lounge area with a pool containing a flamingo"
with open("sunlit_lounge.png", "rb") as image_file:
result = client.images.edit(
model="qwen/qwen-image-edit-plus",
image=image_file,
prompt=prompt,
size="1024x1024",
response_format="url",
)
print(result.data[0].url)暂无调用数据
This model does not publish tunable parameters.