HiAPI
博客

使用指南

qwen-image-3.0-pro/text-to-image 提示词配方:可直接复制粘贴的提示词与真实输出

六个真实提示词、真实设置和真实输出,涵盖应用图标、产品摄影、横幅、壁纸、风景与人像。

2026年11月3日
qwen-image-3.0-pro/text-to-image 提示词配方:可直接复制粘贴的提示词与真实输出

大多数“提示词指南”文章只给你一句想法和一张缩略图。本文则给出我们在 qwen-image-3.0-pro/text-to-image 上针对六个不同用例所使用的完整提示词原文、确切的 API 参数、真实的单图成本以及实际输出图像——应用图标、产品摄影、宽幅横幅、手机壁纸、风景和人像。

  • qwen-image-3.0-pro/text-to-image 的定价按分辨率分档,而非统一价格:1K 每张 $0.0497,2K 每张 $0.0993。
  • API 在 input 载荷中只接受 aspect_ratio + resolution——不能直接传入 1024x1024 这样的原始像素尺寸。
  • 请求 21:9 宽高比会把分辨率固定在 1K;该比例目前没有 2K 路径。
  • 下面六张图都是真实、未经编辑的任务 API 输出——没有图库照片,没有占位图。
  • 完整可用的提示词均可直接复制粘贴;替换主体、保留结构即可获得一致的效果。

API 如何接收尺寸请求

qwen-image-3.0-pro/text-to-image 运行在 hiapi 的任务 API 上(POST /v1/tasks,轮询 GET /v1/tasks/{id},从 output[0].url 下载)。input 对象接收两个与尺寸相关的字段,而非像素尺寸:

curl -X POST https://api.hiapi.ai/v1/tasks \
  -H "Authorization: Bearer $HIAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-image-3.0-pro/text-to-image",
    "input": {
      "prompt": "your prompt here",
      "aspect_ratio": "16:9",
      "resolution": "2K"
    }
  }'

aspect_ratio 接受标准集合(1:1、3:2、2:3、4:3、3:4、5:4、4:5、16:9、9:16、21:9、auto)。resolution 接受 1K 或 2K——价格会随所选档位变化,因此值得有意识地选择,而不是默认用最大选项。

1. 应用图标——渐变背景上的干净矢量主体

应用图标需要一个可读的单一主体、紧凑的构图,且不杂乱。提示词中要明确写出“无文字”和“居中构图”,否则模型会试图填满空白区域。

A minimalist app icon of a single white paper crane mid-fold, sharp geometric origami creases catching soft light, perched on a small circular teal-to-indigo gradient background inside a rounded square, subtle drop shadow beneath the crane for depth, one thin gold line accent along the crane's spine, flat modern vector-illustration style with crisp clean edges, no text, centered composition with even padding on all sides, app-icon composition

设置:aspect_ratio: 1:1,resolution: 1K——$0.0497

2. 产品摄影——纯色背景上的影棚布光

对于商业产品图,要描述表面、光线方向和你想为标题留出的负空间——qwen-image-3.0-pro/text-to-image 能很好地遵循光线方向提示。

Product photography of a tall amber glass perfume bottle with a brushed-silver cap, standing on a slab of dark honed marble, three dried sprigs of lavender resting beside the bottle, soft directional studio light from the upper left casting a long soft shadow to the right, shallow depth of field with a smooth dark-grey gradient background fading to black, a thin rim light tracing the bottle's right edge, generous negative space above the bottle for a headline, realistic commercial product photography, 4:3 aspect ratio

设置:aspect_ratio: 4:3,resolution: 2K——$0.0993

3. 宽幅主视觉横幅——21:9 全景构图

21:9 是个特例:直接以比例字符串请求(而非像素尺寸),并注意无论怎么请求,它目前都锁定在 1K 分辨率。

Ultra-wide panoramic photo of a vast white salt flat stretching to the horizon at dusk, a single row of small dark human silhouettes walking in the distance for scale, the wet salt surface perfectly mirroring a sky layered in deep violet, coral pink and burnt orange, a thin band of golden light along the horizon where the sun has just set, minimalist symmetrical composition split evenly between sky and reflection, cinematic wide-format travel photography, extremely wide 21:9 aspect ratio suitable for a hero banner

设置:aspect_ratio: 21:9,resolution: 1K——$0.0497

4. 手机壁纸——竖版 9:16 氛围

竖版壁纸适合清晰的 foreground/background(前景/背景)分层,这样即使应用图标和小组件叠在上面,构图仍然可读。

Vertical phone wallpaper photo of a crowded night food-market alley in Taipei, strings of round paper lanterns in red and gold crisscrossing overhead and glowing warmly, a steaming food stall with a striped awning in the near foreground on the left, the alley receding into a soft blur of colorful signage and distant crowds, wet pavement reflecting the lantern light in warm streaks, lively but atmospheric night photography, shallow depth of field with the nearest lantern sharp, tall 9:16 aspect ratio framed for a phone lock screen

设置:aspect_ratio: 9:16,resolution: 2K——$0.0993

5. 风景摄影——自然光与氛围

对于自然场景,点明时间以及单一前景锚点物体(这里是划艇)能避免构图显得千篇一律。

Wide landscape photo of a still glassy lake surrounded by dense dark-green pine forest at dawn, thin layers of mist hovering just above the water, a small empty wooden rowboat tied to a weathered dock in the lower-left foreground, low golden sunlight breaking through gaps in the pines on the far shore and catching the mist, muted cool color palette with warm highlights, tranquil nature photography with a strong sense of stillness, 16:9 aspect ratio

设置:aspect_ratio: 16:9,resolution: 2K——$0.0993

6. 人像——戏剧性光影的奇幻艺术

角色艺术提示词最好将皮肤/材质描述、剪影细节(王冠、头发、衣领)和光照分成不同的子句——这给模型一个清晰的清单,而不是一段冗长的描述。

Painterly digital portrait of a regal ice queen character from the chest up, pale blue-white skin with faint frost patterns along her cheekbones, sharp angular crown made of translucent icicle shards, flowing silver-white hair with frozen strands drifting as if caught mid-motion, deep sapphire eyes catching a cold rim light, richly detailed fur-and-crystal collar, soft volumetric light from behind creating a glowing halo through falling snow, dramatic fantasy character-art style with fine linework and soft shading, dark navy background fading to black, 3:4 aspect ratio suitable for a poster

设置:aspect_ratio: 3:4,resolution: 2K——$0.0993

这六个配方的总成本

配方 宽高比 分辨率 成本
应用图标 1:1 1K $0.0497
产品摄影 4:3 2K $0.0993
宽幅主视觉横幅 21:9 1K $0.0497
手机壁纸 9:16 2K $0.0993
风景 16:9 2K $0.0993
人像 3:4 2K $0.0993
总计 $0.4966

由于定价按分辨率分档而非统一价格,在大规模场景下降低成本最快的方式,就是在 2K 带来的额外细节无关紧要时直接默认使用 1K——图标、缩略图和小型 UI 素材很少需要 2K,而主视觉横幅、壁纸和面向打印的人像通常需要。

常见问题

qwen-image-3.0-pro/text-to-image 支持 1024x1024 这样的原始像素尺寸吗? 不支持——input 载荷接受的是 aspect_ratio(比例字符串)和 resolution(1K 或 2K),而不是以像素为单位的宽/高。如果你正在从基于像素的 API 迁移,请先把目标尺寸转换为最接近的受支持宽高比。

为什么 21:9 只支持 1K 分辨率? 以直接比例字符串请求 21:9 时,该模型目前只会解析为 1K——该比例当前没有可用的 2K 变体。

qwen-image-3.0-pro/text-to-image 的定价是每张固定价格吗? 不是。它按分辨率分档:1K 每张 $0.0497,2K 每张 $0.0993——更高分辨率大约翻倍。在规划批量运行预算前,请务必查看 hiapi 的定价页面 获取当前费率。

我可以编辑现有图像,而不是从头生成吗? 可以——qwen-image-3.0-pro 还提供用于编辑和参考引导生成的 image-to-image 变体;本指南专门介绍 text-to-image 路径。

自己试试

完整参数参考、实时定价和浏览器内 playground 都在 qwen-image-3.0-pro/text-to-image 模型页面。如果你在设置第一次 API 调用,qwen-image-3.0-pro API 指南 会从头到尾讲解 curl 和 Python 示例。如果你想对比上一代模型的提示词表现,请参阅 qwen-image-2.0 提示词配方,其中还有六个可复制粘贴的提示词。

标签Prompts

立即开始构建持久 AI 产物

获取 API 密钥,通过一个基于任务(task)的 API 调用图像、视频和音频模型。

阅读 API 文档