Alibaba

Qwen 3 text to image

Image

Qwen 3 标准版文生图,支持 1K 和 2K

起价 $0.050 / call Qwen 3 text to image API 参考 →
模型健康状态 数据不足
curl -X POST https://runapi.ai/api/v1/qwen_3/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-3-text-to-image",
  "prompt": "生成一张 4K 的产品 hero 图:哑光黑色水瓶放在米色石面上,侧光柔和。"
}'
https://runapi.ai 1 endpoint

4 个版本可用

模型体验

体验 Qwen 3 text to image

选择任意模型,几秒内开始生成。

预计: $0.05-$0.05 / image

登录后即可使用 RunAPI 生成。

登录后生成

登录后即可使用可用语言模型开始生成。

规格

技术细节

提供商 Alibaba
模型 ID qwen-3-text-to-image
模态 Image
任务类型 Asynchronous
API 端点 /api/v1/qwen_3/text_to_image
计费单位 call
输入参数 aspect_ratio, callback_url, enable_prompt_expansion, enable_safety_checker, model, negative_prompt, output_format, output_resolution, prompt, seed
最大分辨率 1k, 2k
宽高比 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9
输出格式 png, jpeg
目录状态 运行中
工作原理

3 步使用此模型

  1. 获取 API 密钥

    免费注册后,在控制台创建用于 qwen-3-text-to-image 的 API 密钥。

  2. 发送请求

    向 /api/v1/qwen_3/text_to_image 发送 POST 请求,并传入 qwen-3-text-to-image 模型 ID 和参数。

  3. 获取结果

    轮询任务或按照回调获取已完成的 qwen-3-text-to-image 结果。

该模型的核心能力

输出分辨率

根据已发布的 endpoint 规格,支持 1k, 2k。

灵活的参数配置

可配置文档中列出的 8 个参数,包括 aspect_ratio, enable_prompt_expansion, enable_safety_checker, negative_prompt, output_format。

Endpoint 覆盖

提供 1 个公开 endpoint:text_to_image。

Webhook 推送

异步任务支持回调 URL,任务完成时发送通知。

Qwen 3 text to image 定价

端点
分辨率
时长
价格
text_to_image
暂不可用
call
$0.05-$0.05 / image
  • Output resolution: 1k: $0.05 / image
  • Output resolution: 2k: $0.05 / image
API 参考

端点规格

端点
POST /api/v1/qwen_3/text_to_image
模型 ID
qwen-3-text-to-image
任务类型
text_to_image
最大时长
暂无数据
分辨率
1k, 2k
宽高比
1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9
输出格式
PNG, JPEG
平均生成时间
暂无数据

请求参数

seed

可选 integer

Integer seed for reproducible results.

prompt

必填 string

Image generation prompt.

aspect_ratio

可选 string

Output aspect ratio. (1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9)

callback_url

可选 string

Webhook URL for asynchronous task updates.

output_format

可选 string

Output image format. (png, jpeg)

negative_prompt

可选 string

Content to avoid in the generated image.

output_resolution

可选 string

Output image resolution. (1k, 2k)

enable_safety_checker

可选 boolean

Whether RunAPI checks generated content for safety.

enable_prompt_expansion

可选 boolean

Whether RunAPI expands the prompt before generation.

应用场景

产品摄影

为缺少棚拍照片的电商商品自动生成场景化产品图。

游戏与概念设计

快速概念化环境和角色,再进入最终美术制作。

编辑配图

为博客文章和专栏批量生成独特封面图和插图。

常见问题

Qwen 3 text to image 常见问题

如何选择 qwen-3-text-to-image?

传入 quickstart 中显示的模型 ID。

该变体的限流?

Key 级限流随使用层级伸缩。当前限制见定价页。

能切到其它变体吗?

可以——变体只是参数,改 model 字段即可。

支持流式吗?

模型支持流式时,RunAPI 端到端流式。

质量问题在哪里报?

在公共 GitHub 仓库提 issue 或邮件联系 support。

需要团队接入支持?

我们可以协助团队接入、完成系统集成并解答技术问题。

联系我们